Just to update: - it didn't work in ParaView either. I actually meant pvpython. Adding the code explained everything though:<br> <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;"><span style="font-family: 'Courier'; font-size: 9pt; color: rgb(0, 150, 0);">Failed to initialize proxy 'NewView' in group 'views'</span></p> <br>Thanks Pat<br>
<div class="gmail_quote"><br><br>On 27 January 2010 16:12, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.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;">
I don't know why it would work for paraview and not the branded app,<br>
I'm not going to be able to answer your question, but maybe I can help<br>
debug. You could you edit<br>
<div class="im">/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py<br>
</div>and add this after line 2488:<br>
<br>
if not proto:<br>
print "Failed to initialize proxy '%s' in group '%s'" %<br>
(proxyName, groupName)<br>
continue<br>
<font color="#888888"><br>
Pat<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jan 27, 2010 at 10:59 AM, pat marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>> wrote:<br>
><br>
> 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>
> On Wed, Jan 27, 2010 at 10:39 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> The Python shell is not working in my branded app. Below are the errors appearing in the shell:<br>
>><br>
>> Python 2.6.2 (r262:71600, Jul 17 2009, 14:08:37)<br>
>><br>
>> [GCC 4.2.1 (SUSE Linux)] on linux2<br>
>><br>
>> >>> from paraview.simple import *<br>
>><br>
>> Traceback (most recent call last):<br>
>><br>
>> File "<string>", line 4, in <module><br>
>><br>
>> File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py", line 2891, in <module><br>
>><br>
>> _createModules()<br>
>><br>
>> File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py", line 2456, in _createModules<br>
>><br>
>> createModule('views', rendering)<br>
>><br>
>> File "/home/paul/DEV/BrandedApp/lib/paraview-3.7/paraview/servermanager.py", line 2491, in createModule<br>
>><br>
>> proto.GetXMLLabel():<br>
>><br>
>> AttributeError: 'NoneType' object has no attribute 'GetXMLLabel'<br>
>><br>
>> >>><br>
>><br>
>> >>><br>
>><br>
>><br>
>> I do not get these errors if I run "pvpython" or the main "paraview" app. Any ideas?<br>
>><br>
>> Thanks in advance,<br>
>> Paul<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>
>><br>
><br>
</div></div></blockquote></div><br>