Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Idle process killed" error when converting to GIF #13

Open
marcoslm opened this issue Jun 23, 2020 · 5 comments
Open

"Idle process killed" error when converting to GIF #13

marcoslm opened this issue Jun 23, 2020 · 5 comments
Labels
bug Something isn't working format converting Issues related to file format converting

Comments

@marcoslm
Copy link

marcoslm commented Jun 23, 2020

I am getting that error when converting PNG / JPG image formats to GIF (Windows version).
I have simply added the Amiga IBrowse browser User-Agent (OnHeader = User-Agent: IBrowse / 2.4) in the section to convert PNG / WebP to GIF from the configuration file.
The first conversion seems to work, but the subsequent ones fail ("Idle process killed" and incomplete images sent to the Amiga).

I don't know if it's a problem with the "convert.exe" utility. I have been trying other solutions (other converters and scripts) but I get other errors like file not found (converted image). It gives the impression that the converted file is deleted before being sent to the client or may be I doing something wrong.

Thanks for your effort!
I hope this interesting project continues to move forward.

@atauenis
Copy link
Owner

Hello!

  1. How your webone.conf looks? You're simply added OnHeader=User-Agent: IBrowse/2.4 near OnHeader=User-Agent: Mozilla/3 or changed anything other too?
  2. Does the bug appear on all web sites or only on particular?
  3. Does the conversion work with something like Netscape Navigator 3?
  4. Does anything writes in console (like file not found or similar) or the ImageMagick (convert.exe) does not starting and thus gets killed as a zombie-process.

@atauenis atauenis added bug Something isn't working format converting Issues related to file format converting labels Jun 23, 2020
@marcoslm
Copy link
Author

  1. Yes, I did exactly that: added a line just after the Mozilla/3 line. Without changing anything else.
  2. All the sites I tried.
  3. I only tested with ibrowse 2.4 (Amiga m68k) and with Firefox 77.0.1 (Windows 10). No conversion problems with the latter.
  4. ImageMagick seems to be doing the conversion, the problem is later when sending. Here is an example:

22:35:57.365+0 >GET http://media.demozoo.org/screens/s/31/9b/042a.jw45957.png (192.168.1.90)
22:35:57.365+0 >Downloading content...
22:35:57.365+1681256 Add response header: Content-Type: image/gif
22:35:57.365+1685306 200 OK. Body 16K of image/png [Wants convert].
22:35:57.365+2114989 Converting: convert tempconvert-1825601755.orig.tmp gif:- ...
22:35:57.365+2117382 <Send image/gif stream.
22:35:55.873+25250163 <Done.
22:35:57.365+17420005 Idle process killed.

Since there are no problems with Firefox 77, it may have something to do with the behavior of IBrowse 2.4 (it works well with direct connection, without the webone proxy). I will try a newer version of IBrowse these days.

@atauenis
Copy link
Owner

What is in TemporaryDirectory option in config file? Converting: convert tempconvert-1825601755.orig.tmp gif:- ... should look like Converting: convert c:\temp\convert-1825601755.orig.tmp gif:- ... if WebOne correctly detecting temporary directory path.

Try set TemporaryDirectory=C:\Users\windows user name\Application Data\Temp (or to any other real directory) and then try again with IBrowse.

@marcoslm
Copy link
Author

Oh, sorry. Later I changed the path of the temporary and log directory (just to try if this solved the problem).
I have restored the original configuration again and as you can see, the path of the temporary directory does not seem to be involved in this possible bug.

18:26:21.610+0 >GET http://1.bp.blogspot.com/-pd60h7uiqU0/XOvhYSya5KI/AAAAAAAAqCw/tkPbmqpsfWcZUWr2aRmVEnxZlPL1zteUgCLcBGAs/s640/RyGAR.png (192.168.1.90)
18:26:21.610+0 >Downloading content...
18:26:21.610+1580038 Add response header: Content-Type: image/gif
18:26:21.610+1584590 200 OK. Body 353K of image/png [Wants convert].
18:26:21.610+3913587 Converting: convert C:\Users\Marcos\AppData\Local\Temp\convert-1428294980.orig.tmp gif:- ...
18:26:21.610+3917173 <Send image/gif stream.
18:26:21.610+19263698 Idle process killed.

@atauenis
Copy link
Owner

atauenis commented Jul 5, 2020

Hmm... Can you use Wireshark or something to find difference between IBrowse and Firefox on HTTP/TCP traffic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working format converting Issues related to file format converting
Projects
None yet
Development

No branches or pull requests

2 participants