[GH-ISSUE #106] Not Compatible with Mnemonic #100

Closed
opened 2026-02-26 12:20:29 +03:00 by kerem · 6 comments
Owner

Originally created by @h4Ck3D001 on GitHub (Jun 21, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/106

Hi,
So my script uses Mnemonic, when i convert the Script to an exe i get this Error:
Traceback (most recent call last):
File "MyPath", line 19, in
File "AppData\Local\Programs\Python\Python37\lib\site-packages\mnemonic\mnemonic.py", line 72, in init
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\MyName\AppData\Local\Temp\_MEI124882\mnemonic\wordlist/english.txt'

Originally created by @h4Ck3D001 on GitHub (Jun 21, 2020). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/106 Hi, So my script uses Mnemonic, when i convert the Script to an exe i get this Error: Traceback (most recent call last): File "MyPath", line 19, in <module> File "AppData\Local\Programs\Python\Python37\lib\site-packages\mnemonic\mnemonic.py", line 72, in __init__ FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\MyName\\AppData\\Local\\Temp\\_MEI124882\\mnemonic\\wordlist/english.txt'
kerem closed this issue 2026-02-26 12:20:29 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Jun 22, 2020):

It looks like mnemonic is looking in ./mnemonic\wordlist for english.txt (as stated in the error). Have you included this file?

<!-- gh-comment-id:647433106 --> @brentvollebregt commented on GitHub (Jun 22, 2020): It looks like mnemonic is looking in `./mnemonic\wordlist` for `english.txt` (as stated in the error). Have you included this file?
Author
Owner

@h4Ck3D001 commented on GitHub (Jun 29, 2020):

@brentvollebregt So if you use One Directory and download the File from the Github and put it in the Directory, it works, but the problem is, it wont work with One File. (Here is the Github Link: https://github.com/trezor/python-mnemonic)

<!-- gh-comment-id:651038351 --> @h4Ck3D001 commented on GitHub (Jun 29, 2020): @brentvollebregt So if you use One Directory and download the File from the Github and put it in the Directory, it works, but the problem is, it wont work with One File. (Here is the Github Link: https://github.com/trezor/python-mnemonic)
Author
Owner

@brentvollebregt commented on GitHub (Jun 29, 2020):

So you're saying when you use One Directory and add the file english.txt in manually, it works, but if you use One File and don't add english.txt manually, it doesn't work?

Why are you not adding english.txt in the one file option? You added it when using One Directory so it would make sense to also add it for the One File method.

<!-- gh-comment-id:651323027 --> @brentvollebregt commented on GitHub (Jun 29, 2020): So you're saying when you use One Directory and add the file english.txt in manually, it works, but if you use One File and don't add english.txt manually, it doesn't work? Why are you not adding english.txt in the one file option? You added it when using One Directory so it would make sense to also add it for the One File method.
Author
Owner

@h4Ck3D001 commented on GitHub (Jul 1, 2020):

@brentvollebregt Because it searches for the File in the Temp Directory because it creates it automatically so that won't work

<!-- gh-comment-id:652685266 --> @h4Ck3D001 commented on GitHub (Jul 1, 2020): @brentvollebregt Because it searches for the File in the Temp Directory because it creates it automatically so that won't work
Author
Owner

@brentvollebregt commented on GitHub (Jul 2, 2020):

Have you added the file using the additional file section? Then it will be put in the bundled executable.

I recommend making sure adding the additional file works as one directory before trying one folder as you can see inside it to check you got the path right.

<!-- gh-comment-id:652771788 --> @brentvollebregt commented on GitHub (Jul 2, 2020): Have you added the file using the additional file section? Then it will be put in the bundled executable. I recommend making sure adding the additional file works as one directory before trying one folder as you can see inside it to check you got the path right.
Author
Owner

@brentvollebregt commented on GitHub (Oct 7, 2020):

Closing due to no further information provided for over three months.

<!-- gh-comment-id:704704450 --> @brentvollebregt commented on GitHub (Oct 7, 2020): Closing due to no further information provided for over three months.
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
starred/auto-py-to-exe#100
No description provided.