We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be possible to add a no-op for the FileLock variable on the Web Assembly platform here:
if os.name == "nt": FileLock = MsvcrtLock else: FileLock = FcntlLock
Otherwise, using whoosh in Pyodide will throw an error of the kind:
File /lib/python3.11/site-packages/whoosh/util/filelock.py:100, in FcntlLock.acquire(self, blocking) 97 flags = os.O_CREAT | os.O_WRONLY 98 self.fd = os.open(self.filename, flags) --> 100 mode = fcntl.LOCK_EX 101 if not blocking: 102 mode |= fcntl.LOCK_NB AttributeError: module 'fcntl' has no attribute 'LOCK_EX'
This was suggested here:
and is related to:
whoosh
The text was updated successfully, but these errors were encountered:
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem.
Sorry, something went wrong.
...no longer necessary - we have dropped Whoosh from our dependencies.
No branches or pull requests
Would it be possible to add a no-op for the FileLock variable on the Web Assembly platform here:
Otherwise, using whoosh in Pyodide will throw an error of the kind:
This was suggested here:
and is related to:
whoosh
(Database Search Index) not working brightway-lca/brightway-live#49The text was updated successfully, but these errors were encountered: