-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
OSError when creating a project #12636
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
Comments
To fix this, please open the Anaconda Prompt and run there the following commands: |
The solution proposed doesn't solve my problems. The problem is related to the permission of a directory inside the project (in my case, a postgres data docker volume that the spyder user doesn't own). Modifying @staticmethod
def _raise_error():
"""
Raises errors for inotify failures.
"""
err = ctypes.get_errno()
if err == errno.ENOSPC:
raise OSError(errno.ENOSPC, "inotify watch limit reached")
elif err == errno.EMFILE:
raise OSError(errno.EMFILE, "inotify instance limit reached")
elif err == errno.EACCES:
print(err, os.strerror(err))
else:
raise OSError(err, os.strerror(err)) dealing with |
This will be added in a future release :-) |
@andfoy I think you know well this part of the code. Please work on a fix for this. Thanks! |
Ty all for the support! |
@bunop, thanks for letting us know the solution for your problem. @andfoy submitted gorakhargosh/watchdog#669 with it, so now it's up to the Watchdog maintainers to merge it. |
The new version of watchdog (0.10.3) containing the fix is online :) |
Thanks @BoboTiG! |
Description
What steps will reproduce the problem?
Project -> new, then checklist the existing directory and choosing a directory with python files. I was able to create and manage a project in the same directory with and old sypder version (spyder 3)
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: