You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't open lpystudio under Python 3.8. The issue seems to be related to an incompatibility with jupyter-client.
Below the error log:
from openalea.lpy.gui.lpystudio import main
main()
Traceback (most recent call last):
File "~\envs\py38\lib\site-packages\traitlets\traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'iopub_socket'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "~\envs\py38\lib\site-packages\traitlets\traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'iopub_thread'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "\py38\lib\site-packages\openalea.lpy-3.4.0-py3.8.egg\openalea\lpy\gui\lpystudio.py", line 1095, in main
w = LPyWindow()
File "\envs\py38\lib\site-packages\openalea.lpy-3.4.0-py3.8.egg\openalea\lpy\gui\lpystudio.py", line 106, in __init__
lpydock.initDocks(self)
File "\envs\py38\lib\site-packages\openalea.lpy-3.4.0-py3.8.egg\openalea\lpy\gui\lpydock.py", line 84, in initDocks
set_shell_widget(lpywidget)
File "\envs\py38\lib\site-packages\openalea.lpy-3.4.0-py3.8.egg\openalea\lpy\gui\lpyshell.py", line 41, in set_shell_widget
ipython_widget = LpyShellWidget(lpywidget.interpreterDock)
File "\envs\py38\lib\site-packages\openalea.lpy-3.4.0-py3.8.egg\openalea\lpy\gui\lpyshell.py", line 24, in __init__
self.kernel_manager.start_kernel(show_banner=False)
File "\envs\py38\lib\site-packages\ipykernel\inprocess\manager.py", line 46, in start_kernel
self.kernel = InProcessKernel(parent=self, session=self.session)
File "\envs\py38\lib\site-packages\ipykernel\inprocess\ipkernel.py", line 72, in __init__
super(InProcessKernel, self).__init__(**traits)
File "\envs\py38\lib\site-packages\ipykernel\ipkernel.py", line 71, in __init__
self.shell.displayhook.pub_socket = self.iopub_socket
File "\envs\py38\lib\site-packages\traitlets\traitlets.py", line 556, in __get__
return self.get(obj, cls)
File "\envs\py38\lib\site-packages\traitlets\traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "\envs\py38\lib\site-packages\ipykernel\inprocess\ipkernel.py", line 67, in _default_iopub_socket
return self.iopub_thread.background_socket
File "\envs\py38\lib\site-packages\traitlets\traitlets.py", line 556, in __get__
return self.get(obj, cls)
File "\envs\py38\lib\site-packages\traitlets\traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "\envs\py38\lib\site-packages\ipykernel\inprocess\ipkernel.py", line 59, in _default_iopub_thread
thread = IOPubThread(self._underlying_iopub_socket)
File "\envs\py38\lib\site-packages\ipykernel\iostream.py", line 71, in __init__
self._setup_event_pipe()
File "\envs\py38\lib\site-packages\ipykernel\iostream.py", line 90, in _setup_event_pipe
self._event_puller = ZMQStream(pipe_in, self.io_loop)
File "\envs\py38\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "\envs\py38\lib\site-packages\zmq\eventloop\zmqstream.py", line 552, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "\envs\py38\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "\envs\py38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
I'm running openalea.plantgl and openalea.lpy from @fredboudon sources under Win 10.
I can't open lpystudio under Python 3.8. The issue seems to be related to an incompatibility with jupyter-client.
Below the error log:
I'm running openalea.plantgl and openalea.lpy from @fredboudon sources under Win 10.
The text was updated successfully, but these errors were encountered: