[Paraview] Python Shell in branded app

Paul Edwards paul.m.edwards at gmail.com
Wed Jan 27 10:39:42 EST 2010


Hi,

The Python shell is not working in my branded app.  Below are the errors
appearing in the shell:


Python 2.6.2 (r262:71600, Jul 17 2009, 14:08:37)

[GCC 4.2.1 (SUSE Linux)] on linux2

>>> from paraview.simple import *

Traceback (most recent call last):

File "<string>", line 4, in <module>

File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py",
line 2891, in <module>

_createModules()

File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py",
line 2456, in _createModules

createModule('views', rendering)

File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py",
line 2491, in createModule

proto.GetXMLLabel():

AttributeError: 'NoneType' object has no attribute 'GetXMLLabel'

>>>

>>>



 I do not get these errors if I run "pvpython" or the main "paraview" app.
Any ideas?

Thanks in advance,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100127/330a4f16/attachment.htm>


More information about the ParaView mailing list