<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Oh, that is a complete example. :-) my bad.<br>
<br>
I was able to reproduce using the 4.1 binary, I'll try with a debug
build and see if I can determine what's going wrong.<br>
<br>
<br>
$PV_LIBRARY_PATH=/work/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/
ParaView-4.1.0-Linux-64bit/bin/pvbatch --enable-bt ./load-lic.py<br>
pvPath<br>
/work/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/<br>
<br>
=========================================================<br>
Process id 3415 Caught SIGSEGV at 0x0 address not mapped to object<br>
Program Stack:<br>
WARNING: The stack trace will not use advanced capabilities because
this is a release build.<br>
0x3769a0ef90 : ??? [(???) ???:-1]<br>
0x376c6940cf : std::ostream::sentry::sentry(std::ostream&)
[(libstdc++.so.6) ???:-1]<br>
0x376c694799 : std::basic_ostream<char,
std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char>
>&, char const*, long) [(libstdc++.so.6) ???:-1]<br>
0x376c694bf7 : std::basic_ostream<char,
std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*)
[(libstdc++.so.6) ???:-1]<br>
0x7f032f6376cd :
vtkClientServerInterpreter::AddNewInstanceFunction(char const*,
vtkObjectBase* (*)(void*), void*, void (*)(void*))
[(libvtkClientServer-pv4.1.so.1) ???:-1]<br>
0x7f030f683bec :
vtkSurfaceLICRepresentation_Init(vtkClientServerInterpreter*)
[(libSurfaceLIC.so) ???:-1]<br>
0x7f032f75ddeb :
vtkClientServerInterpreterInitializer::RegisterCallback(void
(*)(vtkClientServerInterpreter*)) [(libvtkPVCommon-pv4.1.so.1)
???:-1]<br>
0x7f033111fd97 : vtkPVPluginTracker::RegisterPlugin(vtkPVPlugin*)
[(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]<br>
0x7f0331114318 : vtkPVPluginLoader::LoadPlugin(char const*,
vtkPVPlugin*) [(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]<br>
0x7f03311168bd : vtkPVPluginLoader::LoadPluginInternal(char const*,
bool) [(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]<br>
0x7f0331d2fc31 :
vtkPVPluginLoaderCommand(vtkClientServerInterpreter*,
vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&, void*)
[(libvtkPVServerManagerApplication-pv4.1.so.1) ???:-1]<br>
0x7f032f637250 :
vtkClientServerInterpreter::CallCommandFunction(char const*,
vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&) [(libvtkClientServer-pv4.1.so.1) ???:-1]<br>
0x7f032f63c183 :
vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
const&, int) [(libvtkClientServer-pv4.1.so.1) ???:-1]<br>
0x7f032f63aef2 :
vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream
const&, int) [(libvtkClientServer-pv4.1.so.1) ???:-1]<br>
0x7f032f63b3ad :
vtkClientServerInterpreter::ProcessStream(vtkClientServerStream
const&) [(libvtkClientServer-pv4.1.so.1) ???:-1]<br>
0x7f03312c637c :
vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream
const&, bool) [(libvtkPVServerImplementationCore-pv4.1.so.1)
???:-1]<br>
0x7f03312c5c28 : vtkPVSessionCore::ExecuteStream(unsigned int,
vtkClientServerStream const&, bool)
[(libvtkPVServerImplementationCore-pv4.1.so.1) ???:-1]<br>
0x7f03312c4063 : vtkPVSessionBase::ExecuteStream(unsigned int,
vtkClientServerStream const&, bool)
[(libvtkPVServerImplementationCore-pv4.1.so.1) ???:-1]<br>
0x7f03314fb05b : vtkSMPluginLoaderProxy::LoadPlugin(char const*)
[(libvtkPVServerManagerCore-pv4.1.so.1) ???:-1]<br>
0x7f03314fbfd9 : vtkSMPluginManager::LoadRemotePlugin(char const*,
vtkSMSession*) [(libvtkPVServerManagerCore-pv4.1.so.1) ???:-1]<br>
0x7f03156bddfb : ??? [(???) ???:-1]<br>
0x7f032d555e0a : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d5564e5 : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d5564e5 : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d558292 : PyEval_EvalCode [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d57b7b1 : PyRun_FileExFlags [(libpython2.7.so.1.0) ???:-1]<br>
0x7f032d57ba87 : PyRun_SimpleFileExFlags [(libpython2.7.so.1.0)
???:-1]<br>
0x7f032d58db27 : Py_Main [(libpython2.7.so.1.0) ???:-1]<br>
0x40218f : ParaViewPython::Run(int, int, char**) [(pvbatch) ???:-1]<br>
0x3769621b45 : __libc_start_main [(libc.so.6) ???:-1]<br>
0x401dca : __gxx_personality_v0 [(pvbatch) ???:-1]<br>
=========================================================<br>
<br>
Aborted<br>
<br>
<div class="moz-cite-prefix">On 04/16/2014 11:37 AM, Burlen Loring
wrote:<br>
</div>
<blockquote cite="mid:534ECDFA.2060105@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
mind sharing a complete example?<br>
<br>
<div class="moz-cite-prefix">On 04/16/2014 07:24 AM, Joe Borġ
wrote:<br>
</div>
<blockquote
cite="mid:CAFFYk1XL8qC0jPCd531=pSs5xUD2tWcnqzE0_oEbH1tDUYu1SA@mail.gmail.com"
type="cite">
<div dir="ltr">
<table class="">
<tbody>
<tr class="" valign="top">
<td class=""><br>
</td>
<td class="" colspan="5"> Create a Python file with the
following commands:<br>
<br>
from paraview.simple import *<br>
<br>
print 'Loading on server...'<br>
LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
True, globals())<br>
print '...loaded.'<br>
print 'Loading on client...'<br>
LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
False, globals())<br>
print '...loaded.<br>
<br>
And then run it to see:<br>
<br>
$ pvbatch pv_lic_plugin_test.py<br>
Loading on server...<br>
...loaded.<br>
Loading on client...<br>
Segmentation fault (core dumped)<br>
<br>
It doesn't work the other way around, either.<br>
<br>
Thanks,<br>
Joe<br>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>