List Info

Thread: Code Completion Hang




Code Completion Hang
country flaguser name
United States
2007-03-07 11:18:32
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4195430

By: lianos

Hi all,

I've just installed PyDev 1.2.9 on Mac OS X.4.8 and am
having a problem with
code completion hosing Eclipse.

It seems that code completion works on some of the python
builtin libraries
that I have as well as other "installed" packages
(like PIL, networkx to name
a few).

When I try to use completion with numpy or scipy, Eclipse
just hangs -- takes
up 100% of my cpu for as long as I let it before it quits.
I've disabled code
completeion on '.' so it doesn't kill me now, but I'm
wondering if anyone else
has had a problem with this?

I clicked on the "debug completion" checkbox in
the PyDev prefs, too, but I'm
not sure if/where it logged any more information that I can
send to you.


Thanks,
-steve
 

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: Code Completion Hang
country flaguser name
United States
2007-03-07 11:24:24
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4195442

By: lianos

I should add that I also increased the "Timeout to
connect to shell" to 60 secs
with no avail.

I saw that suggested somewhere in the docs, so I gave it a
shot ...

-steve

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: Code Completion Hang
country flaguser name
United States
2007-03-07 15:49:27
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4195900

By: lianos

Hi,

Sorry, there is now a .metadata/.plugins folder.

I don't want to admit that I may have been so dumb as to not
turn on the 'show
hidden files switch' when running ls earlier, but that's
probably the case since
the .plugins folder is there .. anyway ..

I'm attaching the PydevLog file to the ticket here:
http://sourceforge.n
et/tracker/index.php?func=detail&aid=1676104&group_i
d=85796&
atid=577329

(I had to cut down the attached log file since it was big
(~14MBs) .. hopefully
I didn't cut out anything useful -- I can generate it again
if need be)


As noted on the ticket, if I give PyDev a hint to the
completion by starting
it off with a letter, like:

===
import numpy as N
myarray = N.o<ctrl-space>
===

PyDev/Eclipse doesn't hang and does its thing. Is it just
the fact that numpy
is a (very?) large package and trying to find every possible
completion is taking
so long?

>From ipython, if I do:
====
import numpy as N
N.<tab}
====

It asks if I really want to show all 498 possibilities
(admittedly it's a lot),
but still it manages to show them w/o a hiccup.




____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: Code Completion Hang
country flaguser name
United States
2007-03-16 16:21:01
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4211578

By: lianos

Hi Fabio,

Just curious if you were still looking at this. The ticket
is closed but I've
added more comments to it recently as it still doesn't work
right.

Not only does the auto-complete not work, but more
importantly it's flagging
my use of the "ones" method as an error in a
script like so:

import numpy
array = numpy.ones((10,10))

The "ones" is underlined w/ this error:
"Undefined variable from import: ones"

I have numpy added to the "builtins" in the PyDev
> Python - Interpreter preference
preferences section and the path to the site-packages folder
is certainly set
in my environment's PYTHONPATH variable (both in Eclipse and
my bash
environment).

Thanks for any updates and sorry for the hassle.

-steve

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: Code Completion Hang
country flaguser name
United States
2007-03-16 17:06:32
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4211619

By: lianos

Let me add to this and say that after removing numpy/scipy
from the builtins
and (defensively) increased the "Minimum number of
chars in qualifier ..." setting
to 2 (in Code Completion dlog box) everything works as
expected.

I'll be registering the PyDev Extensions now .. thanks 

-steve

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )