+profile '*' causing thumbnail creation errors

tulmad

Joined: 2004-10-31
Posts: 5
Posted: Sun, 2004-10-31 21:23

I'm having some issues with uploading new images to my gallery. This just started when I upgraded versions of ImageMagick, so I'm thinking it's that. I figured I'd post it here just to see if anyone has seen it or has a solution.

I enabled debugging in the configuration wizard, and I get this flood of errors:

Quote:
Processing status...

- Adding CRW_8475_JFR-2.jpg
   Resizing/compressing original image
   No resizing required
File /home/tim/public_html/gallery/albums/woj-oct2004/CRW_8475_JFR_2.jpg type 2.

Executing:
'/usr/pkg/bin/convert' -quality 95 -size 150x150 +profile '*' '/home/tim/public_html/gallery/albums/woj-oct2004/CRW_8475_JFR_2.jpg' -geometry 150x150 '/home/tim/public_html/gallery/albums/woj-oct2004/CRW_8475_JFR_2.thumb.jpg'

Results:
none

Debug messages::
convert: no decode delegate for this image format `add_photo.php'.
convert: no decode delegate for this image format `add_photos.php'.
convert: no decode delegate for this image format `add_photos_frame.php'.
html2ps: not found
convert: Delegate failed `"html2ps" -U -o "%o" "%i"'.
convert: no decode delegate for this image format `adv_search.php'.
convert: no decode delegate for this image format `album_permissions.php'.
convert: no decode delegate for this image format `albums.php'.
convert: Not a JPEG file: starts with 0x24 0x49.
convert: no decode delegate for this image format `block-random.php'.
convert: no decode delegate for this image format `captionator.php'.
convert: Not a JPEG file: starts with 0x32 0x30.
convert: no decode delegate for this image format `/var/tmp/magick-005063ad'.
convert: no decode delegate for this image format `config.php'.
convert: no decode delegate for this image format `configure.bat'.
convert: no decode delegate for this image format `configure.sh'.
convert: no decode delegate for this image format `copy_photo.php'.
convert: no decode delegate for this image format `create_user.php'.
convert: no decode delegate for this image format `delete_album.php'.
convert: no decode delegate for this image format `delete_photo.php'.
convert: no decode delegate for this image format `delete_user.php'.
convert: no decode delegate for this image format `do_command.php'.
convert: no decode delegate for this image format `edit_appearance.php'.
convert: no decode delegate for this image format `edit_caption.php'.
convert: no decode delegate for this image format `edit_field.php'.
convert: no decode delegate for this image format `edit_thumb.php'.
convert: no decode delegate for this image format `edit_watermark.php'.
convert: no decode delegate for this image format `extra_fields.php'.
convert: no decode delegate for this image format `gallery_remote.php'.
convert: no decode delegate for this image format `gallery_remote2.php'.
convert: no decode delegate for this image format `highlight_photo.php'.
convert: no decode delegate for this image format `index.php'.
convert: no decode delegate for this image format `init.php'.
convert: Not a JPEG file: starts with 0x7f 0x45.
convert: Improper image header `LICENSE.txt'.
convert: no decode delegate for this image format `login.php'.
convert: no decode delegate for this image format `manage_users.php'.
convert: no decode delegate for this image format `manifest.inc'.
convert: no decode delegate for this image format `modify_user.php'.
convert: no decode delegate for this image format `move_album.php'.
convert: no decode delegate for this image format `move_photo.php'.
convert: no decode delegate for this image format `multi_create_user.php'.
convert: no decode delegate for this image format `new_password.php'.
convert: no decode delegate for this image format `nls.php'.
convert: no decode delegate for this image format `photo_owner.php'.
convert: no decode delegate for this image format `poll_properties.php'.
convert: no decode delegate for this image format `poll_results.php'.
convert: no decode delegate for this image format `progress_uploading.php'.
convert: no decode delegate for this image format `publish_xp.php'.
convert: no decode delegate for this image format `publish_xp_docs.php'.
convert: Not a JPEG file: starts with 0x24 0x49.
convert: no decode delegate for this image format `register.php'.
convert: Not a JPEG file: starts with 0x46 0x6f.
convert: no decode delegate for this image format `rename_album.php'.
convert: no decode delegate for this image format `reset_votes.php'.
convert: no decode delegate for this image format `resize_photo.php'.
convert: no decode delegate for this image format `rotate_photo.php'.
convert: no decode delegate for this image format `rss.php'.
convert: no decode delegate for this image format `save_photos.php'.
convert: no decode delegate for this image format `search.php'.
convert: no decode delegate for this image format `secure.bat'.
convert: no decode delegate for this image format `secure.sh'.
convert: no decode delegate for this image format `session.php'.
convert: no decode delegate for this image format `slideshow.php'.
convert: no decode delegate for this image format `slideshow_low.php'.
convert: no decode delegate for this image format `sort_album.php'.
convert: no decode delegate for this image format `test.php'.
convert: Not a JPEG file: starts with 0x0a 0x2a.
convert: no decode delegate for this image format `upgrade_album.php'.
convert: no decode delegate for this image format `upgrade_users.php'.
convert: Not a JPEG file: starts with 0x24 0x49.
convert: no decode delegate for this image format `user_preferences.php'.
convert: no decode delegate for this image format `util.php'.
convert: no decode delegate for this image format `Version.php'.
convert: no decode delegate for this image format `view_album.php'.
convert: no decode delegate for this image format `view_comments.php'.
convert: no decode delegate for this image format `view_photo.php'.
convert: no decode delegate for this image format `view_photo_properties.php'.
convert: no decode delegate for this image format `watermark_album.php'.
convert: Not a JPEG file: starts with 0x24 0x49.

Status: 1 (expected 0)
Error: Unable to make thumbnail (0)
Need help? Look in the Gallery FAQ
No email sent as no valid email addresses were found

Now, if I run that convert command by hand in a shell, it gives me the same errors. If I take out that +profile '*' part, it runs fine (of course, giving me the error that the file doesn't exist because it doesn't). I'm guessing the shell is interpreting the * and is giving me all of those errors . Any ideas on how to fix it?

----
Gallery URL: http://gallery.madleet.com
Gallery version: 1.4.4-pl2
Apache version: 1.3.31-nb6
PHP version: 4.3.9-nb1
Graphics Toolkit: ImageMagick 6.1.2.3
Operating system: NetBSD 1.6.2