mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #196] Strange Temp folder usage #179
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 @madtatu-development on GitHub (Sep 7, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/196
Regardless the fact I have proper PATH environmental variables settings for global TEMP folder, Auto PY to EXE randomly selects a completely separate software installed software temp folder (not even set in env.variab.) to use:
@brentvollebregt commented on GitHub (Sep 9, 2021):
At the moment we are using
tempfile.mkdtemp()github.com/brentvollebregt/auto-py-to-exe@ecfc50e134/auto_py_to_exe/main.py#L19If you execute:
What is the directory that is printed? Still weird? I see the Python source code initially starts searching from the value returned in this function.
@madtatu-development commented on GitHub (Sep 10, 2021):
May I ask your help to be fool proof (I am still newbie from certain aspect):
Exactly where should I execute these 5 lines above ? You mean add these lines fixed to my code to tell phython which temp directory to use ? (Your word "execute" confuse me, thats why I ask.)
Sorry for the dummy question!
@brentvollebregt commented on GitHub (Sep 17, 2021):
Execute those lines using Python. The Python IDLE would be the easiest place.
Sorry for the delay in replying - have been busy.
@madtatu-development commented on GitHub (Oct 4, 2021):
OK, I was able to identify what's caused the problem, or at least the way to resolve it.
After a deep check in program and user directories, I realized, that Wondershare application (the one highjacked the temp folder) is HEAVILY reply on python. For some reason, it was aggressively reroute all python temp folder request to his own user application temp folder.
As soon as I completely removed it completely including ALL traces of it, the problem resolved, python and autopyexe started to use the correct, system defined temp folder.
What proofs this is not a regular behavior (only this specific software aggressive/strange approach ) is, that there are other application based on python still on the system and do not affect the temp folder.
I am planning to re-install wondershare and see what's going to happen, as well as try your solution above and report as soon as I get there.
@github-actions[bot] commented on GitHub (Dec 4, 2021):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (Dec 9, 2021):
Closing issue due to no activity in more than 60 days.