#797 Cannot install other plugins after installing PyDev

closed
nobody
None
9
2008-10-17
2008-10-07
mkoenig
No

Operating System: Windows XP
Eclipse Version: 3.4 and 3.4.1
PyDev Version: 1.3.18 through 1.3.22

We just recentently (Oct 3rd) started experiencing dependency problems with installing or upgrading other plugins once we have installed the PyDev plugin. Some of (but not all) the standard eclipse plugins that we are having problems with are

Ganymede / Models and Model Development / EMF - Eclipse Modeling Framework Runtime and Tools
Ganymede / Models and Model Development / Graphical Modeling Framework Runtime

These plugins and other can be installed and upgraded when PyDev is not installed, but once we install PyDev we can no longer install or upgrade these other plugins. This is preventing us from being able to use PyDev.

The attached file shows the dependency errors we are receiving when installing these plugins after PyDev has been installed.

We have done extensive testing on installing combinations of our plugin, eclipse plugins, and the PyDev plugin and all results are the same that when pydev in installed all the others we are trying start to fail, but all the other work as long as PyDev has not been installed.

Again this problem just started on Oct 3rd, 2008 around the time the newer version of EMF and GMF came out. We thought it may have been that originally, but again they install and upgrade fine as long as PyDev is NOT installed.

Discussion

  • Stefan Schlott

    Stefan Schlott - 2008-10-09

    Same behaviour with my installation (Ganymede/Linux). Independent of other plugins - just downloaded Ganymede, installed PyDev... and no more updates/installations/uninstalls(!) are possible.

     
  • mkoenig

    mkoenig - 2008-10-09

    Since I originally raised this issues we have downloaded the source code for the PyDev plugin and using the feature.xml editor export wizard (from the overview tab) we build the plugins with "package as indivdual jars" and "generate metadata repository" options and added the results to our own internal update site. When installing from our build and internal site we do not experence the problem. We did not have to make any code changes at all. It simply appears to be the way it is being built and packaged on the update site.

     
  • David Nagle

    David Nagle - 2008-10-10

    I have encountered the same problem, using Ganymede on Windows XP. After installing PyDev, I have to use the "Revert Configuration..." to back out the PyDev installation before installing additional plugins. After reverting, I can then install additional plugins; then I can install PyDev again. The presence of PyDev seems to prevent me from installing any additional plugins.

    I get two different kinds of errors when trying to install plugins.

    The first kind of error I tend to get is:
    Cannot complete the request. See the details.
    Format error in file: C:\DOCUMEN~1\dnagle\LOCALS~1\Temp\p2Encoding65306.opb.

    The file in question seems to be very temporary -- it does not exist by the time I go to look at it, when the error is given to me.

    The second kind of error I tend to get is about dependencies. The error message is very similar to the error messages logged in the PyDevDependencies.txt file uploaded by mkoenig65.

    I only get one error *or* the other error, not both. However, for a given plugin, I seem to consistently get the same error each time.

    I have encountered these issues on two separate machines, both of which are using fresh installations of Ganymede on Windows XP (installed within the past few days).

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-10

    Just a doubt... are those errors only happening with eclipse 3.4 or is someone experiencing it with another version?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-10

    Another thing: those that are having errors: if pydev is installed from the zip and not from the update site, do the errors still persist?

     
  • mkoenig

    mkoenig - 2008-10-10

    I raised the issue and have only seem the issue in the latest eclipse 3.4. I have not tried it recently in any previous version of eclipse. Also I have tried downloading and installing the zip and I get the same issues as I did with the update site.

    Last, if I download the PyDev source and open the feature.xml and build the plugin using the feature export wizard (with the option specified in a previous comment) and add the result to our internal update site, then we no longer see the issue. We did not have to make any changes to the code, just simply rebuilt it using the wizard.

    We have tried many combinations of other plugins (including the one we are currently creating) and have not experience this issue until PyDev is install.

    One last note, we were not seeing any problems until the most recent release of 3.4.1 came out around the beginning of October. Prior to that our plugin was installing fine, and shortly after that release our plugin stopped installing and after extensive testing we found PyDev was the cause, but we are not sure why.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-13

    Are you installing only Pydev or Pydev with mylyn extensions?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-13

    Can you attach a file with the zipped contents of eclipse\configuration\org.eclipse.update (if possible, before and after having the errors)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-13

    Can someone do a test:

    Try editing eclipse/plugins/org.python.pydev.debug/META-INF/MANIFEST.MF and remove the occurrences for: >>;bundle-version="3.2.0"<< then, restart eclipse with -clean and see if it solves the problem (actually, it should work the way it is, as it states that 3.2.0 onwards is needed, but maybe for some reason eclipse is getting lost there -- and I still couldn't reproduce it here)

     
  • mkoenig

    mkoenig - 2008-10-13

    1. Started by downloading a fresh eclipse (Eclipse Classic 3.4.1) from the eclipse.org website
    2. UNzip newly downloaded file to c:\eclipse (org.eclipse.update_1.zip attached)
    3. Installed PyDev plugin only (not mylyn) from http://pydev.sourceforge.net/updates/
    4. Restarted Eclipse (org.eclipse.update_2.zip attached)
    5. Tried to install plugin Ganymede -> Models and Modeling Framework -> EMF - Eclipse Modeling Framework Runtime and Tools
    at this point received compatibility errors
    6. Closed Eclipse
    7. Removed the bundle version from the debug plugin as suggested and restarted eclipse with -clean (NOTE: I tried this originally)
    Again received same compatibility issues

    One thing I noticed is that on the pydev update site http://pydev.sourceforge.net/updates/ there are no p2 metdata files artifacts.xml and contents.xml (at least that we could see) these generally list the dependencies and other information here is a site for how to gerenerate these file (http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_metadata_generator.html). We generate these for our internal update sites and we are able to install pydev from our internal site (after downloading source and compiling) without the depenency problem. We did not have to make any code changes for this to work.

    File Added: org.eclipse.update_1.zip

     
  • mkoenig

    mkoenig - 2008-10-13

    File Added: org.eclipse.update_2.zip

     
  • Michel Peterson

    Michel Peterson - 2008-10-17

    Same behavior on Ganymede/MacOSX + PyDev. Should be a high priority bug IMHO.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    Marking as high priority bug (note that it was already being treated as such)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    I've just done a change to the update site (basically, the old versions of pydev were removed... if updating from http://www.fabioz.com/ the problem never happened -- and the only difference was that it didn't contain some really old versions)

    Also, I was able to reproduce following the exact same steps provided, and with this change it doesn't happen anymore.

    Note: I'm not sure if this will fix it for eclipse installations that already have pydev installed.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17
    • priority: 5 --> 9
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    Changing to pending state until someone else can confirm that it works...

     
  • lmno

    lmno - 2008-10-17

    I can confirm that this works on my setup. I have now installed pydev on an eclipse 3.4 installation and has successfully installed other plugins afterwards. I also tested this in a different eclipse installation with pydev already installed and could install other plugins there as well.

     
  • Michel Peterson

    Michel Peterson - 2008-10-17

    That fixed it. Well done :)

    Thanks!

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17
    • status: pending --> closed
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    Ok, closing bug.