-
Notifications
You must be signed in to change notification settings - Fork 42
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
FileNotFoundError .config/ok/auth_refresh #348
Comments
Interesting. Thanks for filing the issue. Could this be a permissions issue? If not, As a work around could you create the |
The directory is created correctly. The code is trying to read the |
Odd. We'll take a look This probably won't work but worth a shot: |
It works fine with Is there some part of the logic that assumes you've authenticated previously or something? |
If anyone runs into the same issue, I've included the following in my students' notebooks as a workaround: import os
if not os.path.exists(os.path.join(os.environ.get("HOME"), ".config/ok/auth_refresh")):
ok.auth(force=True)
else:
ok.auth(inline=True) |
I'm trying out okpy in a Jupyter notebook using the example data science project linked from the "Welcome to OK!" block in the front page of my course on okpy.org.
I've edited
hw04.ok
to point to my course's endpoint.When I execute the first block in the notebook, I get a FileNotFoundError.
Sure enough, that file does not exist.
The text was updated successfully, but these errors were encountered: