Monday, March 30, 2009

New Pydev release soon (call for testers)

A new Pydev release should be available pretty soon... if no critical bugs are found, the current nightly build -- version 1.4.5.2712 -- will be the released version.

So, whoever is interested in the next release, please get the latest nightly build -- http://pydev.blogspot.com/2009/02/pydev-nightly-builds.html -- and check it to see if everything is working fine (so that I can provide fixes for any critical bug found before it's actually officially released).

Note that this is an attempt to have released versions more stable -- because even with a good test suite and some days of manual testing before an actual release, now and then there are still critical bugs slipping (there are way too many different scenarios and use-cases in which Pydev is used)

Sure, it's nothing like the 1-2 months of testing Eclipse goes through before a release... Actually, from submitting something up to approval in Eclipse, it usually means 6-10 months for it to be in a final release... for instance: I've just submitted a rather minor patch to make the word completion (Emacs-Style) faster -- but it'll only be patched for Eclipse 3.6... meaning that with luck it'll be available 10 months from now (because it's in API freeze now and in 2 days will stay at feature freeze and will get its 1-2 months of testing) -- but on the bright side, I can patch my own version :)

Tuesday, March 03, 2009

Pydev zip distribution problem

If you've installed Pydev with the zip files, you are probably having problems with code-completion. This happened because in the process of updating pydev to P2 (which is the new way of installing eclipse plugins), the zip files ended up having the update site and not the plugins in the format they should be installed.

You can fix that by uninstalling pydev and then instead of making any extract, go to help > software updates > available software > add site > archive and add each zip file there (org.python.pydev.feature-1.4.4.2636.zip and com.python.pydev.extensions-1.4.4.2636.zip), which should use those files correctly as an update site.

The error that appears in the error log if that's not done is something like:
Error creating python process - exited before creating sockets -
exitValue = (1)(/usr/bin/python2.4
/tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/pycompletionse
rver.py)