[Paraview] ParaView Web - module twisted.internet error
Rodnei Couto
rodneicouto at gmail.com
Tue Mar 14 11:01:32 EDT 2017
Python modules are different from 5.2 to 5.3
For example, inside* lib/python2.7/site-packages, *the version 5.2 has the
modules *autobahn, zope and twisted*, and the version 5.3 does not.
I tried to copy the twisted and zope modules from version 5.2 to version
5.3, but a got others errors.
By now, I reverted to release 5.2 in production environment.
Cheers,
--
Rodnei Couto | (55 21) 98749-9885
On Mon, Mar 13, 2017 at 3:19 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> Hum, that is weird.
>
> It could be a bug.
>
> Do you mind doing a diff between the 2 python modules between 5.2 and 5.3.
>
> Twisted should be the same. Then on the ParaView side, I'm not expecting
> much difference.
>
> Thanks for tracking that down...
>
> Seb
>
> On Mon, Mar 13, 2017 at 11:42 AM, Rodnei Couto <rodneicouto at gmail.com>
> wrote:
>
>> Yes, I'm sure there is no twisted library in my system python.
>>
>> I rollback to version 5.2.0 and everything works fine.
>>
>> Can be a bug?
>>
>> --
>> Rodnei Couto | (55 21) 98749-9885
>>
>> On Sun, Mar 12, 2017 at 3:12 PM, Sebastien Jourdain <
>> sebastien.jourdain at kitware.com> wrote:
>>
>>> 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
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> 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/20170314/b8730e16/attachment.html>
More information about the ParaView
mailing list