Closed charlyms closed 7 years ago
@charlyms Could could you please show me the Jupyter Notebook version you are using? if the version you are using is >=4.3.0, please downgrade jupyter and try it again. thanks
Hello, I got this output: charlyms@ubuntu:~$ pip freeze | grep jupyter jupyter==1.0.0 jupyter-client==4.4.0 jupyter-console==5.0.0 jupyter-core==4.2.1 charlyms@ubuntu:~$ Can you please advice me how to downgrade? Regards from Germany Chrlyms
@charlyms actually the notebook version can be accessed by "pip show notebook" and to downgrade just do "pip install notebook==4.2.3" this should be work. Please check the notebook version first, if the version is not the problem, we can look at something else.
cheers
Hello, sorry, I am surprised by the output: charlyms@ubuntu:~$ pip show notebook Name: notebook Version: 4.2.3 Summary: A web-based notebook environment for interactive computing Home-page: http://jupyter.org Author: Jupyter Development Team Author-email: jupyter@googlegroups.com License: BSD Location: /home/charlyms/.local/lib/python2.7/site-packages Requires: ipykernel, jupyter-core, traitlets, tornado, ipython-genutils, jupyter-client, nbformat, nbconvert, jinja2, terminado charlyms@ubuntu:~$ I am afraid, Jupyter seems not to be the culprit (?) can you please tell me on wich distr you run vizic successfully? I had a short unseccessfull attempt on Fedora either. Regards Charlyms
@charlyms Hey, I am sorry for this issue. But the configuration I had was python 3.4, Ubuntu 14.04. I think the error might comes from the dependencies. Please let me know if still not working, I can try it out with your configuration.
Also here: PermissionError: [Errno 13] Permission denied: '/home/charlyms/.cache/matplotlib/fontList.py3k.cache' may it help if you run jupyter under root?
Running vizic as root didn´t solve the problem but deleting the file "fontList.py3k.cache". Nevertheless Igot the same errors running the notebook. Is something wrong with your connection.py? Please look again at this output in the notebook: ---> 17 self.change_db(db) 18 except ConnectionFailure as err: 19 print('Error: Connection to MongoDB instance is refused!') I assume with no connection the programm will not work at all. Please try it out with my configuration! Regards Charlyms
@charlyms last place to check, did you have a mongodb instance running?
@charlyms hi, I have also tested with your configuration inside a docker container (ubuntu 16.04, python 3.5), here i attached the Dockerfile. I have seen no problems with a fresh build.I will assume the error might still comes from the permission.
if you have anymore questions, please let me know.
best,
Hello, I am afraid something went wrong with my Installation of vizic on Ubuntu 16.04 64 bit. I am not familiar with python that much, can you please figure uot, what exactly went wrong? The output from terminal: charlyms@ubuntu:~/Downloads/vizic/examples$ jupyter notebook --NotebookApp.server_extensions="['vizic.mongo_ext.extension']" [W 07:15:47.440 NotebookApp] server_extensions is deprecated, use nbserver_extensions [I 07:15:47.609 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
WARNING: version mismatch between CFITSIO header (v3.39) and linked library (v3.37).
WARNING: version mismatch between CFITSIO header (v3.39) and linked library (v3.37).
WARNING: version mismatch between CFITSIO header (v3.39) and linked library (v3.37).
/usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') /usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') /usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') /usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') [W 07:17:11.041 NotebookApp] Error loading server extension vizic.mongo_ext.extension Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py", line 1416, in
_rebuild()
File "/usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py", line 1408, in _rebuild
pickle_dump(fontManager, _fmcache)
File "/usr/local/lib/python3.5/dist-packages/matplotlib/font_manager.py", line 956, in pickle_dump
with open(filename, 'wb') as fh:
PermissionError: [Errno 13] Permission denied: '/home/charlyms/.cache/matplotlib/fontList.py3k.cache'
[I 07:17:11.856 NotebookApp] Serving notebooks from local directory: /home/charlyms/Downloads/vizic/examples [I 07:17:11.858 NotebookApp] 0 active kernels [I 07:17:11.859 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/ [I 07:17:11.859 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 07:17:45.787 NotebookApp] Kernel started: 9c7d9bf7-8259-4f63-b00a-b10d91353082 [W 07:17:55.939 NotebookApp] Timeout waiting for kernel_info reply from 9c7d9bf7-8259-4f63-b00a-b10d91353082
Jupyter output:
Kind regards from Germany Charlyms