-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Notebooks not showing #386
Comments
Hey @schmoelder, thanks for reporting. A couple of comments: |
Hey @ccordoba12,
I did, unfortunately, that didn't help.
Here you go: https://gist.github.com/schmoelder/bcfa4366fd68493573cee9eb9826c80e If there is anything else I can do, please let me know! :) |
I don't see anything wrong in the logs. The notebook server is started as it should. Here are some more things you can try:
|
Hi, just did a clean installation of
|
I created a clean (
No Errors here. This is the entire output:
I did that (in my new clean spyder environment) and it crashes. This ist the output:
Unfortunately, it's in German. I could try to change the system language if that helps. |
Thanks @dererumenergetica , following your procedure and properly updating the dependencies with
in the terminal, eventually worked for me! |
@equaeghe, I think this problem could be due to permission errors caused because you installed Spyder and Spyder-notebook system-wide. So, please create an isolated virtualenv in your home directory and install Spyder-notebook there. Perhaps that fixes the issue for you. |
I've tried to do this on Windows 11, and still no effect. I keep receiving a timeout error when I start spyder or try to open a notebook.
|
I also still have this issue, now on spyder 5.4.2 I do get some new output in the console, however. Don't know if it's related but maybe it helps:
|
@schmoelder, that warning is unrelated to this problem. On Linux it could be related to issue spyder-ide/spyder#20358. So, I'd like to ask you: is the Help pane working for you as expected? |
I ran into the same two related issues:
I started with a Miniconda 3.10 environment. Followed directions to install spyder like this: The above appears to require an update of python to 3.11. I think this is what's causing the issues. I setup the environment again. This time, without pointing to conda-forge: Looks like python 3.10.9 remains. And spyder is the older version 5.3.3. And help pane works. Then installed the notebook plugin from conda-forge: Appears to work! Now if I could only figure out how to get the debugger working in notebook... (maybe it's not supported yet)? |
Well, sort of. When I press CTRL + I in front of the object the help topic appears in the Help pane. But the Object search line doesn't work, it ignores any input I provide. It takes place either with and without spyder-notebook and its depndecies installed. |
UPD: tried on MacOS Monterrey in freshly created venv (Python 3.10.6, installed by Homebrew). I've installed spyder and spyder-notebook via pip into the venv. Everything works as expected, both notepad and help pane. In Windows 11 under venv help and notebook don't work. If installed system-wide help pane and notebooks work as expected. |
@64kbyte, you said:
That use case is still not supported but we'll try to in the future. Also, what's your operating system? |
@d9d6ka, you said
That's very strange. What's your Python version? Also, @dalthviz, could you check if Spyder-notebook is working for you if installed in a conda env on Windows? |
Well, I don't know, what happened, but help pane started working... On my Windows machine Python 3.11.0 is installed. System-wide everything works. In venv notebook throws a timeout error. I'll use a system-wide installed Spyder for now. Anyway thanks for this add-on, hope the source of the problem will be found. |
I'm on Ubuntu 22.04. I dug a little deeper and played around with conda package versions. Looks the culprit may be in the interactions with the fontconfig package. A default install from the conda-forge channel will bring in fontconfig=2.14.2. I decided to try one version prior. I made a fresh environment with:
Both help and notebook show up and are functional with Python 3.11 and spyder 5.4.2 and spyder-notebook 0.4.0. |
Sorry, was afk yesterday...
You're right, it's actually not working. Since I don't use it much, I had not noticed that.
I'm still on Python 3.10 but using spyder 5.4.2 and spyder-notebook 0.4.0 with fontconfig=2.14.1 (and 2.14.2 for that matter) did not solve the issue for me. |
Tried creating a conda env (
Also, seems like the Help pane is not working too, right? Maybe then the issue could be related with QWebEngine process not being able to launch from that specific non system-wide venv? Also, where is located the venv where things are not working? If it is located in a network drive maybe the issue could be related to https://bugreports.qt.io/browse/QTBUG-84632 |
Hey guys, I think this will be solved when we release Spyder 5.4.3 next month thanks to the fix in spyder-ide/spyder#20482. That should solve the problems @schmoelder is having on Linux and @d9d6ka on Windows. We'll let you know when that release is out so you can try Spyder-notebook again afterwards. |
Version 5.4.3 includes the fix for issue spyder-ide#386.
Fixed by #410 |
Description of your problem
I was very happy to read that a new version of spyder-notebooks was released and I immediately wanted to try it out. However, I could not get it to run.
What steps will reproduce the problem?
conda install spyder -c conda-forge
conda install spyder-notebook -c conda-forge
What is the expected output? What do you see instead?
I would expect the notebooks to show. However, I get a "blank" page (see screenshot below).
Please provide any additional information below (stack trace, screenshots, a gif, etc)
When I click on
Open a new Notebook
, a new tab appears which is also empty.If I try to open an existing notebook, nothing happens.
I don't know if it helps but if I run
import spyder_notebook
, I get the following error:Versions and main components
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.1 (OK)
chardet >=2.0.0 : 5.0.0 (OK)
cloudpickle >=0.5.0 : 2.2.0 (OK)
cookiecutter >=1.6.0 : 2.1.1 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree >=3.0.2 : 3.0.2 (OK)
IPython >=7.31.1;<8.0.0 : 7.33.0 (OK)
jedi >=0.17.2;<0.19.0 : 0.18.1 (OK)
jellyfish >=0.7 : 0.9.0 (OK)
jsonschema >=3.2.0 : 3.2.0 (OK)
keyring >=17.0.0 : 23.9.3 (OK)
nbconvert >=4.0 : 6.5.3 (OK)
numpydoc >=0.6.0 : 1.5.0 (OK)
parso >=0.7.0;<0.9.0 : 0.8.3 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.9.2 (OK)
pygments >=2.0 : 2.13.0 (OK)
pylint >=2.5.0;<3.0 : 2.15.3 (OK)
pyls_spyder >=0.4.0 : 0.4.0 (OK)
pylsp >=1.5.0;<1.6.0 : 1.5.0 (OK)
pylsp_black >=1.2.0 : 1.2.1 (OK)
qdarkstyle >=3.0.2;<3.1.0 : 3.0.3 (OK)
qstylizer >=0.1.10 : 0.2.2 (OK)
qtawesome >=1.0.2 : 1.1.1 (OK)
qtconsole >=5.3.2;<5.4.0 : 5.3.2 (OK)
qtpy >=2.1.0 : 2.2.1 (OK)
rtree >=0.9.7 : 1.0.0 (OK)
setuptools >=49.6.0 : 65.4.1 (OK)
sphinx >=0.6.6 : 4.5.0 (OK)
spyder_kernels >=2.3.3;<2.4.0 : 2.3.3 (OK)
textdistance >=4.2.0 : 4.5.0 (OK)
three_merge >=0.1.1 : 0.1.1 (OK)
watchdog >=0.10.3 : 2.1.9 (OK)
xdg >=0.26 : 0.28 (OK)
zmq >=22.1.0 : 24.0.1 (OK)
# Optional:
cython >=0.21 : 0.29.32 (OK)
matplotlib >=3.0.0 : 3.6.0 (OK)
numpy >=1.7 : 1.23.3 (OK)
pandas >=1.1.1 : 1.5.0 (OK)
scipy >=0.17.0 : 1.9.1 (OK)
sympy >=0.7.3 : 1.11.1 (OK)
# Spyder plugins:
spyder_notebook.notebookplugin 0.4.0 : 0.4.0 (OK)
spyder_okvim.spyder.plugin 0.0.1.dev0 : 0.0.1-dev0 (OK)
The text was updated successfully, but these errors were encountered: