error in opening zip file

  • Asked
  • Active
  • Viewed 6585 times
0

Hi all, I have a problem with importing a .collect-data file exported from Collect mobile. It worked for different tablets, but the recent export from one tablet gives me an error "error in opening zip file" (the last export two days ago from the same tablet worked fine). The exports are quite big (>700MB). I can open the archive with 7 zip without problems, but Collect has a problem. Is it simply too big (but I imported bigger ones already)?

The log says: 2018-03-27 16:33:22 ERROR org.openforis.collect.io.data.DataRestoreSummaryJob - Error running worker (status: PENDING): error in opening zip file java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at org.openforis.collect.io.ZipFileExtractor.<init>(ZipFileExtractor.java:23) at org.openforis.collect.io.BackupFileExtractor.<init>(BackupFileExtractor.java:23) at org.openforis.collect.io.data.DataRestoreBaseJob.validateInput(DataRestoreBaseJob.java:94) at org.openforis.concurrency.Worker.initialize(Worker.java:37) at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:105) at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:95) at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:90) ...

Thank you, Lutz

0

Accepted answer

Dear Lutz,
Can it be a problem of low free sbace in your hard drive?
We will contact you to your private email address so (maybe) you can share with us this data file.
Many thanks,
Open Foris Team

0

Accepted answer

Here my own answer to the problem, thanks to support:

The download directory on the tablet was full! Collect Mobile showed no error message during export, but we realized that the collect-data file became smaller for recent exports. The reason is that additional .xml files are written (for new plot data), but image file (we take two photos per plot) not. Then the number of Photos is not matching the number of plots and Collect gives an error. Problem solved!

0

Accepted answer

Dear Lutz,
In the latest version of Collect Mobile you will see an error message in a proper alert dialog with some additional details.
The previous version was showing an error but in a "toast" in the bottom of the screen for only a bunch of seconds...! So it was quite difficult to get it...
Let us know if you have any other issues, thanks.
Open Foris Team

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.

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.