-
Notifications
You must be signed in to change notification settings - Fork 59
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
Failure in ProfilesSpawner.load_child_class() with empty/no sqlite database #10
Comments
Same issue. Got around it by defining a default child_profile that exists (where before it was simple ''). Now stuck on #11 which seems to be a bigger issue. |
@SaintSimmo Can you elaborate on how you got around it for users who are less familiar with what you're talking about? |
@jrdemasi I ultimately ended up going with imagespawner (https://github.com/ryanlovett/imagespawner) for choosing a docker image upon starting up one's personal server. If you're using docker images, this is what I'd go with for right now at least. I never ended up being able to get wrapspawner to fully work for my needs. |
I'm seeing this as well with jupyterhub 0.8.1. |
I ended up just downgrading for now. No time to mess with it.
…On Nov 8, 2017 11:39, "Orion Poplawski" ***@***.***> wrote:
I'm seeing this as well with jupyterhub 0.8.1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARqQJ1dCrbHj9Lh9cT0QtUI6B8TeOYeuks5s0fVngaJpZM4Pf62Y>
.
|
I'm also seeing this issue, curious if anyone's solved it well |
Is this the issue you all are seeing? I don't want to submit another issue if it is. Using:
Issue:
|
I am getting the same error output as @barrymoo from a virtual environment-based installation. Are there any workarounds for this? |
I ended up downgrading as opposed to wasting time on it. Unless you need a
specific feature in 8.x, I think that's the easiest course of action.
…On Dec 7, 2017 12:16 PM, "sknigh" ***@***.***> wrote:
I am getting the same error output as @barrymoo
<https://github.com/barrymoo> from a virtual environment-based
installation. Are there any workarounds for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARqQJ5e6KCGxm4xv1N8veDAKRGI3_ur3ks5s-Dl7gaJpZM4Pf62Y>
.
|
Unfortunately I need some of the bug fixes in 0.8. Sticking this to the end of my installation script makes profilespawner work with my slurm queues. sed -i '75i\ oauth_client_id = self.oauth_client_id,' /usr/lib/python3.4/site-packages/wrapspawner/wrapspawner.py
sed -i '75i\ server = self._server,' /usr/lib/python3.4/site-packages/wrapspawner/wrapspawner.py
sed -i "213s/.*/ self.child_profile = ''/" /usr/lib/python3.4/site-packages/wrapspawner/wrapspawner.py |
Same issue here with Jupyterhub 0.8.1, Python 3.5.4 Anaconda 5.0.1. |
Have a look here. master...NERSC:non-fatal-if-no-db I never submitted it as a PR as I wasn't able to work through what all this change impacted and I wasn't able to fully test it due to #11 but thought I'd mention it. Haven't had time to get back to either issue yet... |
@rcthomas Oauth doesn't work because jupyterhub 0.8 configures it for the set spawner, but wrapspawner hasn't been updated to copy that information to it's child profile. See the first sed insertion from my comment above. |
Based on the [comment](jupyterhub#10 (comment)) by @sknigh Closes jupyterhub#10 Closes jupyterhub#11
This is with JuptyterHub 0.8.0b5 --- when I start up without any pre-existing sqlite database I still get the KeyError. Maybe a recent change there causes this to fail now?
The text was updated successfully, but these errors were encountered: