# AttributeError: type object 'GeometryRepresentation' has no attribute 'InputVectors'

**URL:** https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574
**Category:** ParaView Support
**Tags:** python
**Created:** [July 9, 2021, 10:07am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574 "2021-07-09T10:07:18Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![maruthinh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/maruthinh/32/3169_2.png) [@maruthinh](https://discourse.paraview.org/u/maruthinh)
#### Post date: [July 9, 2021, 10:07am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/1 "2021-07-09T10:07:19Z")

</div>

I generated a trace to get Q-criterion. When I run this script in python shell within the Paraview, it works fine. But when I run in terminal either using pvpython or pvbatch, I get the following error

```auto
AttributeError: type object 'GeometryRepresentation' has no attribute 'InputVectors'

```

Here is the script

[q\_criterion.py](https://discourse.paraview.org/uploads/short-url/pjJMsiNxOumpv3rjHEKYNK1Ln14.py) (8.3 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 9, 2021, 11:40am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/2 "2021-07-09T11:40:50Z")

</div>

Do you have a plugin loaded ? In any case, InputVectors does not exist on the SurfaceRepresentation, just remove the lines.

---

<div class="post-metadata">

### Author: ![maruthinh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/maruthinh/32/3169_2.png) [@maruthinh](https://discourse.paraview.org/u/maruthinh)
#### Post date: [July 10, 2021, 7:04am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/3 "2021-07-10T07:04:35Z")

</div>

Thanks for the reply. If I delete that line, it works! Thanks.

Which Plugin I should load in case if I want to make it work that line.?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 3, 2021, 12:35pm UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/4 "2021-08-03T12:35:54Z")

</div>

Hard to say, you would need to take a look into Tools → Manage Plugin

---

<div class="post-metadata">

### Author: ![hou\_zhijie](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hou_zhijie/32/11698_2.png) [@hou\_zhijie](https://discourse.paraview.org/u/hou_zhijie)
#### Post date: [May 31, 2023, 2:56am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/5 "2023-05-31T02:56:11Z")

</div>

How to add streamlinesrepresentation plugins to pvpython?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 31, 2023, 6:39am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/6 "2023-05-31T06:39:10Z")

</div>

`LoadPlugin("StreamLinesRepresentations")`

---

<div class="post-metadata">

### Author: ![hou\_zhijie](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hou_zhijie/32/11698_2.png) [@hou\_zhijie](https://discourse.paraview.org/u/hou_zhijie)
#### Post date: [May 31, 2023, 6:51am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/7 "2023-05-31T06:51:46Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/2X/5/57862da3d1851faa6a61fd3a07102a93f00b5d3b.png)  
I get the following error：

 ![image](https://discourse.paraview.org/uploads/default/original/2X/9/9d6bc8ce3e8a53cd10b50078b2e6e10457be27f9.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 31, 2023, 8:29am UTC](https://discourse.paraview.org/t/attributeerror-type-object-geometryrepresentation-has-no-attribute-inputvectors/7574/8 "2023-05-31T08:29:26Z")

</div>

It needs the full path, something like:

```auto
LoadPlugin('/home/glow/dev/paraview/pv1/build/lib/paraview-5.11/plugins/StreamLinesRepresentation/StreamLinesRepresentation.so', remote=False, ns=globals())

```

Use your own path inside instead.
