Hi Paul,<br><br>Do you have custom proxies defined in your xml? I've seen a bug like this before when there are parentheses in the proxy Label attribute.<br><br>Pat<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 10:39 AM, Paul Edwards <span dir="ltr"><<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p style="margin: 0px; text-indent: 0px;">Hi,<br>
<br>
The Python shell is not working in my branded app. Below are the errors appearing in the shell:</p><p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 255);"><br>
</span></p><p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 255);">Python 2.6.2 (r262:71600, Jul 17 2009, 14:08:37) </span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 255);">[GCC 4.2.1 (SUSE Linux)] on linux2</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);">>>> </span><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 150);">from paraview.simple import *</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">Traceback (most recent call last):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> File "<string>", line 4, in <module></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py", line 2891, in <module></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> _createModules()</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> File "</span><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">/home/paul/DEV/BrandedApp</span><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">/lib/paraview-3.7/paraview/servermanager.py", line 2456, in _createModules</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> createModule('views', rendering)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> File "</span><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">/home/paul/DEV/BrandedApp</span><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">/lib/paraview-3.7/paraview/servermanager.py", line 2491, in createModule</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);"> proto.GetXMLLabel():</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(255, 0, 0);">AttributeError: 'NoneType' object has no attribute 'GetXMLLabel'</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);">>>> </span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);">>>> <br></span></p><p style="margin: 0px; text-indent: 0px;"><br><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);"></span></p>
<p style="margin: 0px; text-indent: 0px;"><br>
</p>
<p style="margin: 0px; text-indent: 0px;">I do not get these errors if I run "pvpython" or the main "paraview" app. Any ideas?<br></p>
<br>
<p style="margin: 0px; text-indent: 0px;">Thanks in advance,<br>
Paul</p><p style="margin: 0px; text-indent: 0px;"><br><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 0, 0);"></span></p>
<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>
<br></blockquote></div><br>