[Paraview] problem wirh python shell in Paraview 4.3.1 and Python 2.7.9 on Mac OS X 10.10
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Feb 26 15:10:06 EST 2015
How was ParaView built? I am not sure if Homebrew Python is different
from the one packaged in OsX, but binaries on paraview.org are built
using OsX default Python.
Also, do you have any plugins that are being auto-loaded? If you're
running pvpython, try running with "-dr" argument. That will avoid
loading any auto-load plugins. Does that help?
Utkarsh
On Thu, Feb 26, 2015 at 3:03 PM, Matei Stroila <matei.stroila at gmail.com> wrote:
> Not sure if other people have seen this. Using Python from Homebrew on Mac
> OS X 10.10, got the same error on two different Macs.
>
> Python 2.7.9 (default, Dec 19 2014, 06:00:59)
>
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
>
>>>> from paraview.simple import *
>
> Traceback (most recent call last):
>
> File "<console>", line 1, in <module>
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/simple.py",
> line 39, in <module>
>
> import servermanager
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/servermanager.py",
> line 3184, in <module>
>
> __initialize()
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/servermanager.py",
> line 3175, in __initialize
>
> c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession())
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/servermanager.py",
> line 1932, in __init__
>
> _createModules(self.Modules)
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/servermanager.py",
> line 2564, in _createModules
>
> m.filters = createModule('filters')
>
> File
> "/Users/mstroila/dev/build/ParaView/lib/site-packages/paraview/servermanager.py",
> line 2626, in createModule
>
> if (prop.GetInformationOnly() and propName != "TimestepValues" ) \
>
> AttributeError: 'NoneType' object has no attribute 'GetInformationOnly'
>
>>>>
>
> Thanks for any suggestion.
>
>
> Matei
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
More information about the ParaView
mailing list