Skip to content
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

Cannot add dictionaries using the tool. #1874

Closed
Totobal5 opened this issue May 18, 2024 · 3 comments · Fixed by #1876
Closed

Cannot add dictionaries using the tool. #1874

Totobal5 opened this issue May 18, 2024 · 3 comments · Fixed by #1876
Labels
bug Issue: Something isn't working
Milestone

Comments

@Totobal5
Copy link

Trying to install the following dictionary: https://www.softmaker.net/down/hunspell/softmaker-hunspell-spanish-101.sox will produce the following crash:

Environment:
novelWriter Version: 2.4.1
Host OS: win32 (10.0.19045)
Python: 3.12.3 (0x30c03f0)
Qt: 5.15.2, PyQt: 5.15.10
enchant: 3.2.2

FileNotFoundError:
[WinError 3] El sistema no puede encontrar la ruta especificada: 'C:\Users\my_username\AppData\Local\enchant\hunspell'

Traceback:
File "C:\Program Files\novelWriter\novelwriter\tools\dictionaries.py", line 203, in _doImportHunspell
hunspell.mkdir(exist_ok=True)

File "pathlib.py", line 1311, in mkdir

making a custom enchan/hunspell folder in my AppData fix the problem and let me install the dictionary.

@Totobal5 Totobal5 added the bug Issue: Something isn't working label May 18, 2024
@vkbo
Copy link
Owner

vkbo commented May 18, 2024

I'm guessing the enchant folder doesn't exist by default either. I'll investigate.

@vkbo vkbo added this to the Release 2.4.3 milestone May 18, 2024
@Totobal5
Copy link
Author

Yes, i made the enchant folder to see if it fix the bug !

@vkbo vkbo linked a pull request May 19, 2024 that will close this issue
6 tasks
@vkbo
Copy link
Owner

vkbo commented May 19, 2024

Fixed. I'll do a 2.4.3 release soon as there is another bug I want to get fixed too.

@vkbo vkbo closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue: Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants