Orpington Astronomical Society

Back Room => Updates and Upsets => Topic started by: MarkS on Jan 18, 2008, 00:11:47

Title: Couldn't add picture to Gallery
Post by: MarkS on Jan 18, 2008, 00:11:47

I tried putting my Mars image (MDS_MARS_16JAN08.jpg) on the gallery.  It reported that the file uploaded O.K.:

Successful Uploads
1 uploads were successful.

But when I tried to add it to the gallery and hit "Continue" it complained:

The previous file could not be placed.
You have successfully placed all the files.

One other piece of information - it could not display the preview: http://gallery.orpington-astronomy.org.uk/albums/edit/preview_0cc8f6f7.jpg
Title: Re: Couldn't add picture to Gallery
Post by: Rick on Jan 18, 2008, 00:48:03
Hmmm... Weird. There are several versions of the file in your area:
-rw-r--r--   1 500      15010       11903 Jan 17 18:31 MDS_MARS_16JAN08.jpg
-rw-r--r--   1 500      15010       11903 Jan 17 19:01 MDS_MARS_16JAN08~0.jpg
-rw-r--r--   1 500      15010       11903 Jan 17 18:19 mds_mars_20081601.jpg
-rw-r--r--   1 500      15010       11903 Jan 17 18:24 mds_mars_20081601~0.jpg
-rw-r--r--   1 500      15010       11903 Jan 17 18:27 mds_mars_20081601~1.jpg

There's also one version in the edit area:
-rw-r--r--   1 500      15010       11903 Jan 17 19:07 mHTTP_temp_2fd35e17.jpg

Was the site being particularly slow at the time?
Title: Re: Couldn't add picture to Gallery
Post by: Rick on Jan 18, 2008, 01:01:18
Hmmm... Something's complaining:sh: line 1: /usr/bin/convert: No such file or directory
sh: line 1: /usr/bin/convert: No such file or directory
Title: Re: Couldn't add picture to Gallery
Post by: Rick on Jan 18, 2008, 01:10:45
Apparently PowWeb decided they'd move the ImageMagick package from /usr/bin/ to /usr/local/bin/ without actually bothering to tell anyone...  :roll:  :(

I've cleared away the strays, made the appropriate changes, and tested an upload. It seemed Ok. Let me know if it works for you, and let me know when they break it again...  :roll:
Title: Re: Couldn't add picture to Gallery
Post by: MarkS on Jan 18, 2008, 06:22:16

Thanks Rick.  That's done the trick.  I've uploaded it now. The multiple files resulted from the multiple attempts I made, including file renaming.