So this is a package installed ParaView then?<br><br><div class="gmail_quote">On Wed, Jan 19, 2011 at 8:35 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If you simply run pvpython executable and import paraview, does that work?<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jan 19, 2011 at 8:34 AM, Mr. M <<a href="mailto:newsboost@gmail.com">newsboost@gmail.com</a>> wrote:<br>
> Sorry, no - I'm sure that there's only one version of paraview installed -<br>
> the machine has a fresh Ubuntu 10.10 installation...<br>
><br>
> Utkarsh Ayachit wrote:<br>
>><br>
>> Do you have multiple versions of paraview installed by any chance?<br>
>><br>
>> On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy <<a href="mailto:newsboost@gmail.com">newsboost@gmail.com</a>><br>
>> wrote:<br>
>><br>
>>><br>
>>> Hi David:<br>
>>><br>
>>> - thanks for LD_LIBRARY_PATH-suggestion<br>
>>> - I also found this suggestion on google and tried it earlier, however it<br>
>>> still didn't / doesn't work (slightly different message):<br>
>>><br>
>>> ---------------<br>
>>> $ LD_LIBRARY_PATH=/usr/lib/paraview python<br>
>>> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)<br>
>>> [GCC 4.4.5] on linux2<br>
>>> Type "help", "copyright", "credits" or "license" for more information.<br>
>>><br>
>>>>>><br>
>>>>>> from sys import path<br>
>>>>>> path.append('/usr/lib/paraview')<br>
>>>>>> from paraview.simple import *<br>
>>>>>><br>
>>><br>
>>> paraview version 3.8.0, Date: 2010-03-26<br>
>>> Traceback (most recent call last):<br>
>>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line<br>
>>> 2922,<br>
>>> in _proxyDefinitionsUpdated<br>
>>> if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():<br>
>>> AttributeError: GetProxyDefinitionsUpdated<br>
>>> Traceback (most recent call last):<br>
>>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line<br>
>>> 2922,<br>
>>> in _proxyDefinitionsUpdated<br>
>>> if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated():<br>
>>> AttributeError: GetProxyDefinitionsUpdated<br>
>>> ---------------<br>
>>><br>
>>> Any other clever ideas, please?<br>
>>><br>
>>><br>
>>> On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview to<br>
>>> LD_LIBRARY_PATH does it work?<br>
>>><br>
>>> On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. <<a href="mailto:newsboost@gmail.com">newsboost@gmail.com</a>> wrote:<br>
>>><br>
>>>><br>
>>>> Dear all<br>
>>>><br>
>>>> Please bear over with me, but I've tried to google for the following<br>
>>>> error<br>
>>>> messages and have seen that other people have the same problem as me<br>
>>>> (but<br>
>>>> the threads have been unanswered). I hope somebody can help me avoid<br>
>>>> this<br>
>>>> error:<br>
>>>><br>
>>>> -------------------<br>
>>>> $ python<br>
>>>> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)<br>
>>>> [GCC 4.4.5] on linux2<br>
>>>> Type "help", "copyright", "credits" or "license" for more information.<br>
>>>><br>
>>>>>>><br>
>>>>>>> from sys import path<br>
>>>>>>> path.append('/usr/lib/paraview')<br>
>>>>>>> from paraview.simple import *<br>
>>>>>>><br>
>>>><br>
>>>> Traceback (most recent call last):<br>
>>>> File "<stdin>", line 1, in <module><br>
>>>> File "/usr/lib/pymodules/python2.6/paraview/simple.py", line 39, in<br>
>>>> <module><br>
>>>> import servermanager<br>
>>>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line 43,<br>
>>>> in <module><br>
>>>> import paraview, re, os, new, sys, vtk<br>
>>>> File "/usr/lib/pymodules/python2.6/paraview/vtk/__init__.py", line 4,<br>
>>>> in<br>
>>>> <module><br>
>>>> from libvtkCommonPython import *<br>
>>>> ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object<br>
>>>> file:<br>
>>>> No such file or directory<br>
>>>> -------------------<br>
>>>><br>
>>>> But it's not true - I've have the file it's looking for:<br>
>>>><br>
>>>> martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so<br>
>>>> /usr/lib/paraview/libvtkCommonPythonD.so<br>
>>>> /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8<br>
>>>><br>
>>>><br>
>>>> ???<br>
>>>><br>
>>>> I know somebody who's running Ubuntu 10.04 and doesn't have this problem<br>
>>>> so I think the problem is related to something that has changed between<br>
>>>> these two versions...<br>
>>>><br>
>>>> Please advice - any suggestions are most welcome...<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> Visit other Kitware open-source projects at<br>
>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>><br>
>>>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>>>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>><br>
>>><br>
>>><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>