Thread: [Pydev-users] [pydev - Users] Autocompletion with wxPython freezes Eclipse
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-11-01 21:44:53
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3991724 By: smilelover Hi all, I'm using Eclipse 3.2.1 with PyDev 1.2.5 on Ubuntu 6.06. Everytime I import wx and type "wx.", Eclipse freezes -- not with CPU overload from loading the lib, it just freezes. I use wxPython 2.6.1.2pre. Any suggestions? ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-11-01 21:53:47
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3991733 By: fabioz Is it just on wxpython code completion or on any builtin (if you request a code-completion in an empty file, does it show you the builtins correctly?) ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-11-02 07:10:54
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3992255 By: smilelover I created a new project and tried autocompletion on various libs (cherrypy, PyGTK) and it worked. Then I imported wx into the new project and it worked as well. After that I tried autocompletion in my older projects and it worked, even with wxPython. I restarted Eclipse and tried it again. In older projects "wx." freezed Eclipse, in another newly created project - it freezed the IDE too :( ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-11-02 10:18:42
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3992440 By: fabioz To debug the problem, can you: 1. Mark 'debug code-completion' in the code-completion preferences 3. Create a new project with the default 'src'structure 4. Create an empty file and request a code-completion 5. Write import wx and then make a request on 'wx.' 6.Wait for at least 1 minute before killing Eclipse and pass me the log on: .metadata/.plugins/org.python.pydev.core/PydevLog.log Also, it may be a change in your configuration if it worked before... have you added some firewall? This could have effects in the debugger... There was a bug related to some misconfiguration in linux too (it might be worth checking if you have a similar problem: http://sourceforge.net/tracker/index.php?func=detail&aid=1509582&group_id=85796& atid=577329) Also, check if you can do the following (create an empty file in eclipse and just run the code below through eclipse): import wx dir(wx) and see if it brings you all the completions for wx without problems... Cheers, Fabio ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-11-03 22:09:28
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3994825 By: smilelover This is my PydevLog.log after the experiment: AbstractShell: Synchronizing on shells... AbstractShell: Getting shell relatedId:0 id:1 PyCodeCompletion: Starting getCodeCompletionProposals PyCodeCompletion: Request:CompletionRequest[ editorFile:/home/android/projekty/prj/src/mod.py activationToken:wx. qualifier: isInCalltip:false alreadyHasParams:false] PyCodeCompletion: AbstractShell.getServerShell AbstractShell: Synchronizing on shells... AbstractShell: Getting shell relatedId:0 id:1 PyCodeCompletion: END AbstractShell.getServerShell ASTManager: getCompletionsForModule AbstractShell: Synchronizing on shells... AbstractShell: Getting shell relatedId:0 id:1 ASTManager: getCompletionsForModule ASTManager: getGlobalCompletions AbstractShell: Synchronizing on shells... AbstractShell: Getting shell relatedId:0 id:1 AbstractShell: executing /usr/bin/python2.4 /home/android/.eclipse-callisto/plugins/org.python.pydev_1.2.5/PySrc/pycompletio nserver.py 53388 57545 AbstractShell: afterCreateProcess AbstractShell: connecting... AbstractShell: connecting attept...1 AbstractShell: connected! AbstractShell: Synchronizing on shells... AbstractShell: Getting shell relatedId:0 id:1 And with dir(wx) -- when run, it exited successfully, when run with "print dir(wx)", it printed the result sucessfully. Dan ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-11-06 21:25:53
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3999336 By: fabioz It could be a deadlock while synchronizing threads (maybe because doing the completion on wx is slower than on other builtins, as it is a large library) Can you report that as a bug? I'll take a look at it (although I'm unable to reproduce it here). Cheers, Fabio ______________________________________________________________________ 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 |