[SOLVED] eps upload not working?

bpltom

Joined: 2014-01-21
Posts: 8
Posted: Tue, 2014-01-21 18:09

I cannot upload an eps file. When I try, I get an error saying: "Unable to process this photo". I have the epsupload module installed and ImageMagick is enabled, running Gallery v.3.09.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-01-22 01:46

Example image to test.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bpltom

Joined: 2014-01-21
Posts: 8
Posted: Wed, 2014-01-22 16:40

EPS files are now uploaded successfully. However, thumbnails and preview images are not generated for the EPS files. I clicked 'Rebuild Images' within Maintenance but got the following errors:

Unable to rebuild images for 'arrowicons 10'
exception 'Kohana_Exception' with message 'The file specified, /var/www/html/gallery/var/albums/arrowicons_10_rev0.eps, is not readable or is not an image' in /var/www/html/gallery/system/libraries/Image.php:92
Stack trace:
#0 /var/www/html/gallery/system/libraries/Image.php(56): Image_Core->__construct('/var/www/html/g...', NULL)
#1 /var/www/html/gallery/modules/gallery/helpers/gallery_graphics.php(102): Image_Core::factory('/var/www/html/g...')
#2 [internal function]: gallery_graphics_Core::resize('/var/www/html/g...', '/var/www/html/g...', Array, Object(Item_Model))
#3 /var/www/html/gallery/modules/gallery/helpers/graphics.php(171): call_user_func_array('gallery_graphic...', Array)
#4 /var/www/html/gallery/modules/gallery/helpers/gallery_task.php(111): graphics_Core::generate(Object(Item_Model))
#5 [internal function]: gallery_task_Core::rebuild_dirty_images(Object(Task_Model))
#6 /var/www/html/gallery/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::r...', Array)
#7 /var/www/html/gallery/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('2')
#8 [internal function]: Admin_Maintenance_Controller->run('2')
#9 /var/www/html/gallery/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#10 [internal function]: Admin_Controller->__call('maintenance', Array)
#11 /var/www/html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#12 [internal function]: Kohana_Core::instance(NULL)
#13 /var/www/html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#14 /var/www/html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#15 /var/www/html/gallery/index.php(116): require('/var/www/html/g...')
#16 {main}

Unable to rebuild images for 'partytime18roadtrip'
exception 'Kohana_Exception' with message 'The file specified, /var/www/html/gallery/var/albums/partytime18roadtrip_rev0.eps, is not readable or is not an image' in /var/www/html/gallery/system/libraries/Image.php:92
Stack trace:
#0 /var/www/html/gallery/system/libraries/Image.php(56): Image_Core->__construct('/var/www/html/g...', NULL)
#1 /var/www/html/gallery/modules/gallery/helpers/gallery_graphics.php(102): Image_Core::factory('/var/www/html/g...')
#2 [internal function]: gallery_graphics_Core::resize('/var/www/html/g...', '/var/www/html/g...', Array, Object(Item_Model))
#3 /var/www/html/gallery/modules/gallery/helpers/graphics.php(171): call_user_func_array('gallery_graphic...', Array)
#4 /var/www/html/gallery/modules/gallery/helpers/gallery_task.php(111): graphics_Core::generate(Object(Item_Model))
#5 [internal function]: gallery_task_Core::rebuild_dirty_images(Object(Task_Model))
#6 /var/www/html/gallery/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::r...', Array)
#7 /var/www/html/gallery/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('2')
#8 [internal function]: Admin_Maintenance_Controller->run('2')
#9 /var/www/html/gallery/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#10 [internal function]: Admin_Controller->__call('maintenance', Array)
#11 /var/www/html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#12 [internal function]: Kohana_Core::instance(NULL)
#13 /var/www/html/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#14 /var/www/html/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#15 /var/www/html/gallery/index.php(116): require('/var/www/html/g...')
#16 {main}

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-01-22 18:07

I have never used the module so;

floridave wrote:
Example image to test.

Quote:
I don't think it will work with GD as a image toolkit verify you are using IM as a toolkit.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bpltom

Joined: 2014-01-21
Posts: 8
Posted: Wed, 2014-01-22 19:59

Gallery3 does not seem to recognize ImageMagick. I get the following error:

Quote:
ImageMagick is installed, but PHP's open_basedir restriction prevents Gallery from using it.

Is this issue related to this: http://sourceforge.net/apps/trac/gallery/ticket/1842

 
bpltom

Joined: 2014-01-21
Posts: 8
Posted: Thu, 2014-01-23 19:11

I got it working. ImageMagick was not installed properly.