Hi Paul,<br><br>Do you have custom proxies defined in your xml? I&#39;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">&lt;<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>&gt;</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: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 255);"><br>

</span></p><p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; 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: &#39;Courier&#39;; 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: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">&gt;&gt;&gt; </span><span style="font-family: &#39;Courier&#39;; 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: &#39;Courier&#39;; 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: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;&lt;string&gt;&quot;, line 4, in &lt;module&gt;</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py&quot;, line 2891, in &lt;module&gt;</span></p>


<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">    _createModules()</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;</span><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">/home/paul/DEV/BrandedApp</span><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">/lib/paraview-3.7/paraview/servermanager.py&quot;, line 2456, in _createModules</span></p>


<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">    createModule(&#39;views&#39;, rendering)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">  File &quot;</span><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">/home/paul/DEV/BrandedApp</span><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">/lib/paraview-3.7/paraview/servermanager.py&quot;, line 2491, in createModule</span></p>


<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">    proto.GetXMLLabel():</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(255, 0, 0);">AttributeError: &#39;NoneType&#39; object has no attribute &#39;GetXMLLabel&#39;</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">&gt;&gt;&gt; </span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: &#39;Courier&#39;; font-size: 9pt; color: rgb(0, 0, 0);">&gt;&gt;&gt; <br></span></p><p style="margin: 0px; text-indent: 0px;"><br><span style="font-family: &#39;Courier&#39;; 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 &quot;pvpython&quot; or the main &quot;paraview&quot; 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: &#39;Courier&#39;; 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>