Hi,

I considered changing my user profile image to something new but then 
discovered having had a bad hair day :-) - so I tried to replace it with the 
original image I - with the same old file name. Obviously the old image is 
still on the machine - the repeated upload gets a new file name (_1.jpeg) and 
conversion fails.

This is what happens:

Name: exitValue
Value: 1
Name: command
Value: [/usr/bin/convert, -thumbnail, 240x240, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/conrad_1.jpg, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/_big_conrad_1.jpg]
Name: error
Value: convert: unable to open image 
`/opt/red5/webapps/openmeetings/upload/profiles/profile_1/conrad_1.jpg': Datei 
oder Verzeichnis nicht gefunden @ blob.c/OpenBlob/2480.convert: missing an 
image filename 
`/opt/red5/webapps/openmeetings/upload/profiles/profile_1/_big_conrad_1.jpg' @ 
convert.c/ConvertImageCommand/2838.
Name: process
Value: generateBatchThumbByWidth
Name: exitValue
Value: 0
Name: command
Value: [/usr/bin/convert, -thumbnail, 40x40, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/conrad_1.jpg, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/_chat_conrad_1.jpg]
Name: error
Value: 
Name: process
Value: generateBatchThumbByWidth
Name: exitValue
Value: 0
Name: command
Value: [/usr/bin/convert, -thumbnail, 126x126, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/conrad_1.jpg, 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1/_profile_conrad_1.jpg]
Name: error
Value: 
Name: process
Value: generateBatchThumbByWidth

SSHing to the server and manually deleting everything in 
/opt/red5/webapps/openmeetings/upload/profiles/profile_1 solved the problem. 
But that can't be a permanent solution. Something is fishy with the scripting.

Conrad

PS: It takes imagemagick a while (>30sec) to convert a simple 30k image on non 
mickimouse hardware. What is it doing? (making myself look younger and more 
handsome? Feature Request!!! :-)  )

Reply via email to