Page 1 of 1
Export failed error
Posted: Sat Jun 05, 2010 1:08 am
by gazoo
I'm try to download a group of videos of a few events, so I checked the events and chose to export..but I always get an export failed error..that's it. Are there any common things to try to fix this?
Posted: Mon Jun 14, 2010 1:47 am
by jhetrick62
Were you attempting to export this video in "zip" format or "tar" format? In zip, mine won't export either, but in tar it will so i'm guessing there is an issue with the library used to zip the file or the command itself, I haven't gotten that far.
Try it in "tar" archived format.
Jeff
SOLVED - Export of zip files
Posted: Mon Jun 14, 2010 2:09 am
by jhetrick62
Ok. SOLVED at least for ZM on Ubuntu 10.04 lucid - x64 kernel. The export when checking the "zip" format was failing as there was no package to provide the zip service installed. I installed the package "zip" using aptitude and it worked after that.
I suspect if you are using a different distro, install the package that will provide use of the command "zip" and it will work for you.
Jeff
Continuing Issues
Posted: Tue Jun 15, 2010 6:24 am
by camroidv27
I have the same problem, and I do have the ZIP packages installed. Ubuntu 10.04, Zoneminder 1.24.2. Anyhow, I am able to export files on the local machine that ZM is running on, but on a remote machine, I am unable to do so. I did the "export permissions fix" as told in the documentation from using a .DEB package installation. Below are my logs of a video viewing event, followed by a file export event.
Code: Select all
[Mon Jun 14 23:08:58 2010] [error] [client 192.168.0.18] SQL-ERROR(ACFA47): select E.*,M.Name as MonitorName,M.Width,M.Height,M.DefaultRate,M.DefaultScale from Events as E inner join Monitors as M on E.MonitorId = M.Id where E.Id = undefined, referer: http://192.168.0.4:7290/zm/index.php?view=event&eid=21&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=2&sort_field=StartTime&sort_asc=1&page=1
[Mon Jun 14 23:08:58 2010] [error] [client 192.168.0.18] SQL-ERROR(ACFA47): Unknown column 'undefined' in 'where clause', referer: http://192.168.0.4:7290/zm/index.php?view=event&eid=21&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=2&sort_field=StartTime&sort_asc=1&page=1
[Mon Jun 14 23:08:58 2010] [error] [client 192.168.0.18] File does not exist: /var/www/favicon.ico
Code: Select all
[Mon Jun 14 23:22:47 2010] [error] [client 192.168.0.18] No event id(s) supplied, referer: http://192.168.0.4:7290/zm/index.php?view=export&eid=undefined
[Mon Jun 14 23:22:47 2010] [error] [client 192.168.0.18] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/event.php',\n 'line' => 5,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'No event id(s) supplied',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/event.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.0.4:7290/zm/index.php?view=export&eid=undefined
Any ideas?
Posted: Tue Jun 15, 2010 6:33 am
by camroidv27
It seems that in Google Chrome (on Windows) it did not want to export. Using Firefox (on a seperate linux box) seemed to export fine. IE didn't want to display images live, but it did export properly. Go figure, a browser war issue?
Posted: Tue Jun 15, 2010 10:41 am
by jhetrick62
You have a couple of issues it seems. Did you properly install Cambozola for the live IE viewing? I have not tested Chrome as I don't us it, but both IE and FF work on Windows and Forefox on linux.
Chrome is the problem
Posted: Sat Jun 19, 2010 5:15 pm
by tim.bze
I had the same problem, export failed... with Google Chrome. After reading the comments in this post I tried IE6, works perfect. Thanks!