[Idle-dev] Installing IDLE

Noam Raphael noamraph at gmail.com
Sat Dec 10 19:45:05 CET 2005


Is it possible that there's still access to the old version of IDLE?

My guess is that the IDLE's subprocess finds the "idlelib.run" module
from the previous installation, which doesn't include the new
"get_the_completion_list" method, and that's why it fails.

Make sure that when you run Python, there's no way to import the old
IDLE's modules.

I hope this helps,

On 12/9/05, konrad Zielinski <kzielinski at gmail.com> wrote:
> Hi,
> I'm trying to install the new version of IDLE lib and have encountered
> the following
> problem:
> When I attempt to use auto completion I get the following error:
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
>     return self.func(*args)
>   File "/usr/local/lib/python2.4/idlelib/AutoComplete.py", line 63, in force_ope
> n_completions_event
>     self.open_completions(True, False, True)
>   File "/usr/local/lib/python2.4/idlelib/AutoComplete.py", line 152, in open_com
> pletions
>     comp_lists = self.fetch_completions(comp_what, mode)
>   File "/usr/local/lib/python2.4/idlelib/AutoComplete.py", line 181, in fetch_co
> mpletions
>     (what, mode), {})
>   File "/usr/local/lib/python2.4/idlelib/rpc.py", line 211, in remotecall
>     return self.asyncreturn(seq)
>   File "/usr/local/lib/python2.4/idlelib/rpc.py", line 242, in asyncreturn
>     return self.decoderesponse(response)
>   File "/usr/local/lib/python2.4/idlelib/rpc.py", line 259, in decoderesponse
>     raise RuntimeError, what
> RuntimeError: Unsupported method name: 'get_the_completion_list'
> The reason I placed the files under /usr/local is to avoid making
> manual changes in the normal /usr hierarchy, as this is the domain of
> my package management system.
> Regards
> Konrad
> PS I just realised that my previous post regarding Network Ports
> wasn't signed. I was in a rush and neglected that detail.
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev

More information about the IDLE-dev mailing list