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

asked 26 Jul '16, 14:55

ulpu's gravatar image

ulpu
232911
accept rate: 0%


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

permanent link

answered 26 Jul '16, 17:02

collectearth's gravatar image

collectearth ♦
1.0k16
accept rate: 17%

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.

permanent link

answered 27 Jul '16, 09:06

ulpu's gravatar image

ulpu
232911
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×284

question asked: 26 Jul '16, 14:55

question was seen: 4,705 times

last updated: 27 Jul '16, 09:06