[Paraview] Python Shell in branded app

pat marion pat.marion at kitware.com
Wed Jan 27 10:59:04 EST 2010


Hi Paul,

Do you have custom proxies defined in your xml? I've seen a bug like this
before when there are parentheses in the proxy Label attribute.

Pat

On Wed, Jan 27, 2010 at 10:39 AM, Paul Edwards <paul.m.edwards at gmail.com>wrote:

> 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
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100127/462583b2/attachment-0001.htm>


More information about the ParaView mailing list