Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Problems checking out Photran source at PTP_5_0_4 tag level

Dave,

You could try updating to the latest Egit/Jgit versions. The update site is http://download.eclipse.org/egit/updates 

Greg

On Jan 12, 2012, at 8:37 PM, Dave Wootton wrote:


I'm trying to extract PTP and Photran source at the PTP 5.0.4 level, and have extracted PTP 5.0.4 successfully. I cannot extract source from Photran at that level.
I selected Import->Git->Import projects from GIT and specified teh path of the Photran repository. If I select only the ptp_5_0 level to import, then it runs a while and then fails with an error

java.io.IOException: Could not delete file C:\Users\dave\git\org.eclipse.photran\.git\objects\pack\pack-2382b3341ca45d6f11110f4e8adf98abe9e6f297.pack
        at java.lang.Throwable.<init>(Throwable.java:67)
        at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:112)
        at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
        at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
        at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
        at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
        at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
        at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:306)
        at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:299)
        at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:261)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

If I try to import both the ptp_5_0 level and master level, then I get the same exception.

I have deleted my local photran repository and made sure the directory it resided in no longer existed then repeated the same import several times with the same result. When I try to delete the directory, I must exit eclipse before I can delete the directory. Otherwise I get an error message that the directory cannot be deleted because it is not empty, and when I check all files except this one are deleted. It appears something in Eclipse is holding an open file handle for this file, preventing it from being deleted.

Then I imported Photran source at only the master level and that completed successfully. I then selected one of the Photran plugins, right clicked, and selected Team->Switch and picked the PTP_5_0_4 tag from the list and clicked OK. That failed with an exception

org.eclipse.core.runtime.CoreException: The filename, directory name, or volume label syntax is incorrect.
        at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:86)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
        at org.eclipse.egit.core.op.BranchOperation.execute(BranchOperation.java:103)
        at org.eclipse.egit.ui.internal.branch.BranchOperationUI$1.run(BranchOperationUI.java:162)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: The filename, directory name, or volume label syntax is incorrect.
        at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:212)
        at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:84)
        ... 5 more
Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect.
        at java.io.File.checkAndCreate(File.java:1715)
        at java.io.File.createTempFile(File.java:1803)
        at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:941)
        at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:447)
        at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:380)
        at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:163)
        ... 6 more

This is with Eclipse 3.7 SR1, where I downloaded and installed a clean copy of this version just to make sure I didn't have any problems with interfering plugins.

This is preventing me from getting a copy of PTP 5.0.4 source.

This is with Windows 7 running 64 bit Java. I had similar problems earlier today on a different machine running Windows XP and 32 bit Java.

Any suggestions how to resolve this?

Thanks

Dave_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top