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

languages.db doesn't load on NFS #4

Open
dalmia opened this issue Mar 4, 2024 · 1 comment
Open

languages.db doesn't load on NFS #4

dalmia opened this issue Mar 4, 2024 · 1 comment

Comments

@dalmia
Copy link

dalmia commented Mar 4, 2024

I've been trying to get your library to work on my NFS but since you store your DB as an SQLite DB, which apparently doesn't work well with NFS, I get an Operational Error: Disk I/O error everytime I try to use iso639.Language.match('fr').

Can you please support running this on NFS too?

Steps to reproduce

Simply run the following on an NFS:

import iso639
iso639.Language.match('fr')`
@dalmia dalmia changed the title languages.db doesn't load on NFS languages.db doesn't load on NFS Mar 4, 2024
@jacksonllee
Copy link
Owner

Hello, from my googling, it would seem like the Operational Error: Disk I/O error exception is either a hardware issue (possibly about the specific location where the language.db file sits on your drive) or something else specific to your set-up. (There's also mentioning of SQLite and NFS not being friends with each other.) I'm not sure if there's anything I could do from my end, except for implementing this package without using SQLite altogether, which I'm not ready to do just yet for bandwidth, etc. Would you be able to uninstall and reinstall this package (maybe in a new Python environment?) to see if it resolves the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants