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.2010/10/6 Victor Muņoz <chewaka.87@gmail.com>
For example, if I use directly in the IDLE console:
a=raw_input()
It returns me:File "<pyshell#39>", line 1, in <module>
Traceback (most recent call last):
a=raw_input()Even if I use it in an script I continue to get the same error.
File "/users/victor/bin/chimera/lib/python2.6/idlelib/PyShell.py", line 1007, in readline
self.top.mainloop() # nested mainloop()
File "/users/victor/bin/chimera/share/Idle/__init__.py", line 82, in mainloop
origListedTopLevel.mainloop(self)
NameError: global name 'origListedTopLevel' is not defined
In the IDLE console it says Python 2.6.4.
Thanks for your help.2010/10/5 Darren Weber <dweber@cgl.ucsf.edu>
Hi Victor,
If possible, it could be helpful to attach your script so we can
replicate the problem here. If you need to protect any IP in the
script, this may be tricky, but there could be ways around that, e.g.:
extract the essence of the problem from the script. Please note the
version of Chimera that your running and the platform it's running on
(linux, Mac or windows; it looks like a Chimera version that uses python
2.6 - the current daily builds are using python 2.7.)
Best,
Darren
> _______________________________________________
On 10/05/2010 01:46 AM, Victor Muņoz wrote:
> Hi,
>
> I've been doing different scripts in python for chimera UCSF, but
> recently I'm having problems using the raw_input() function. I've been
> using this functions for a long time and I haven't had any problem
> until now. The error I have when using it is:
>
> Traceback (most recent call last):
> File
> "/users/victor/Desktop/Doctorat/Python/Scripts/rmsd_aro_screen.py",
> line 51, in <module>
> aref=input()
> File "/users/victor/bin/chimera/lib/python2.6/idlelib/PyShell.py",
> line 1007, in readline
> self.top.mainloop() # nested mainloop()
> File "/users/victor/bin/chimera/share/Idle/__init__.py", line 82, in
> mainloop
> origListedTopLevel.mainloop(self)
> NameError: global name 'origListedTopLevel' is not defined
>
> I don't know where the error comes from, but I have the same error in
> both mi computer and my laptop.
>
> Thanks for all in advance.
>
> Kind regards,
>
> Victor Muņoz Robles
>
> --
>
>
> Chimera-dev mailing list
> Chimera-dev@cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev
>
_______________________________________________
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev
--
--
_______________________________________________
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev