I'm runing PyDev .85 in eclipse 3.1 (also tried it in 3.01). When I try to refactor, I get a progress box which pops up saying "operation in progress" but the bar never advances, and it appears that the process times out. None of the refactor functions end up doing anything. The dialog just eventually disappears, and i'm dropped back into the editor.
I suspect it's a misconfiguration on my part, but I have no idea where to start looking....
Any help would be appreciated!
Classic question: is your PYTHONPATH set in your enviroment? (In your enviroment and not in the project properties that for now is only used for code completion)
If that does not work, check if python is properly configured (in windows->preferences->debug, you have to set the python.exe if python is not in your path)
If that does not solve it too, check if you have something in your error log (windows->show view->error log)
My path variable is set to the following:
Code completion and execution work, so i think that this is ok as is. Python.exe is also set correctly.
The error log reports a java.lkang.NullPointerException.
Below is a copy of the stack trace
Thanks again for your help,
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
I see you are using python 2.4. In that case the problem might be:
Pydev 0.8.5 had a packaging problem and because of that, sometimes code completion did not work very well with python 2.4. If you use this version, you can fix that by erasing all *.pyc files that come toghether with the plugin (it seems that a file named inspect.pyc got in the package because of some experiments I was doing and as python 2.4 did not have the source file to recreate it, it seems to hang for a long time... when it did not hang forever)
Thanks! That did the trick :)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.