[Paraview] problem wirh python shell in Paraview 4.2.0

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Oct 2 08:18:35 EDT 2014


Thanks for reporting. We'll test it out. BTW, do you have any plugins
loaded when you're trying to one the Python shell?
Utkarsh

On Thu, Oct 2, 2014 at 8:15 AM,  <livia.barazzetti at istb.unibe.ch> wrote:
> Hi all,
>
> I just downloaded the new version of Paraview, and I am very curious about
> the new features. Unfortunately I cannot use the new python trace, because
> as soon I click ok in the trace window, the application crashes.
>
> Actually, the problem is already at startup, opening a python shell I get
> this error:
>
>
>
> Python 2.7.3 (default, Sep 23 2014, 20:23:11) [MSC v.1500 64 bit (AMD64)] on
> win32
>
>>>> from paraview.simple import *
>
> Traceback (most recent call last):
>
> File "<console>", line 1, in <module>
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\simple.py", line 39, in
> <module>
>
> import servermanager
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\servermanager.py", line 3184,
> in <module>
>
> __initialize()
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\servermanager.py", line 3175,
> in __initialize
>
> c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession())
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\servermanager.py", line 1932,
> in __init__
>
> _createModules(self.Modules)
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\servermanager.py", line 2564,
> in _createModules
>
> m.filters = createModule('filters')
>
> File "C:\Program Files (x86)\ParaView
> 4.2.0\lib\paraview-4.2\site-packages\paraview\servermanager.py", line 2626,
> in createModule
>
> if (prop.GetInformationOnly() and propName != "TimestepValues" ) \
>
> AttributeError: 'NoneType' object has no attribute 'GetInformationOnly'
>
>
>
> I am working on Windows 7, 64 bit (with paraview 4.2.0 64 bit)
>
> Regards,
>
> Livia
>
>
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list