Skip to content
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

No code output is shown in notebook #644

Closed
rwslippey opened this issue Dec 24, 2020 · 3 comments
Closed

No code output is shown in notebook #644

rwslippey opened this issue Dec 24, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@rwslippey
Copy link

rwslippey commented Dec 24, 2020

I've installed tljh on ubuntu 18.04. Although I do have a bit of a nonstandard setup, I'll explain more in a bit.

Executing anything in a notebook doesn't return any output. Even just a print("test") won't print any output.

I'm kind of new to notebooks, but my understanding is the * in the line means it's still executing? It never shows a number as I've seen before with a local notebook running on say conda.

I did downgrade tornado as I've seen suggested elsewhere, which seemed to fix the connection to the kernel issues I was having but still no code output.

My non-standard config is just a firewall blocking everything from getting into the server (Digital Ocean Firewall) and I'm running everything over ZeroTier. I don't think this should be causing issues but I'm gonna open the firewall up here and test that theory. EDIT: Just checked.... even direct over HTTP there is no change, still no output.

As for resources, I'm running 4GB on Digital Ocean so I don't see think is an issue there.

@rwslippey rwslippey added the bug Something isn't working label Dec 24, 2020
@welcome
Copy link

welcome bot commented Dec 24, 2020

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@rwslippey
Copy link
Author

rwslippey commented Dec 24, 2020

Okay,

I must have messed something up in my configuration the first time around.
Reinstalled from scratch on new droplet.

After getting through #642 and updating config things seems to be working as expected now.

sudo tljh-config set limits.memory 4G
sudo tljh-config set limits.cpu 2
sudo tljh-config reload

@rwslippey
Copy link
Author

Okay, just some more details here:

I had this working. Then installed the conda packages per https://tljh.jupyter.org/en/latest/install/digitalocean.html#step-2-adding-more-users and ran into the same issue.

I decided to fall back to where I was originally by starting over again and after 3 or 4 reinstalls I wound up doing the following.

sudo -E pip uninstall tornado Based off another suggestion and errors in logs concerning tornado
sudo -E pip install tornado==5.1.1

No, luck. So I just upgraded tornado again.

sudo -E pip install tornado --upgrade
that seemed to do the trick and I followed the above to set config parameters. Unless I got a newer release (I didn't check prior to downgrading) it may have had an installation issue? For reference, I've got version 6.1 now and it's working so far.

Hope this helps someone. Happy holidays everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant