-
Notifications
You must be signed in to change notification settings - Fork 64
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 output on MacOS #160
Comments
Hm, I tried 0.2.2 up to master and it all didn't work^^ Also 0.2.5 + 0.2.6 seem to be unknown to metadata?! |
ah, yes, that would be consistent with an issue I opened on InteractNext.jl a while back ( I didn't realise that everything had moved over to InteractBase) |
I actually use WebIO daily in Jupyter, so this should definitely be working 🙂 I just did the following to test:
and then created a new notebook, and WebIO worked just fine: This is with Julia v0.6.4 on Ubuntu 18.04, with the following
Can you try following those steps and seeing if it works for you? We just need to figure out what's different between your setup and mine. |
I am happy to try this. Just to check - should I be clearing |
No, you don't need to clear out
Julia will use that package directory whenever it's launched from a terminal with the When you're done, you can just delete that whole folder. |
I tried that, but now julia doesn't finish executing even basic commands (cells just have a * but don't finish). |
Maybe you have a very old version of
|
I don't get any output either for the |
ok, I did the new steps. Seems to be running Julia properly, but no change in this node test (I think it was installing a newer Jupyter anyway, as it has a new arrow on the active cell I hadn't noticed before). |
2 required packages:
- IJulia 1.9.0
- WebIO 0.2.4
16 additional packages:
- AssetRegistry 0.0.2
- BinDeps 0.8.8
- BinaryProvider 0.3.3
- Compat 1.0.0
- Conda 0.8.1
- FunctionalCollections 0.3.2
- JSON 0.17.2
- MbedTLS 0.5.12
- Nullables 0.0.6
- Observables 0.1.2
- Pidfile 1.0.0
- Requires 0.4.4
- SHA 0.5.7
- URIParser 0.3.1
- VersionParsing 1.1.1
- ZMQ 0.6.2 |
What are the contents of your |
###JULIA-WEBIO-CONFIG-BEGIN
import sys, os
if os.path.isfile("/Users/abradley/packages/v0.6/WebIO/deps/jlstaticserve.py"):
sys.path.append("/Users/abradley/packages/v0.6/WebIO/deps")
c = get_config()
c.NotebookApp.nbserver_extensions = {
"jlstaticserve": True
}
else:
print("WebIO config in ~/.jupyter/jupyter_notebook_config.py but WebIO plugin not found")
###JULIA-WEBIO-CONFIG-END |
ok, that looks fine. Let me pull out my old mac and give it a try... |
Ok, yeah, I can reproduce the error on a totally clean OSX package installation. |
Ok, figured it out. Try running
That warning is important: it means that the Jupyter If you see the same warning, please try: mv ~/.jupyter/jupyter_notebook_config.json ~/.jupyter/jupyter_notebook_config.backup.json
jupyter notebook (you need to re-launch Doing those two steps fixed WebIO on my mac. |
yes - the Node test now runs! |
Ok, great! Now we just have to figure out why that conflicting file exists on mac and what to do about it |
On windows, I actually get this: julia> run(Cmd(IJulia.notebook_cmd))
WebIO config in ~/.jupyter/jupyter_notebook_config.py but WebIO plugin not found
[I 11:15:56.282 NotebookApp] JupyterLab beta preview extension loaded from C:\Users\sdani\.julia\v0.6\Conda\deps\usr\lib\site-packages\jupyterlab
[I 11:15:56.292 NotebookApp] JupyterLab application directory is C:\Users\sdani\.julia\v0.6\Conda\deps\usr\share\jupyter\lab |
Ah, the paths were all not propperly escaped.... julia> run(Cmd(IJulia.notebook_cmd))
[W 11:17:49.275 NotebookApp] Error loading server extension jlstaticserve
Traceback (most recent call last):
File "C:\Users\sdani\.julia\v0.6\Conda\deps\usr\lib\site-packages\notebook\notebookapp.py", line 1481, in init_server_extensions
mod = importlib.import_module(modulename)
File "C:\Users\sdani\.julia\v0.6\Conda\deps\usr\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named jlstaticserve
[I 11:17:49.309 NotebookApp] JupyterLab beta preview extension loaded from C:\Users\sdani\.julia\v0.6\Conda\deps\usr\lib\site-packages\jupyterlab
[I 11:17:49.309 NotebookApp] JupyterLab application directory is C:\Users\sdani\.julia\v0.6\Conda\deps\usr\share\jupyter\lab |
@rdeits's suggestion fixed it for me too, many thanks! |
This fixed my fresh package install, but now I tried it for my usual Julia package directory, and the problem is not fixed |
Well, windows still doesn't work, so I guess there are still other issues hiding ;) |
Could you try #162 after moving the backed up json file back to its original location?
and see if |
Just came here to complain that you ignored the windows problem, but it is actually working now :) Thanks @shashi :) |
I am using Jupyter on MacOS (in Chrome) and getting no output.
If I run
nothing appears.
The text was updated successfully, but these errors were encountered: