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

Output empty when Exe Icon/Window Icon fill with png icon #123

Open
aegin opened this issue Mar 22, 2016 · 4 comments
Open

Output empty when Exe Icon/Window Icon fill with png icon #123

aegin opened this issue Mar 22, 2016 · 4 comments

Comments

@aegin
Copy link

aegin commented Mar 22, 2016

Hi Jyapayne, thanks for your web2executable tool.
I tried using version 0.4.3b for Windows, then i fill in the Exe Icon field with 48 Pixel png icon, after export my app not found except nw.exe.
I tried with blank Exe icon field then app can created..
whats wrong with my png icon..? thanks.

@jyapayne
Copy link
Collaborator

Hmm, interesting. This issue seems to keep popping up. What is your Windows version? Also, can you post the contents of the error log here? (Located at C:\Users\AppData\Local\Web2Executable\Web2Executable\files)

@aegin
Copy link
Author

aegin commented Mar 22, 2016

i use windows 8 operating system and error log shown bellow..
.....
Error recieved: [WinError 5] Access is denied: '\?\H:\Web2ExeWin\test\output\test'
Copying files to H:\Web2ExeWin\test
INFO 2016-03-22 23:42:23,513 command_line.py: 942 copy_files_to_project_folder - Copying files to H:\Web2ExeWin\test
Generating package.json...
INFO 2016-03-22 23:42:23,513 command_line.py: 490 generate_json - Generating package.json...
Generating package.json...
INFO 2016-03-22 23:42:23,545 command_line.py: 490 generate_json - Generating package.json...
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 135 call - STREAM b'IHDR' 16 13
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 135 call - STREAM b'gAMA' 41 4
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 135 call - STREAM b'cHRM' 57 32
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 511 _open - b'cHRM' 57 32 (unknown)
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 135 call - STREAM b'bKGD' 101 6
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 511 _open - b'bKGD' 101 6 (unknown)
DEBUG 2016-03-22 23:42:32,798 PngImagePlugin.py: 135 call - STREAM b'IDAT' 119 14148
Traceback (most recent call last):
File "command_line.py", line 811, in make_output_dirs
File "command_line.py", line 670, in replace_icon_in_exe
File "pepy\pe.py", line 1321, in write
PermissionError: [Errno 13] Permission denied: 'H:\Web2ExeWin\test\output\test\windows-x32\nw.exe'
......

@jyapayne
Copy link
Collaborator

Ah, that looks like a known issue with permissions. I currently don't know why this happens, and have not been able to reproduce it on my test machines. A workaround is to delete the output folder each time manually (which is obviously not ideal). Also, make sure the permissions to the H:\Web2ExeWin\ folder allow writes, even though they probably do since you were able to get a successful export at least once.

@hitaloramon
Copy link

hitaloramon commented Apr 20, 2017

I'm also having this same problem

Edit: I noticed that the error only occurs if the image is inside a folder. If you put the image in the root it works normally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants