mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #426] When building exe - every command is duplicated #337
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexbk66 on GitHub (Sep 6, 2023).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/426
Originally assigned to: @brentvollebregt on GitHub.
Your Environment:
Build often fails with "access denied" message. But the I realised that auto-py-to-exe runs twice, i.e. I'm getting in Output window:
Which probably explains the "access denied" message - because the output file is locked by one process, when the other one tries to write the file.
@github-actions[bot] commented on GitHub (Sep 6, 2023):
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.
Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.
@alexbk66 commented on GitHub (Sep 6, 2023):
FYI, example of the error
@brentvollebregt commented on GitHub (Sep 6, 2023):
Does it always output two lots of messages for you or has this only happened once? Also could you provide the full output please - I have a feeling that it is actually running once but you are getting the logs sent to the UI twice.
@brentvollebregt commented on GitHub (Sep 6, 2023):
I've just pushed up a fix for the double-logging into master in
4938f33270. Looks like you may have reloaded the UI which caused the logging handlers to be added again - this is fixed now.In terms of the permission denied error, is your antivirus getting in the way?
@alexbk66 commented on GitHub (Sep 6, 2023):
I think I did reload the UI, it's working now.
Regarding the permission denied error, it happens sometimes, so I have to re-run, sometimes twice. When it happens again, I will post the whole output.
Thank you for great app and quick reply.
@alexbk66 commented on GitHub (Sep 6, 2023):
One question - probably should start a separate issue, is it possible to save last setup? Otherwise I have to re-enter all settings every time I start the app. And it quits after some period of inactivity...
@alexbk66 commented on GitHub (Sep 7, 2023):
Full output for permission denied error:
@brentvollebregt commented on GitHub (Sep 7, 2023):
Is your antivirus deleting the file by any chance?
Check out the "Configuration" header in the "Setting" section - it allows you to save the current UI setup
@alexbk66 commented on GitHub (Sep 7, 2023):
Not sure. I only have WindowsDefender (Win10)
Thank you!!!
@brentvollebregt commented on GitHub (Sep 7, 2023):
Could you try disabling Windows Defender and try running the package again? I'm interested to see if you still get the issue,
@alexbk66 commented on GitHub (Sep 7, 2023):
It's happening randomly and not often, so it's hard to verify, but I'll try.
@alexbk66 commented on GitHub (Sep 8, 2023):
I know I'm using this issue for 3 different issues, sorry.
I just noticed that the config json doesn't include output (destination) folder?
@brentvollebregt commented on GitHub (Sep 8, 2023):
Check out this comment on #197 - it has an example of how to add it manually.
Directly from the README.md in this repository:
@alexbk66 commented on GitHub (Sep 8, 2023):
Thank you Brent. I call it RTFM :)
@brentvollebregt commented on GitHub (Sep 21, 2023):
Closing this as the fix for the initial issue went out in 2.39.0