Hi Ahmed,

It sounds like the Zip file (sitewide-aip.zip) may have gotten corrupted 
in some way. Are you able to open it up or unzip it manually (using 
something like 7-zip or WinZip) to see the contents?

You could also try re-exporting the sitewide-aip.zip file to see if it 
regenerates properly.

If you have important info in the sitewide-aip.zip that you need to 
restore, it also may be possible to repair the damaged Zip file (if 
necessary).

- Tim


On 5/22/2012 2:16 PM, Ahmed Maher wrote:
> i use AIP backup & Restore
>
> when running the restore command
>
> ./dspace packager -r -a -f -t AIP -e [email protected]
> <mailto:[email protected]> -i 123456789/0 sitewide-aip.zip
>
> i have this Exception  error :
>
> java.util.zip.ZipException: error in opening zip file
>          at java.util.zip.ZipFile.open(Native Method)
>          at java.util.zip.ZipFile.<init>(ZipFile.java:131)
>          at java.util.zip.ZipFile.<init>(ZipFile.java:148)
>          at
> org.dspace.content.packager.AbstractMETSIngester.parsePackage(AbstractMETSIngester.java:327)
>          at
> org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1087)
>          at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241)
>          at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>          at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>          at org.dspace.app.packager.Packager.replace(Packager.java:726)
>          at org.dspace.app.packager.Packager.main(Packager.java:373)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:616)
>          at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> java.util.zip.ZipException: error in opening zip file
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to