 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 20th, 2005, 09:59 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
| Error creating watermarked original! Error code: 1
Error creating watermarked original! Error code: 1
Watermarking has been working for months. Now it stopped. What did I do wrong?
|
| |
July 20th, 2005, 12:08 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
All of my users are getting errors when uploading to folders where watermarking is enabled. Here's the error from one of them:
Error creating watermarked original! Error code: 1
Command: "/usr/local/bin/composite" -compose over -gravity SouthEast /home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/watermark.png '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/Picture168.jpg' '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/Picture168.jpg'
|
| |
July 20th, 2005, 12:10 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
Also, is it normal for Photo Post to call the composite program if you're running ImageMagick like I am?
|
| |
July 20th, 2005, 12:42 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
I've tried running the command from the error as root from a shell on the server and I get the error:
composite: missing an image or filename
|
| |
July 20th, 2005, 12:51 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
Also, uploads to non-watermarked categories in PhotoPost work perfectly including the automatic generation of the thumbnail and medium images. This is only a watermarking issue. I am running PhotoPost 5.03 and intend to upgrade to the latest version after this watermarking issue is resolved. I own the server and have full root access, so I can test whatever. I just need help!
|
| |
July 20th, 2005, 12:52 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
My ImageMagick version is 6.2.3
|
| |
July 20th, 2005, 02:58 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Check to ensure the path to your watermark file is correct and the file itself exists.
composite is the watermark file for imagemagick yes.
|
| |
July 20th, 2005, 11:15 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
I have it set to:
/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/watermark.png
Should I leave the name of the watermark file, watermark.png, out of the full server path to watermark overlay image setting?
|
| |
July 20th, 2005, 11:20 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
Nope, taking the filename out didn't work. I think the filename belongs there. I have no idea what's wrong. Could the "." in the path be the problem?
|
| |
July 21st, 2005, 08:46 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
What I asked is does the file exist on the path your saying?
If you switch your image processor to GD2 does everything work?
|
| |
July 21st, 2005, 11:29 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
| Quote: |
Originally Posted by omegatron What I asked is does the file exist on the path your saying?
If you switch your image processor to GD2 does everything work? | Yes, the file exists in the path I have it set to. If I switch to GD2, nothing works. How do I check if GD2 is installed on my system? I'll start reading about GD2 on google.
|
| |
July 21st, 2005, 12:17 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Well the issue here is what has changed on your server that would cause this. Is your PNG library gone bad? Is composite bad?
Try making a gif watermark and seeing if watermarking works.
|
| |
July 21st, 2005, 03:35 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
I moved the website to a new dedicated server over a month ago. I installed ImageMagick and all seemed to be working, but we never tested uploading to one of the categories with watermarking enabled.
How do I tell if my PNG library is bad? When I run composite from command line, it displays the help text, so I assume its working. The watermark.png file is not corrupt. Here's a link to it: http://www.memphisracingscene.com/pp/watermark.png |
| |
July 21st, 2005, 04:01 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Okay well your first post said it was working for months now it is clearer so this issue just popped up after moving servers.
Well to test is png images work try uploading one to your install. I tried registering a username but I am in your moderation queue
|
| |
July 21st, 2005, 04:14 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
I approved your account.
I'll try to upload a png image and see if it processes them. Maybe my ImageMagick is screwed up. I'm running v6.2.3-4 right now on a Redhat 9.0 box.
|
| |
July 21st, 2005, 04:17 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
You may be right. I tried to upload watermark.png to the forum and got a different error:
Error creating thumbnail! Error code: 1
Command:
"/usr/local/bin/mogrify" +profile "*" -size 100x11 -quality 70 -geometry 100x11 '/home/httpd/vhosts/memphisracingscene.com/httpdocs/pp/data/574/thumbs/watermark.png'
... so I guess that means it can't handle .png files? Uh oh.
|
| |
July 21st, 2005, 04:19 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Yep your imagemagick does not support png images. Simply remove png as an acceptable image type and then convert your watermark to gif
or
Install the png libraries and then recompile imagemagick
|
| |
July 21st, 2005, 04:20 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
The version of ImageMagick (6.2.3) that I'm using is very new. Perhaps I should uninstall it and install an older version that has pre-built RPMs for my old-school Redhat 9 box.
A pre-built ImageMagick RPM (5.4.7) is available for Redhat 9 here: http://download.fedoralegacy.org/red...4.7-10.src.rpm
Before I can go down to an older version, I've got to successfully uninstall the newer version. I have no idea how to do that.
|
| |
July 21st, 2005, 04:20 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
I'd like to try to get PNG support working. Can I just install PNG libraries? Where do I find them?
|
| |
July 21st, 2005, 04:21 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 62
|
Basically, I know just enough about Linux to really mess everything up |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:13 AM. | |