Error opening Collect Earth project file

  • Asked
  • Active
  • Viewed 6071 times
0

Dear support,

I get the following errors when I try to open a cep file I created in survey designer:

Error when importing the project file Error generating the kml file C:\Users\uimank\AppData\Roaming\CollectEarth (Access is denied)

I checked I should have rights to that folder. The cep file opens fine in Collect Earth before unzipping. But if I unzip it and add my own grid, or even if I just unzip and then zip it back again without making any changes, it fails to work. Could you please help me spot the problem, is it with my java settings or something else? The error log is here: https://drive.google.com/file/d/0B-XHMaAj-aWDTDctNnAwcW5FTjQ/view?usp=sharing

Thank you, Ulpu

0

Accepted answer

Ciao Ulpu,

It seems that the compression application you use is doing something unexpected. Ther is this message in the log that suggest the file is corrupted:

ERROR 2016-07-26 14:56:26,990 [main] org.openforis.collect.earth.app.desktop.EarthApp: Error when importing project file
net.lingala.zip4j.exception.ZipException: file header not found for given file name, cannot extract file
    at net.lingala.zip4j.core.ZipFile.extractFile(ZipFile.java:627)
    at net.lingala.zip4j.core.ZipFile.extractFile(ZipFile.java:587)
    at net.lingala.zip4j.core.ZipFile.extractFile(ZipFile.java:566)
    at org.openforis.collect.earth.app.service.EarthProjectsService.getProjectFolderName(EarthProjectsService.java:267)
    at org.openforis.collect.earth.app.service.EarthProjectsService.oldFormatFolderExists(EarthProjectsService.java:258)
    at org.openforis.collect.earth.app.service.EarthProjectsService.unzipContentsOnProjectFolder(EarthProjectsService.java:246)
    at org.openforis.collect.earth.app.service.EarthProjectsService.loadCompressedProjectFile(EarthProjectsService.java:237)
    at org.openforis.collect.earth.app.desktop.EarthApp.loadProjectIfDoubleClicked(EarthApp.java:439)
    at org.openforis.collect.earth.app.desktop.EarthApp.initializeServer(EarthApp.java:336)
    at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:95)

I would suggest that you re the grid files directly to the survey. You can do this in the Survey Designer using the Files section of the main tab:

alt text

Click the green button and then add a file of type grid!

alt text

0

Accepted answer

Thanks! I added the grid in Survey Designer and now it works. I used the usual way of zipping in Windows (Send to zipped folder) which has worked before though, so I wonder why it corrupts the file now.

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.