mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 11:45:49 +03:00
[GH-ISSUE #444] load error #354
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 @wanghaisheng on GitHub (Dec 12, 2023).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/444
Quick Checks
Describe the bug
I run auto-py-to-exe under the project source code folder, following instructions.
although I enable debug mode, but I cannot find how to output the console log after run exe because it flash out quickly.
I have installed atomics well and I can run my py with python demo.py
$ pip install atomics
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: atomics in d:\program\miniconda\lib\site-packages (1.0.2)
Requirement already satisfied: cffi>=1.10 in d:\program\miniconda\lib\site-packages (from atomics) (1.15.1)
Requirement already satisfied: pycparser in d:\program\miniconda\lib\site-packages (from cffi>=1.10->atomics) (2.21)
src.constants is quite simple
To Reproduce
I have not quite find the way how to prepare the minimal code
pyinstaller --noconfirm --onedir --console --icon "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/assets/icon.ico" --log-level "ERROR" --debug "all" --add-data "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/assets;assets/" --add-data "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/locales;locales/" --add-data "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/static;static/" --add-data "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/log;log/" "D:/workspace/tiktoka/tiktoka-studio-uploader-genius/uploadergenius.py"
Expected behavior
A clear and concise description of what you expected to happen.
Your Environment:
python --version):3.10pip show auto-py-to-exe):pip show pyinstaller):pip show eel):@github-actions[bot] commented on GitHub (Dec 12, 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.
@wanghaisheng commented on GitHub (Dec 12, 2023):
yes I have read the help post
@brentvollebregt commented on GitHub (Dec 13, 2023):
Based on this traceback,
It looks like this is an issue with the atomics library. It's trying to find patomic in atomics._clib. Looking at the GitHub repo, the README file in atomics._clib says that patomic.dll is added during the install.
Can you try adding "atomics" to --collect-all in the advanced tab - this may pick up binaries missing.
@wanghaisheng commented on GitHub (Dec 15, 2023):
@brentvollebregt when add it log like this
error continues , now i use pyenv to manage a fresh env,weired thing is .Idont install UltraDict in requirements at all
(.venv)
thsm_@LAPTOP-13723GD7 MINGW64 /d/workspace/tiktoka/tiktoka-studio-uploader-genius (main)
$ pip uninstall UltraDict
WARNING: Skipping UltraDict as it is not installed.
@wanghaisheng commented on GitHub (Dec 15, 2023):
and you can see my src code
this is source code for this i18n_json
https://github.com/search?q=repo%3Awanghaisheng%2Fjson-dict-in-memory%20UltraDict&type=code
@brentvollebregt commented on GitHub (Dec 15, 2023):
When packaging to one directory, is patomic.dll in atomics/_clib after using
--collect-all? You might have to search around for the folder.Also I'll remove the bug label as this is only an issue with the library by the looks and not auto-py-to-exe.
@github-actions[bot] commented on GitHub (Jan 15, 2024):
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 (Jan 21, 2024):
Closing issue due to no activity in more than 60 days.