Export ZIP problem

Support and queries relating to all previous versions of ZoneMinder
Locked
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

Export ZIP problem

Post by Alan87i »

When I export as a tar file all is fine but when I try ZIP I get this error.

Warning: opendir(events/Cam2/4951) [function.opendir]: failed to open dir: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 198


Export Failed

I'm setting this up for a friend and he is a windows user.
Thanks for any ideas.
Allan
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

You're better off fixing your problem locally, in the long run, but WinRAR doesn't mind .zip, .tar, etc.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

Do you have zip installed and enabled?
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

Post by Alan87i »

Yes
I forgot to mention I'm running Ubuntu 8.04 zip works fine just not when I export with Zoneminder
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

Uploaded events may be stored in either .tar or .zip format, this option specifies which. Note that to use this you will need to have the Archive::Tar and/or Archive::Zip perl modules installed.
Do you have zip perl modules installed, or just zip?
Alan87i
Posts: 116
Joined: Sun Jul 27, 2008 9:58 am

Post by Alan87i »

Yes I just checked and the lib perl module for tar and zip are installed.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

This Happen to me also Check To see if you have a symlink for each cam in event directory Ex Cam link to folder 1
zlatan24
Posts: 1
Joined: Sun Feb 27, 2011 4:53 pm
Location: USA

Re: Export ZIP problem

Post by zlatan24 »

Alan87i wrote:When I export as a tar file all is fine but when I try ZIP I get this error.

Warning: opendir(events/Cam2/4951) [function.opendir]: failed to open dir: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 198


Export Failed

I'm setting this up for a friend and he is a windows user.
Thanks for any ideas.
Allan
Zip files are very popular everywhere. Not so long ago I dug up a program which can resolve like problems - fix zip error.
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

Can you please stop re-opening two year old threads? The original poster has long since resolved their problem.
Locked