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
Trying to use datasette 0.51.1 gives the following error:
ImportError: cannot import name 'EX_CANTCREAT' from 'os' (C:\Users\drkan\AppData\Local\Programs\Python\Python39\lib\os.py)
Looks like that code is only available on unix: https://docs.python.org/3/library/os.html#os.EX_CANTCREAT
Removing the line makes it work fine (EX_CANTCREAT doesn't seem to be used anywhere?)
EX_CANTCREAT
The text was updated successfully, but these errors were encountered:
I can confirm this issue, running version 0.51.1 under Windows.
Fixed by commenting out the following line near the top of datasette\utils\asgi.py :
#from os import EX_CANTCREAT
Sorry, something went wrong.
Fix startup error on windows
7004c3b
Fixes simonw#1094 This import isn't used at all, and causes error on startup on Windows.
Fix startup error on windows (#1128)
705d1a1
Fixes #1094 This import isn't used at all, and causes error on startup on Windows.
Release 0.52.4
2dc2816
Refs #1125, #1131, #1094
Successfully merging a pull request may close this issue.
Trying to use datasette 0.51.1 gives the following error:
Looks like that code is only available on unix: https://docs.python.org/3/library/os.html#os.EX_CANTCREAT
Removing the line makes it work fine (
EX_CANTCREAT
doesn't seem to be used anywhere?)The text was updated successfully, but these errors were encountered: