GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

Wei, Xiaohai wistoch at gmail.com
Thu Jun 18 23:22:36 EDT 2009


Thanks for your reply.

where is the error log? I can not find it at /var/log

I have a virtual network card to bridge kvm virtual machine. will it cause
problem?

as you said configuration of interpretor, how should I configure the
interpretor?

Thanks

James

On Fri, Jun 19, 2009 at 9:32 AM, Fabio Zadrozny <fabiofz at gmail.com> wrote:

> > yes, the same problem even on an empty program. every file has the same
> > problem.
> >
> > for example, if I new a file and input the following:
> > import os
> > os.
> > after I input '.', it will pop up the window, and i can select the
> function
> > of os module or continue input. but after that, no action can be taken
> for
> > this file unless I switch to other files and then switch back.
>
> If it's in pydev, there's probably some problem in your interpreter
> configuration (when you do os. it'll spawn a shell to gather the
> completions -- but that should be pretty quick unless you have some
> firewall that's preventing the communication or the spawn didn't go
> well -- check your error log to see if you have any errors... In linux
> I've seen some problems when connecting to 127.0.0.1 while having ipv6
> enabled or in a network card misconfiguration that could cause
> problems too).
>
> Cheers,
>
> Fabio
>
>
> >
> > On Thu, Jun 18, 2009 at 10:57 AM, Tyler Laing <trinioler at gmail.com>
> wrote:
> >>
> >> Do you experience the same problem even on an empty program file or is
> it
> >> limited to just one file?
> >>
> >> -Tyler
> >>
> >> On Wed, Jun 17, 2009 at 7:47 PM, Wei, James <wistoch at gmail.com> wrote:
> >>>
> >>> On Jun 18, 10:45 am, "Wei, James" <wist... at gmail.com> wrote:
> >>> > When I am editing python program with SPE, I found that SPE will
> >>> > freeze when it is doing auto-completion. The behavior is very strange
> >>> > that I can not edit the file again. If I switch to another file and
> >>> > then switch back, I can edit it again.
> >>> >
> >>> > So I switch to eclipse+pydev, but I found the same thing happen. So I
> >>> > think it is not the problem of SPE or eclipse or pydev.
> >>> >
> >>> > If I disable auto-completion function in SPE or Eclipse+PyDev, it
> will
> >>> > not freeze any longer.
> >>> >
> >>> > Anybody can give me some hints?
> >>> >
> >>> > I am using Ubuntu 8.10 and updated to latest. All packages is
> >>> > installed through package manager.
> >>>
> >>> the only thing I googled related with it is
> >>>
> >>>
> >>>
> http://www.nabble.com/-pydev---Users--jython-2.5b1-Froze-eclipse-on-autocomplete-td21394274.html
> >>>
> >>> but I think they are different.
> >>>
> >>> --
> >>> http://mail.python.org/mailman/listinfo/python-list
> >>
> >>
> >>
> >> --
> >> Visit my blog at http://oddco.ca/zeroth/zblog
> >
> >
> >
> > --
> > Best wishes to you.
> >
> > Yours sincerely
> >
> > Xiaohai Wei
> > wistoch at ustc.edu
> >
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
> >
>



-- 
Best wishes to you.

Yours sincerely

Xiaohai Wei
wistoch at ustc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090619/86ee194e/attachment-0001.html>


More information about the Python-list mailing list