Bug#684604: Fwd: [Bug 1075747] Re: Pydev workspaces become corupted after loading them without Pydev installed

Niels Thykier niels at thykier.net
Sun Jan 27 13:47:25 UTC 2013


Hi,

I noticed a related bug in the Ubuntu bug tracker.  It might not be
quite the same issue afaict, but it does suggest that workspace can
become "corrupted".  This could explain why a eclipse starts with a
"clean workspace", but not with the original one.

~Niels

https://bugs.launchpad.net/bugs/1075747

-------- Original Message --------
Subject: [Bug 1075747] Re: Pydev workspaces become corupted after
loading them without Pydev installed
[...]

** Description changed:

- When a workspace synced using Ubuntu One is selected, Eclipse is unable
- to initiate.
+ STEPS FOR REPRODUCING
+ *************************
+
+ Warning: This procedure will remove all your Eclipse's add-ons.
+
+ 1. Switch to a new and never used workspace by using the provider
+ functionality at the “File/Switch workspace/Other...” menu.
+
+ 2. Install Pydev from http://pydev.org/updates by using the provided
+ functionality at the “Help/Install new software” menu.
+
+ 3. Create a new Pydev project.
+
+ 4. Close Eclipse.
+
+ 5. Delete the folder named “.eclipse” in your personal folder. If you
+ don't see it, you can show it by going to the
+ “Edit/Preferences/Views/Default view” menu in the file explorer, and by
+ marking the “Show the hidden and backup folders” option.
+
+ 6. Restart Eclipse and choose the workspace you created in the
+ beginning.
+
+ EXPECTED BEHAVIOUR
+ **********************
+
+ The  workspace to initiate.
+
+ REAL BEHAVIOUR
+ *****************
+
+ Eclipse hangs and the workspace becomes corrupted, and can never be
+ opened again.
+
+ WORKAROUNDS
+ ****************
+
+ >> For starting Eclipse at first run preventing your Pydev workspace to
+ become corrupted:
+
+ 1. Start Eclipse by choosing a workspace never used.
+
+ 2. Install Pydev.
+
+ 3. Close Eclipse.
+
+ 4. Delete the workspace you have just created.
+
+ >> For recovering a broken workspace:
+
+ 1. Close Eclipse.
+
+ 2. Rename the workspace to [workspace-name].back
+
+ 3. Create a folder called [workspace-name]
+
+ 4. Open Eclipse and choose [workspace-name] as workspace.
+
+ 5. Import [workspace-name].back projects into the current workspace by
+ right-clicking on the Project Explorer section and choosing “Import...”.
+ They should be imported as filesystem.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: eclipse-platform 3.8.0~rc4-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic i686
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Tue Nov  6 22:22:58 2012
  InstallationDate: Installed on 2012-11-03 (3 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386
(20121017.2)
  MarkForUpload: True
  SourcePackage: eclipse
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  STEPS FOR REPRODUCING
- *************************
+ *********************

  Warning: This procedure will remove all your Eclipse's add-ons.

  1. Switch to a new and never used workspace by using the provider
  functionality at the “File/Switch workspace/Other...” menu.

  2. Install Pydev from http://pydev.org/updates by using the provided
  functionality at the “Help/Install new software” menu.

  3. Create a new Pydev project.

  4. Close Eclipse.

  5. Delete the folder named “.eclipse” in your personal folder. If you
  don't see it, you can show it by going to the
  “Edit/Preferences/Views/Default view” menu in the file explorer, and by
  marking the “Show the hidden and backup folders” option.

  6. Restart Eclipse and choose the workspace you created in the
  beginning.

  EXPECTED BEHAVIOUR
- **********************
+ ******************

  The  workspace to initiate.

  REAL BEHAVIOUR
- *****************
+ **************

  Eclipse hangs and the workspace becomes corrupted, and can never be
  opened again.

  WORKAROUNDS
- ****************
+ ***********

  >> For starting Eclipse at first run preventing your Pydev workspace to
  become corrupted:

  1. Start Eclipse by choosing a workspace never used.

  2. Install Pydev.

  3. Close Eclipse.

  4. Delete the workspace you have just created.

  >> For recovering a broken workspace:

  1. Close Eclipse.

  2. Rename the workspace to [workspace-name].back

  3. Create a folder called [workspace-name]

  4. Open Eclipse and choose [workspace-name] as workspace.

  5. Import [workspace-name].back projects into the current workspace by
  right-clicking on the Project Explorer section and choosing “Import...”.
  They should be imported as filesystem.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: eclipse-platform 3.8.0~rc4-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic i686
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Tue Nov  6 22:22:58 2012
  InstallationDate: Installed on 2012-11-03 (3 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386
(20121017.2)
  MarkForUpload: True
  SourcePackage: eclipse
  UpgradeStatus: No upgrade log present (probably fresh install)

[...]



More information about the pkg-java-maintainers mailing list