Thread: [Rabbit-proxy-users] Rabbit on Windows 2000 / Convert Error
Brought to you by:
ernimril
|
From: Brett H. <bh...@ht...> - 2004-01-07 05:55:37
|
I have installed rabbit proxy tonight on a windows 2000 machine and it is running fine, but it is failing to convert images. I downloaded and installed the ImageMagick package and it runs fine from command line. When rabbit attempts to pass an image to convert.exe, however, I get error=123. It seems like the problem is the output from the $filename variable. The slashes need to go the other way to work on windows platform. Is there a way I can make this change? I will paste a couple of lines from my error_log below. [07/Jan/2004:05:23:18 GMT][MSG][Configuration loaded, ready for action.] [07/Jan/2004:05:23:18 GMT][MSG][Started] [07/Jan/2004:05:24:43 GMT][WARN][Error writing request:java.io.IOException: CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten /c:/program files/rabbit/rcache\temp\382 jpeg:/c:/program files/rabbit/rcache\temp\382.c error=123] [07/Jan/2004:05:24:43 GMT][WARN][Error writing request:java.io.IOException: CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program files/rabbit/rcache\temp\385.c error=123] [07/Jan/2004:05:24:44 GMT][WARN][Error writing request:java.io.IOException: CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten /c:/program files/rabbit/rcache\temp\388 jpeg:/c:/program files/rabbit/rcache\temp\388.c error=123] |
|
From: xxx x. <adm...@ph...> - 2004-01-12 16:22:20
|
I had experienced and had written to Mr.Olofsson regarding my observation = about the strange behavior of Rabbit when run in a win32 machine. Initiall= y it was on the broken images(they only appear as x) on some particular web= sites (yahoo is one)if compression is enabled. I tried tracing the problem = to the cache mechanism or storage and retrieval. If I set the cache size to= zero and time also everything seems to function normally. Now on the case = of imagemagick I had made some analysis but later abondoned my it coz i was= busy. But initially I think it was a case of mutual incompatability of ima= gemagick and Rabbit on a win32 platform (even renaming the convert to somet= hing else due to NT convert.exe). One thing that i had noticed though this = bad conversion stuff did not happen when I was testing an olderverion or Ra= bbit and Imagemagick.. I maybe wrong but I would like to hear from others a= lso as i am planning to start tinkiring with Rabbit Proxy. Frankly its good= . It would be perfect though if its processing and features would work as w= ell as in its Unice counterpart.=20 PS. I also tried using Cygwin environment and still the same. _____________________________________________________________ MAIL FROM PARADISE http://www.philippines.to |
|
From: Robert O. <d9...@na...> - 2004-01-07 07:20:22
|
On Wed, 7 Jan 2004, Brett Hays wrote: > I have installed rabbit proxy tonight on a windows 2000 machine and it is > running fine, but it is failing to convert images. I downloaded and > installed the ImageMagick package and it runs fine from command line. When > rabbit attempts to pass an image to convert.exe, however, I get error=123. > > It seems like the problem is the output from the $filename variable. The > slashes need to go the other way to work on windows platform. Is there a > way I can make this change? I will paste a couple of lines from my > error_log below. > .... > [07/Jan/2004:05:24:43 GMT][WARN][Error writing request:java.io.IOException: > CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten > /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program > files/rabbit/rcache\temp\385.c error=123] Hmmm, mixing / and \ is probably not a good idea. Windows normally accepts / as directory separator if its the only separator. What does your config say about cache dir and about convert? Probably a bug in RabbIT, but may be easy to go around with config changes. I do not have access to any windows machine where I can try so please helpt me fix it... /robo |
|
From: Brett H. <br...@ht...> - 2004-01-07 07:26:52
|
Here's what I have in rabbit.conf for convert convert=/c:/Program Files/convert/convert.exe Here's what I have for cache dir # The base directory for the cache. directory=/c:/program files/rabbit/rcache ----- Original Message ----- From: "Robert Olofsson" <d9...@na...> To: "Brett Hays" <bh...@ht...> Cc: <rab...@li...> Sent: Wednesday, January 07, 2004 2:20 AM Subject: Re: [Rabbit-proxy-users] Rabbit on Windows 2000 / Convert Error > On Wed, 7 Jan 2004, Brett Hays wrote: > >> I have installed rabbit proxy tonight on a windows 2000 machine and it is >> running fine, but it is failing to convert images. I downloaded and >> installed the ImageMagick package and it runs fine from command line. >> When >> rabbit attempts to pass an image to convert.exe, however, I get >> error=123. >> >> It seems like the problem is the output from the $filename variable. The >> slashes need to go the other way to work on windows platform. Is there a >> way I can make this change? I will paste a couple of lines from my >> error_log below. >> .... >> [07/Jan/2004:05:24:43 GMT][WARN][Error writing >> request:java.io.IOException: >> CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten >> /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program >> files/rabbit/rcache\temp\385.c error=123] > > Hmmm, mixing / and \ is probably not a good idea. Windows normally > accepts / as directory separator if its the only separator. > What does your config say about cache dir and about convert? > > Probably a bug in RabbIT, but may be easy to go around with config > changes. > > I do not have access to any windows machine where I can try so please > helpt me fix it... > > /robo > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > |
|
From: Robert O. <d9...@na...> - 2004-01-07 21:08:56
|
On Wed, 7 Jan 2004, Brett Hays wrote: > Here's what I have in rabbit.conf for convert > convert=/c:/Program Files/convert/convert.exe > > Here's what I have for cache dir > directory=/c:/program files/rabbit/rcache Ok, why the initial slash? why forward slashes on a windows machine? can you try to change it to convert=c:\Program Files\convert\convert.exe and directory=c:\Program Files\rabbit\cache > >> .... > >> [07/Jan/2004:05:24:43 GMT][WARN][Error writing > >> request:java.io.IOException: > >> CreateProcess: /c:/Program Files/convert/convert.exe -quality 10 -flatten > >> /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program > >> files/rabbit/rcache\temp\385.c error=123] Ok, rabbit does use the file systems directory separator, but you have given forward slashes, this may confuse rabbit and/or windows. /robo |
|
From: Brett H. <br...@ht...> - 2004-01-08 06:25:48
|
This is the result with all back slashes: [08/Jan/2004:06:25:00 GMT][MSG][Configuration loaded, ready for action.] [08/Jan/2004:06:25:00 GMT][MSG][Started] [08/Jan/2004:06:25:33 GMT][MSG][unable to parse expire date: '-1' for URI: 'http://www.msn.com/'] [08/Jan/2004:06:25:35 GMT][WARN][Error writing request:java.io.IOException: CreateProcess: \c:\Program Files\convert\convert.exe -quality 10 -flatten \c:\program files\rabbit\rcache\temp\462 jpeg:\c:\program files\rabbit\rcache\temp\462.c error=123] [08/Jan/2004:06:25:35 GMT][WARN][Error writing request:java.io.IOException: CreateProcess: \c:\Program Files\convert\convert.exe -quality 10 -flatten \c:\program files\rabbit\rcache\temp\465 jpeg:\c:\program files\rabbit\rcache\temp\465.c error=123] ----- Original Message ----- From: "Robert Olofsson" <d9...@na...> To: "Brett Hays" <br...@ht...> Cc: <rab...@li...> Sent: Wednesday, January 07, 2004 4:08 PM Subject: Re: [Rabbit-proxy-users] Rabbit on Windows 2000 / Convert Error > On Wed, 7 Jan 2004, Brett Hays wrote: > >> Here's what I have in rabbit.conf for convert >> convert=/c:/Program Files/convert/convert.exe >> >> Here's what I have for cache dir >> directory=/c:/program files/rabbit/rcache > > Ok, why the initial slash? why forward slashes on a windows machine? > can you try to change it to > convert=c:\Program Files\convert\convert.exe > > and > > directory=c:\Program Files\rabbit\cache > >> >> .... >> >> [07/Jan/2004:05:24:43 GMT][WARN][Error writing >> >> request:java.io.IOException: >> >> CreateProcess: /c:/Program Files/convert/convert.exe -quality >> >> 10 -flatten >> >> /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program >> >> files/rabbit/rcache\temp\385.c error=123] > > Ok, rabbit does use the file systems directory separator, but you > have given forward slashes, this may confuse rabbit and/or windows. > > /robo > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > |
|
From: Brett H. <br...@ht...> - 2004-01-08 06:32:50
|
Ok, I took out the first slash. Seems to be past the problem with finding the files...now I am getting bad conversion errors. Anyone know what causes those? [08/Jan/2004:06:30:44 GMT][MSG][Configuration loaded, ready for action.] [08/Jan/2004:06:30:44 GMT][MSG][Started] [08/Jan/2004:06:31:06 GMT][WARN][expire date in the past: '0'] [08/Jan/2004:06:31:06 GMT][WARN][expire date in the past: '0'] [08/Jan/2004:06:31:07 GMT][WARN][Bad conversion: c:\program files\rabbit\rcache\temp\550] [08/Jan/2004:06:31:07 GMT][WARN][Bad conversion: c:\program files\rabbit\rcache\temp\545] [08/Jan/2004:06:31:07 GMT][WARN][Bad conversion: c:\program files\rabbit\rcache\temp\543] [08/Jan/2004:06:31:07 GMT][WARN][Bad conversion: c:\program files\rabbit\rcache\temp\544] [08/Jan/2004:06:31:22 GMT][MSG][unable to parse expire date: '-1' for URI: 'http://www.msn.com/'] ----- Original Message ----- From: "Robert Olofsson" <d9...@na...> To: "Brett Hays" <br...@ht...> Cc: <rab...@li...> Sent: Wednesday, January 07, 2004 4:08 PM Subject: Re: [Rabbit-proxy-users] Rabbit on Windows 2000 / Convert Error > On Wed, 7 Jan 2004, Brett Hays wrote: > >> Here's what I have in rabbit.conf for convert >> convert=/c:/Program Files/convert/convert.exe >> >> Here's what I have for cache dir >> directory=/c:/program files/rabbit/rcache > > Ok, why the initial slash? why forward slashes on a windows machine? > can you try to change it to > convert=c:\Program Files\convert\convert.exe > > and > > directory=c:\Program Files\rabbit\cache > >> >> .... >> >> [07/Jan/2004:05:24:43 GMT][WARN][Error writing >> >> request:java.io.IOException: >> >> CreateProcess: /c:/Program Files/convert/convert.exe -quality >> >> 10 -flatten >> >> /c:/program files/rabbit/rcache\temp\385 jpeg:/c:/program >> >> files/rabbit/rcache\temp\385.c error=123] > > Ok, rabbit does use the file systems directory separator, but you > have given forward slashes, this may confuse rabbit and/or windows. > > /robo > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > |