-
Notifications
You must be signed in to change notification settings - Fork 92
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
Crash when using autocorrect library from pyinstaller .exe file #19
Comments
I never tried to make it usable from a stand-alone executable, but it would be a good feature. It seems that it's a problem with dictionary data that autocorrect needs, but pyinstaller cannot automatically bundle. First, you can try to make a directory |
Thanks for your response! Unfortunately, making a Hopefully a stand-alone .exe with autocorrect will be possible sometime in the future! |
Hmm, it looks that finding location works differently in stand-alone exe than in python file. We could add option in Unfortunately, I don't have time to do this now, but this should work. |
Any update on this? |
Wouldn't the crash come from broken links to the "backup_urls" files? |
There is currently an issue which causes .exe files created using pyinstaller to crash.
If the source Python file used the autocorrect library, the program would crash if the user tried to launch it from the .exe file. "dictionary for this language not found, downloading..." will appear in the terminal, then "couldn't download https://drive.google.com/uc?export=download&id=19xqFyk9d8aFR7LR43oy6cExk8Pk9wVwV, trying next url...", followed by a ConnectionError: [Errno 2]. When I visit the link in my browser, it seems to work. This is for the English language.
Is it possible to fix this, or is the library not meant to be used from a stand-alone executable?
The text was updated successfully, but these errors were encountered: