Re: Can not import leo.plugins.importers.ipynb
Thanks for the fast response, i've got installed python3-traitlets package v.5.0.5-1 (Debian package are a bit outdated) but on your explanation i feel smooth. Go Leo. Thanks again! Il giorno martedì 17 maggio 2022 alle 18:55:19 UTC+2 tbp1...@gmail.com ha scritto: > You are seeing an error in the "traitlets" package, not really a Leo > error. I just did a fresh install on Windows, and the code in the > traitlets _version.py file is a little different from what your error > message shows. Perhaps you could try updating traitlets to the latest > version (5.2.0 on my system). > > This error would only matter if you want to use Jupyter notebooks. > Otherwise Leo should work correctly, even though it is annoying to get the > long error message every time you start up. > > On Tuesday, May 17, 2022 at 6:50:25 AM UTC-4 robo...@gmail.com wrote: > >> Hello! >> I've just installed Leo Editor on Debian 11 64bit, >> i think that alll dependencies are respected but on >> launch i got this error on Log window (the same on terminal >> when launch Leo Editor from there) >> i don't understant what is wrong... >> (sorry for poor english...) >> Thank's for any answer. >> >> Leo Log Window >> Leo 6.6.2-devel, devel branch, build 960f01c311 >> 2022-05-13 15:06:33 -0500 >> Python 3.9.2, PyQt version 5.15.2 >> linux >> can not import leo.plugins.importers.ipynb >> can not import leo.plugins.importers.ipynb >> setting leoID from os.getenv('USER'): 'kako' >> home: /home/kako >> leo-editor: /home/kako/leo-editor >> load: /home/kako/leo-editor/leo/core >> config: /home/kako/leo-editor/leo/config >> reading settings in /home/kako/leo-editor/leo/config/leoSettings.leo >> reading settings in /home/kako/.leo/myLeoSettings.leo >> Traceback (most recent call last): >> File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in >> loadOnePluginHelper >> __import__(moduleName) >> File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in >> >> import nbformat >> File >> "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line >> 9, in >> from traitlets.log import get_logger >> File >> "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line >> 5, in >> from ._version import __version__, version_info >> File >> "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line >> 7, in >> assert __version__ == ( >> AssertionError >> reading settings in /home/kako/.leo/myLeoSettings.leo >> Traceback (most recent call last): >> File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in >> loadOnePluginHelper >> __import__(moduleName) >> File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in >> >> import nbformat >> File >> "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line >> 9, in >> from traitlets.log import get_logger >> File >> "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line >> 5, in >> from ._version import __version__, version_info >> File >> "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line >> 7, in >> assert __version__ == ( >> AssertionError >> read outline in 0.06 seconds > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/c11459ff-ce36-48b2-8066-e41d715d5628n%40googlegroups.com.
Re: Can not import leo.plugins.importers.ipynb
You are seeing an error in the "traitlets" package, not really a Leo error. I just did a fresh install on Windows, and the code in the traitlets _version.py file is a little different from what your error message shows. Perhaps you could try updating traitlets to the latest version (5.2.0 on my system). This error would only matter if you want to use Jupyter notebooks. Otherwise Leo should work correctly, even though it is annoying to get the long error message every time you start up. On Tuesday, May 17, 2022 at 6:50:25 AM UTC-4 robo...@gmail.com wrote: > Hello! > I've just installed Leo Editor on Debian 11 64bit, > i think that alll dependencies are respected but on > launch i got this error on Log window (the same on terminal > when launch Leo Editor from there) > i don't understant what is wrong... > (sorry for poor english...) > Thank's for any answer. > > Leo Log Window > Leo 6.6.2-devel, devel branch, build 960f01c311 > 2022-05-13 15:06:33 -0500 > Python 3.9.2, PyQt version 5.15.2 > linux > can not import leo.plugins.importers.ipynb > can not import leo.plugins.importers.ipynb > setting leoID from os.getenv('USER'): 'kako' > home: /home/kako > leo-editor: /home/kako/leo-editor > load: /home/kako/leo-editor/leo/core > config: /home/kako/leo-editor/leo/config > reading settings in /home/kako/leo-editor/leo/config/leoSettings.leo > reading settings in /home/kako/.leo/myLeoSettings.leo > Traceback (most recent call last): > File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in > loadOnePluginHelper > __import__(moduleName) > File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in > > import nbformat > File > "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line > 9, in > from traitlets.log import get_logger > File > "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line > 5, in > from ._version import __version__, version_info > File > "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line > 7, in > assert __version__ == ( > AssertionError > reading settings in /home/kako/.leo/myLeoSettings.leo > Traceback (most recent call last): > File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in > loadOnePluginHelper > __import__(moduleName) > File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in > > import nbformat > File > "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line > 9, in > from traitlets.log import get_logger > File > "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line > 5, in > from ._version import __version__, version_info > File > "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line > 7, in > assert __version__ == ( > AssertionError > read outline in 0.06 seconds -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f2f227c7-b516-43da-8342-7cabdb91950an%40googlegroups.com.
Can not import leo.plugins.importers.ipynb
Hello! I've just installed Leo Editor on Debian 11 64bit, i think that alll dependencies are respected but on launch i got this error on Log window (the same on terminal when launch Leo Editor from there) i don't understant what is wrong... (sorry for poor english...) Thank's for any answer. Leo Log Window Leo 6.6.2-devel, devel branch, build 960f01c311 2022-05-13 15:06:33 -0500 Python 3.9.2, PyQt version 5.15.2 linux can not import leo.plugins.importers.ipynb can not import leo.plugins.importers.ipynb setting leoID from os.getenv('USER'): 'kako' home: /home/kako leo-editor: /home/kako/leo-editor load: /home/kako/leo-editor/leo/core config: /home/kako/leo-editor/leo/config reading settings in /home/kako/leo-editor/leo/config/leoSettings.leo reading settings in /home/kako/.leo/myLeoSettings.leo Traceback (most recent call last): File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in loadOnePluginHelper __import__(moduleName) File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in import nbformat File "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line 9, in from traitlets.log import get_logger File "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line 5, in from ._version import __version__, version_info File "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line 7, in assert __version__ == ( AssertionError reading settings in /home/kako/.leo/myLeoSettings.leo Traceback (most recent call last): File "/home/kako/leo-editor/leo/core/leoPlugins.py", line 515, in loadOnePluginHelper __import__(moduleName) File "/home/kako/leo-editor/leo/plugins/viewrendered.py", line 272, in import nbformat File "/home/kako/.local/lib/python3.9/site-packages/nbformat/__init__.py", line 9, in from traitlets.log import get_logger File "/home/kako/.local/lib/python3.9/site-packages/traitlets/__init__.py", line 5, in from ._version import __version__, version_info File "/home/kako/.local/lib/python3.9/site-packages/traitlets/_version.py", line 7, in assert __version__ == ( AssertionError read outline in 0.06 seconds -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/6f43292d-f809-4dd2-b1a6-56b110275fa0n%40googlegroups.com.