<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<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>