I have downloaded the chimera stable version (not the daily build), which works on python 2.5.2, and it works perfect. I guess it's a problem with the other version of python.<br><br><div class="gmail_quote">2010/10/6 Victor Muņoz <span dir="ltr"><<a href="mailto:chewaka.87@gmail.com">chewaka.87@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">For example, if I use directly in the IDLE console:<br><br>a=raw_input()<br><br>It returns me:<div class="im">
<br><br>Traceback (most recent call last):<br></div> File "<pyshell#39>", line 1, in <module><br> a=raw_input()<div class="im"><br>
File "/users/victor/bin/chimera/lib/python2.6/idlelib/PyShell.py", line 1007, in readline<br> self.top.mainloop() # nested mainloop()<br> File "/users/victor/bin/chimera/share/Idle/__init__.py", line 82, in mainloop<br>
origListedTopLevel.mainloop(self)<br>NameError: global name 'origListedTopLevel' is not defined<br><br></div>Even if I use it in an script I continue to get the same error.<br><br>In the IDLE console it says Python 2.6.4.<br>
<br>Thanks for your help.<br><br><div class="gmail_quote">2010/10/5 Darren Weber <span dir="ltr"><<a href="mailto:dweber@cgl.ucsf.edu" target="_blank">dweber@cgl.ucsf.edu</a>></span><div><div></div><div class="h5">
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Victor,<br>
<br>
If possible, it could be helpful to attach your script so we can<br>
replicate the problem here. If you need to protect any IP in the<br>
script, this may be tricky, but there could be ways around that, e.g.:<br>
extract the essence of the problem from the script. Please note the<br>
version of Chimera that your running and the platform it's running on<br>
(linux, Mac or windows; it looks like a Chimera version that uses python<br>
2.6 - the current daily builds are using python 2.7.)<br>
<br>
Best,<br>
Darren<br>
<div><div></div><div><br>
<br>
On 10/05/2010 01:46 AM, Victor Muņoz wrote:<br>
> Hi,<br>
><br>
> I've been doing different scripts in python for chimera UCSF, but<br>
> recently I'm having problems using the raw_input() function. I've been<br>
> using this functions for a long time and I haven't had any problem<br>
> until now. The error I have when using it is:<br>
><br>
> Traceback (most recent call last):<br>
> File<br>
> "/users/victor/Desktop/Doctorat/Python/Scripts/rmsd_aro_screen.py",<br>
> line 51, in <module><br>
> aref=input()<br>
> File "/users/victor/bin/chimera/lib/python2.6/idlelib/PyShell.py",<br>
> line 1007, in readline<br>
> self.top.mainloop() # nested mainloop()<br>
> File "/users/victor/bin/chimera/share/Idle/__init__.py", line 82, in<br>
> mainloop<br>
> origListedTopLevel.mainloop(self)<br>
> NameError: global name 'origListedTopLevel' is not defined<br>
><br>
> I don't know where the error comes from, but I have the same error in<br>
> both mi computer and my laptop.<br>
><br>
> Thanks for all in advance.<br>
><br>
> Kind regards,<br>
><br>
> Victor Muņoz Robles<br>
><br>
> --<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Chimera-dev mailing list<br>
> <a href="mailto:Chimera-dev@cgl.ucsf.edu" target="_blank">Chimera-dev@cgl.ucsf.edu</a><br>
> <a href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev" target="_blank">http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev</a><br>
><br>
_______________________________________________<br>
Chimera-dev mailing list<br>
<a href="mailto:Chimera-dev@cgl.ucsf.edu" target="_blank">Chimera-dev@cgl.ucsf.edu</a><br>
<a href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev" target="_blank">http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev</a><br>
</blockquote></div></div></div><br><br clear="all"><br>-- <br><div style="text-align: center;"><img src="http://farm5.static.flickr.com/4045/4194316803_f773f9c017_o.jpg"></div><br>
</blockquote></div><br><br clear="all"><br>-- <br><div style="text-align: center;"><img src="http://farm5.static.flickr.com/4045/4194316803_f773f9c017_o.jpg"></div><br>