[Paraview] paraviewweb error with master
Paul Edwards
paul.m.edwards at gmail.com
Fri Sep 20 14:23:29 EDT 2013
I have libvtkWebCorePython27D-pv4.0.so in Paraview/lib/paraview-4.0 along
with many others. And, I get this when running on the installed version:
~/dev/ParaView$ ./bin/pvpython
lib/paraview-4.0/site-packages/paraview/web/pv_web_visualizer.py --content
www --port 8080 --data-dir /home/paul/dev/ParaViewData-v4.0.1/Data
Traceback (most recent call last):
File "lib/paraview-4.0/site-packages/paraview/web/pv_web_visualizer.py",
line 46, in <module>
from paraview.web import wamp as pv_wamp
File
"/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/web/wamp.py",
line 5, in <module>
from vtk.web import wamp
File
"/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/vtk/web/wamp.py",
line 23, in <module>
from vtkWebCorePython import vtkWebApplication
ImportError: No module named vtkWebCorePython
But this does work in the ParaView build directory
On 20 September 2013 19:02, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> First question: pipeline_manager.py has been moved/renamed to
> paraview/web/pv_web_visualizer.py
>
> Second issue: This might be related to some python libraries (.so)
> not being placed in the correct directory. If you copy the *Python.so in
> the same directory of the other so files, you should be good.
>
> Seb
>
>
> On Fri, Sep 20, 2013 at 12:53 PM, Paul Edwards <paul.m.edwards at gmail.com>wrote:
>
>> I was just seeing if I could do anything with the web stuff that is there
>> but I get this error:
>>
>> paul at paul-VirtualBox:~/dev/ParaView$ ./bin/pvpython
>> Python 2.7.4 (default, Apr 19 2013, 18:30:41)
>> [GCC 4.7.3] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> from paraview.web import wamp
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File
>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/web/wamp.py",
>> line 5, in <module>
>> from vtk.web import wamp
>> File
>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/vtk/web/wamp.py",
>> line 23, in <module>
>> from vtkWebCorePython import vtkWebApplication
>> ImportError: No module named vtkWebCorePython
>> >>>
>>
>> Am I doing something I shouldn't be?
>>
>>
>>
>> On 20 September 2013 17:50, David E DeMarle <dave.demarle at kitware.com>wrote:
>>
>>> Looks like this module didn't make the transition from
>>> ParaView/Web/Python to VTK/Web/Python.
>>> Sebastien, should it go into ParaView/Wrapping/Python now?
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> R&D Engineer
>>> 21 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-881-4909
>>>
>>>
>>> On Fri, Sep 20, 2013 at 12:13 PM, Paul Edwards <paul.m.edwards at gmail.com
>>> > wrote:
>>>
>>>> I just rebuilt from clean and the pvpython issue is resolved. But, now
>>>> I don't have pipeline_manager.py anywhere. Has this changed?
>>>>
>>>> Thanks,
>>>> Paul
>>>>
>>>>
>>>> On 20 September 2013 13:47, Sebastien Jourdain <
>>>> sebastien.jourdain at kitware.com> wrote:
>>>>
>>>>> Did you start from a clean build as most of the classes have moved to
>>>>> VTK and changed their names?
>>>>>
>>>>> Seb
>>>>>
>>>>>
>>>>> On Fri, Sep 20, 2013 at 7:53 AM, Paul Edwards <
>>>>> paul.m.edwards at gmail.com> wrote:
>>>>>
>>>>>> ParaViewWeb is still not working even from the build directory - it
>>>>>> fails with:
>>>>>>
>>>>>> from vtkParaViewWebCorePython import vtkPVWebInteractionEvent
>>>>>> ImportError: cannot import name vtkPVWebInteractionEvent
>>>>>>
>>>>>> Regards,
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 20 September 2013 12:48, Paul Edwards <paul.m.edwards at gmail.com>wrote:
>>>>>>
>>>>>>> This is still a problem when paraview is installed. But, pvpython
>>>>>>> works correctly from the build directory...
>>>>>>>
>>>>>>>
>>>>>>> On 19 September 2013 22:13, David E DeMarle <
>>>>>>> dave.demarle at kitware.com> wrote:
>>>>>>>
>>>>>>>> Looking at it ...
>>>>>>>>
>>>>>>>> David E DeMarle
>>>>>>>> Kitware, Inc.
>>>>>>>> R&D Engineer
>>>>>>>> 21 Corporate Drive
>>>>>>>> Clifton Park, NY 12065-8662
>>>>>>>> Phone: 518-881-4909
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 19, 2013 at 5:01 PM, Utkarsh Ayachit <
>>>>>>>> utkarsh.ayachit at kitware.com> wrote:
>>>>>>>>
>>>>>>>>> Dave, can you follow up with Casey please?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Thu, Sep 19, 2013 at 4:59 PM, Casey Goodlett
>>>>>>>>> <casey.goodlett at kitware.com> wrote:
>>>>>>>>> > Utkarsh,
>>>>>>>>> >
>>>>>>>>> > On my linux system using next fixes that problem in a parview
>>>>>>>>> build
>>>>>>>>> > directory.
>>>>>>>>> >
>>>>>>>>> > When running from a paraview install directory the problem
>>>>>>>>> remains.
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > On Thu, Sep 19, 2013 at 4:07 PM, Utkarsh Ayachit
>>>>>>>>> > <utkarsh.ayachit at kitware.com> wrote:
>>>>>>>>> >>
>>>>>>>>> >> This is related to the broken install rules in ParaView
>>>>>>>>> "master" for
>>>>>>>>> >> Python. Once the dashboards clears, we'll do a gatekeeper
>>>>>>>>> review and
>>>>>>>>> >> we'd have the fixes in master.
>>>>>>>>> >>
>>>>>>>>> >> Utkarsh
>>>>>>>>> >>
>>>>>>>>> >> On Thu, Sep 19, 2013 at 4:05 PM, Paul Edwards <
>>>>>>>>> paul.m.edwards at gmail.com>
>>>>>>>>> >> wrote:
>>>>>>>>> >> > Btw I get this error from just loading pvpython with the
>>>>>>>>> master build.
>>>>>>>>> >> >
>>>>>>>>> >> >
>>>>>>>>> >> > On 19 September 2013 20:59, Paul Edwards <
>>>>>>>>> paul.m.edwards at gmail.com>
>>>>>>>>> >> > wrote:
>>>>>>>>> >> >>
>>>>>>>>> >> >> I get this error when I try to run the paraviewweb example:
>>>>>>>>> >> >>
>>>>>>>>> >> >> $ ./bin/pvpython
>>>>>>>>> >> >> lib/paraview-4.0/site-packages/paraview/pipeline_manager.py
>>>>>>>>> --content
>>>>>>>>> >> >> lib/paraview-4.0/www --port 8080 --data-dir
>>>>>>>>> >> >> /home/paul/dev/ParaViewData-v4.0.1/DataError: Could not
>>>>>>>>> import
>>>>>>>>> >> >> vtkCommonComputationalGeometryPython
>>>>>>>>> >> >> Traceback (most recent call last):
>>>>>>>>> >> >> File
>>>>>>>>> "lib/paraview-4.0/site-packages/paraview/pipeline_manager.py",
>>>>>>>>> >> >> line
>>>>>>>>> >> >> 32, in <module>
>>>>>>>>> >> >> from paraview import web, paraviewweb_wamp,
>>>>>>>>> paraviewweb_protocols
>>>>>>>>> >> >> File
>>>>>>>>> >> >>
>>>>>>>>> >> >>
>>>>>>>>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/paraviewweb_wamp.py",
>>>>>>>>> >> >> line 21, in <module>
>>>>>>>>> >> >> from paraview import simple
>>>>>>>>> >> >> File
>>>>>>>>> >> >>
>>>>>>>>> >> >>
>>>>>>>>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/simple.py",
>>>>>>>>> >> >> line 41, in <module>
>>>>>>>>> >> >> import servermanager
>>>>>>>>> >> >> File
>>>>>>>>> >> >>
>>>>>>>>> >> >>
>>>>>>>>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/servermanager.py",
>>>>>>>>> >> >> line 48, in <module>
>>>>>>>>> >> >> import paraview, re, os, os.path, new, sys, atexit, vtk
>>>>>>>>> >> >> File
>>>>>>>>> >> >>
>>>>>>>>> >> >>
>>>>>>>>> "/home/paul/dev/ParaView/lib/paraview-4.0/site-packages/paraview/vtk/__init__.py",
>>>>>>>>> >> >> line 7, in <module>
>>>>>>>>> >> >> from vtkCommonCorePython import *
>>>>>>>>> >> >> ImportError: No module named vtkCommonCorePython
>>>>>>>>> >> >>
>>>>>>>>> >> >> Any ideas here?
>>>>>>>>> >> >>
>>>>>>>>> >> >> Thanks,
>>>>>>>>> >> >> 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
>>>>>>>>> >> >
>>>>>>>>> >> _______________________________________________
>>>>>>>>> >> 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
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > --
>>>>>>>>> > Casey B. Goodlett, Ph.D.
>>>>>>>>> > R&D Engineer
>>>>>>>>> > Kitware, Inc. - North Carolina Office
>>>>>>>>> > http://www.kitware.com
>>>>>>>>> > (919) 969-6990 x310
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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/20130920/a1d12148/attachment.htm>
More information about the ParaView
mailing list