Windows version cant run. #94

Closed
opened 2021-04-25 19:59:06 +00:00 by josch · 1 comment
Owner

By Maycon Ghizzi on 2021-04-10T19:46:50.683Z

I have a dev env. running w10 and need test, but version in appveyor give a error: image

I dont have skills with python, in server with linux works great, but i need test local. Any help?


By josch on 2021-04-11T05:03:30.816Z


Unfortunately I cannot be of help because I do not have any computer with windows on it and the error message does not say anything useful. Maybe somebody else knows what's going on and can write the solution here?


By Maycon Ghizzi on 2021-04-11T14:17:43.371Z


thanks. I use pyinstaller and compile a img2pdf.exe, works fine now.


By Maycon Ghizzi on 2021-04-11T14:20:02.180Z


but i think the error is when try convert png with channel alpha.
With compiled version give this error:
image

With jpg files or png without alpha works.


By josch on 2021-04-11T17:27:36.052Z


So if you try the precompiled version from appveyor with jpg files or png files without alpha channel then you do not get the error?


By josch on 2021-04-12T04:53:30.700Z


I added a commit that might fix the problem with the builds from appveyor. Could you test if the "fatal error" message is gone now?


By Maycon Ghizzi on 2021-04-12T15:05:47.837Z


With last version, same error: (png and jpg)
image


By josch on 2021-04-12T16:35:12.570Z


But you said the error would only be thrown for pngs with transparency. Why now also with jpegs?


By Maycon Ghizzi on 2021-04-12T16:39:03.897Z


With appveyor version, always give this error. So i compile using pyinstaller and they work with jpg, but error with png(with alpha channels).

*By Maycon Ghizzi on 2021-04-10T19:46:50.683Z* I have a dev env. running w10 and need test, but version in appveyor give a error: ![image](/uploads/224fcb298fcd854c01f57828d8d69e58/image.png) I dont have skills with python, in server with linux works great, but i need test local. Any help? --- *By josch on 2021-04-11T05:03:30.816Z* --- Unfortunately I cannot be of help because I do not have any computer with windows on it and the error message does not say anything useful. Maybe somebody else knows what's going on and can write the solution here? --- *By Maycon Ghizzi on 2021-04-11T14:17:43.371Z* --- thanks. I use pyinstaller and compile a img2pdf.exe, works fine now. --- *By Maycon Ghizzi on 2021-04-11T14:20:02.180Z* --- but i think the error is when try convert png with channel alpha. With compiled version give this error: ![image](/uploads/c6526e241c1528181010eaeaf321b137/image.png) With jpg files or png without alpha works. --- *By josch on 2021-04-11T17:27:36.052Z* --- So if you try the precompiled version from appveyor with jpg files or png files without alpha channel then you do not get the error? --- *By josch on 2021-04-12T04:53:30.700Z* --- I added a commit that might fix the problem with the builds from appveyor. Could you test if the "fatal error" message is gone now? --- *By Maycon Ghizzi on 2021-04-12T15:05:47.837Z* --- With last version, same error: (png and jpg) ![image](/uploads/a3364361e7c23b6b67ef1e97f5b766e3/image.png) --- *By josch on 2021-04-12T16:35:12.570Z* --- But you said the error would only be thrown for pngs with transparency. Why now also with jpegs? --- *By Maycon Ghizzi on 2021-04-12T16:39:03.897Z* --- With appveyor version, always give this error. So i compile using pyinstaller and they work with jpg, but error with png(with alpha channels).
Author
Owner

Closing due to inactivity.

Closing due to inactivity.
josch closed this issue 2022-09-23 20:38:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: josch/img2pdf#94
No description provided.