-
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
Cross-platform incompatibility #374
Comments
What does |
On Manjaro Linux:
On Windows:
If I stay on the same OS (linux or windows), I can continue to use the OK autograder, but once I run it, I cannot use it for any other OS's except the one I started with. |
Hmm, interesting. I'm not getting an error, but in my case (64-bit Windows vs. Arch WSL) they don't recognize each others' logins, and so ask me to log in again, even after I've already logged in once into both. Still, that shouldn't be happening either... |
If I use linux first to run OK, then try to run OK in windows, I get a slightly different error message:
|
Yeah, it seems to repro like this:
|
Is there going to be a fix for it, or do I need to file an issue on https://github.com/okpy/ok-client instead? |
Same issue for me. A quick fix is to delete the pycache folder and all files starting with .ok to reinitialize ok grader |
@derickboss1 I don't know of a simple fix to this (though perhaps one of the main maintainers might). I would recommend you try to stay on a single platform for now, or find a workaround as mentioned here. Other tools (like git) often also run into trouble if you try to run them cross-platform, so it's a good habit anyway. |
If I run
python3 ok -q [assignment]
on one OS, and then tried to run it again via a different OS, I get the errordbm.error: db type could not be determined
. Tested by initially running on Windows 10, then running it on linuxThe entire error message is:
The text was updated successfully, but these errors were encountered: