[Paraview] ParaView Web - module twisted.internet error

Sebastien Jourdain sebastien.jourdain at kitware.com
Sun Mar 12 14:12:31 EDT 2017


Are you sure, there is no twisted library in your system python?


On Fri, Mar 10, 2017 at 6:34 PM, Rodnei Couto <rodneicouto at gmail.com> wrote:

> My version was downloaded from the official site
>
> ParaView-5.3.0-RC3-Qt5-OpenGL2-MPI-Linux-64bit
>
> Cheers,
>
> --
> Rodnei Couto |  (55 21) 98749-9885
>
> On Fri, Mar 10, 2017 at 6:36 PM, Scott Wittenburg <
> scott.wittenburg at kitware.com> wrote:
>
>> What version of ParaView are you using?  One you built yourself (if so,
>> how old), or a release binary?
>>
>>
>> On Fri, Mar 10, 2017 at 2:31 PM, Rodnei Couto <rodneicouto at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Thanks for the answer.
>>>
>>> I completely removed the twisted from my machine and the error continue.
>>> In fact the error occurred before his installation. I installed twitted to
>>> try to solve it
>>>
>>> Any other ideas?
>>>
>>> Cheers,
>>>
>>>
>>> --
>>> Rodnei Couto |  (55 21) 98749-9885
>>>
>>> On Fri, Mar 10, 2017 at 4:55 PM, Scott Wittenburg <
>>> scott.wittenburg at kitware.com> wrote:
>>>
>>>> Did you try to set up your own version of twisted in your system
>>>> python?  When you illustrated how twisted was properly set up, you did it
>>>> with "python", but your start script runs pvpython.  I wonder if maybe your
>>>> system python twisted is conflicting (or overriding) with the one provided
>>>> by pvpython?  That's just a guess based on a quick read.
>>>>
>>>> Hope this helps,
>>>> Scott
>>>>
>>>> On Fri, Mar 10, 2017 at 12:37 PM, Rodnei Couto <rodneicouto at gmail.com>
>>>> wrote:
>>>>
>>>>> I set up my environment as indicated in http://kitware.github.io/pa
>>>>> raviewweb/docs/ubuntu_14_04.html
>>>>>
>>>>> My operational system is Ubuntu 64 14_04 LTS.
>>>>>
>>>>> When I try to run my start.sh, I get an error:
>>>>>
>>>>> pvw-user at cole:/local/pvw-user$ Traceback (most recent call last):
>>>>>   File "/local/pvw-user/data/pv/pv-current/lib/python2.7/site-packages/vtk/web/launcher.py", line 14, in <module>
>>>>>     from twisted.internet import reactor, defer
>>>>> ImportError: No module named twisted.internet
>>>>>
>>>>> i think the twisted is properly installed in my environment, as can be
>>>>> seen below:
>>>>>
>>>>> pvw-user at cole:/local/pvw-user$ python -c "from twisted.internet import reactor, defer; print( defer ); print ( reactor ) "
>>>>> <module 'twisted.internet.defer' from '/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.pyc'>
>>>>> <twisted.internet.epollreactor.EPollReactor object at 0x7f1d387f1090>
>>>>>
>>>>>
>>>>> My start.sh code is:
>>>>>
>>>>>  #!/bin/bash
>>>>> export DISPLAY=:0.0
>>>>> /data/pv/pv-current/bin/pvpython /data/pv/pv-current/lib/python2.7/site-packages/vtk/web/launcher.py /data/pvw/conf/launcher.json &
>>>>>
>>>>>
>>>>> Can anybody help me? I do not know what else I can do
>>>>>
>>>>> Cheers,
>>>>>
>>>>>>>>>>
>>>>> Rodnei Couto | (55 21) 98749-9885
>>>>>>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170312/2776fedb/attachment.html>


More information about the ParaView mailing list