cbouy / mols2grid

Interactive molecule viewer for 2D structures
https://mols2grid.readthedocs.io
Apache License 2.0
206 stars 25 forks source link

Using mols2grid in Google Colab #58

Closed PatWalters closed 9 months ago

PatWalters commented 9 months ago

Is there a trick to getting mols2grid to run in Colab? I've been having trouble with this notebook. https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/matched_molecular_series.ipynb When I run this notebook locally or on a server, it works. However, when I try to run in Colab, I get a "runtime disconnected" message for the cell below the title "Display the scaffolds". Strangely though, the other cell with a mols2grid instance, below the title "View Matched Molecular Series" seems to work. Any advice would be greatly appreciated. Thanks!

cbouy commented 9 months ago

Hi @PatWalters

I'm getting an error at the installation step if I try to run the notebook on Colab:

>>> if IN_COLAB:
>>>    !pip install pandas requests rdkit useful_rdkit_utils mols2grid

...

Collecting useful_rdkit_utils
  Downloading useful_rdkit_utils-0.3.0.tar.gz (5.0 MB)

...

Building wheels for collected packages: useful_rdkit_utils
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for useful_rdkit_utils (setup.py) ... error
  ERROR: Failed building wheel for useful_rdkit_utils
  Running setup.py clean for useful_rdkit_utils
Failed to build useful_rdkit_utils
ERROR: Could not build wheels for useful_rdkit_utils, which is required to install pyproject.toml-based projects

Do I need a specific version for this step to work?

PatWalters commented 9 months ago

Sorry, the build system for useful_rdkit_utils needed to be updated. I've now migrated from setup.py to pyproject.toml. I did a bunch of tests and everything works now. I looked at the logs from Colab and it looks like there's a websocket error, have you seen this before?

Timestamp,Level,Message
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 4:04:35 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 4:04:35 PM",WARNING,    await fut
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 4:04:35 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 4:04:35 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,    result = coro.throw(exc)
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 234, in __step"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 4:04:35 PM",WARNING,    future.result()
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 304, in __wakeup"
"Sep 16, 2023, 4:04:35 PM",WARNING,    await fut
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 4:04:35 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 4:04:35 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 4:04:35 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 4:04:35 PM",WARNING,    await fut
"Sep 16, 2023, 4:04:35 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 4:04:35 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:04:35 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 4:04:35 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 4:04:34 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:77beb1a3-e414-4927-b4e6-801145fad33b
"Sep 16, 2023, 4:04:33 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 4:01:14 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 4:01:14 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 4:01:14 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 4:01:14 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:01:14 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 4:01:14 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 4:01:14 PM",WARNING,    await fut
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 4:01:14 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:01:14 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 4:01:14 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 4:01:14 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 4:01:14 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 4:01:14 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 4:01:14 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:01:14 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 4:01:14 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 4:01:14 PM",WARNING,    await fut
"Sep 16, 2023, 4:01:14 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 4:01:14 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 4:01:14 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 4:01:14 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 1:20:55 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 1:20:55 PM",WARNING,    await fut
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 1:20:55 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 1:20:55 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 1:20:55 PM",WARNING,    await fut
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 1:20:55 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 1:20:55 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 1:20:55 PM",WARNING,    await fut
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 1:20:55 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 1:20:55 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 1:20:55 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 1:20:55 PM",WARNING,    await fut
"Sep 16, 2023, 1:20:55 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 1:20:55 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 1:20:55 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 1:20:55 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 1:20:55 PM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:438a9794-25f6-412d-ec5e-a14c11f6b4aa
"Sep 16, 2023, 1:20:54 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:438a9794-25f6-412d-ec5e-a14c11f6b4aa
"Sep 16, 2023, 1:20:54 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 1:20:54 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 1:20:51 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 12:39:22 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:39:22 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:39:22 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:39:22 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:39:22 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:39:22 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:39:22 PM",WARNING,    await fut
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:39:22 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:39:22 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:39:22 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:39:22 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:39:22 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:39:22 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:39:22 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:39:22 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:39:22 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:39:22 PM",WARNING,    await fut
"Sep 16, 2023, 12:39:22 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:39:22 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:39:22 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:39:22 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:39:22 PM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:d731ebb5-2b33-476e-dd93-69e7b9414985
"Sep 16, 2023, 12:39:21 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:d731ebb5-2b33-476e-dd93-69e7b9414985
"Sep 16, 2023, 12:39:20 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 12:38:59 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:38:59 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:38:59 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:38:59 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:59 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:38:59 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:38:59 PM",WARNING,    await fut
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:38:59 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:59 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:38:59 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:38:59 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:38:59 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:38:59 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:38:59 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:59 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:38:59 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:38:59 PM",WARNING,    await fut
"Sep 16, 2023, 12:38:59 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:38:59 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:59 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:38:59 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:38:59 PM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:c603740c-0326-4ea4-9cb4-516a7521c6ef
"Sep 16, 2023, 12:38:58 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:c603740c-0326-4ea4-9cb4-516a7521c6ef
"Sep 16, 2023, 12:38:57 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:38:26 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:38:26 PM",WARNING,    await fut
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:38:26 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:38:26 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:38:26 PM",WARNING,    await fut
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:38:26 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:38:26 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:38:26 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:38:26 PM",WARNING,    await fut
"Sep 16, 2023, 12:38:26 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:38:26 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:38:26 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:38:26 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:38:26 PM",INFO,Discarding 29 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:a0a15318-41bd-49c6-f674-e43a7ee6d1b4
"Sep 16, 2023, 12:38:25 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:a0a15318-41bd-49c6-f674-e43a7ee6d1b4
"Sep 16, 2023, 12:38:25 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 12:38:23 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 12:31:43 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:31:43 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:31:43 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:31:43 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:31:43 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:31:43 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:31:43 PM",WARNING,    await fut
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:31:43 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:31:43 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:31:43 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:31:43 PM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 12:31:43 PM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 12:31:43 PM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 12:31:43 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:31:43 PM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 12:31:43 PM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 12:31:43 PM",WARNING,    await fut
"Sep 16, 2023, 12:31:43 PM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 12:31:43 PM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 12:31:43 PM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 12:31:43 PM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 12:31:43 PM",INFO,Discarding 3 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:190fdfaa-84bf-49e2-bbd5-8f3573000ea2
"Sep 16, 2023, 12:31:42 PM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:190fdfaa-84bf-49e2-bbd5-8f3573000ea2
"Sep 16, 2023, 12:31:41 PM",WARNING,Got events for closed stream 
"Sep 16, 2023, 11:55:31 AM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 11:55:31 AM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 11:55:31 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 11:55:31 AM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 11:55:31 AM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 11:55:31 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:55:31 AM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 11:55:31 AM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 11:55:31 AM",WARNING,    await fut
"Sep 16, 2023, 11:55:31 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 11:55:31 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:55:31 AM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 11:55:31 AM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 11:36:10 AM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:236ebec6-c49e-4f2d-bedb-e64dad6ba8ff
"Sep 16, 2023, 11:36:08 AM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:236ebec6-c49e-4f2d-bedb-e64dad6ba8ff
"Sep 16, 2023, 11:35:50 AM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 11:35:50 AM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 11:35:50 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 11:35:50 AM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 11:35:50 AM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 11:35:50 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:35:50 AM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 11:35:50 AM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 11:35:50 AM",WARNING,    await fut
"Sep 16, 2023, 11:35:50 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 11:35:50 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:35:50 AM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 11:35:50 AM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 11:34:57 AM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:6ee1a16a-6069-4d9c-88c9-aa9723d0a837
"Sep 16, 2023, 11:34:55 AM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:6ee1a16a-6069-4d9c-88c9-aa9723d0a837
"Sep 16, 2023, 11:34:38 AM",WARNING,tornado.websocket.WebSocketClosedError
"Sep 16, 2023, 11:34:38 AM",WARNING,    raise WebSocketClosedError()
"Sep 16, 2023, 11:34:38 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1089, in wrapper"
"Sep 16, 2023, 11:34:38 AM",WARNING,    result = coro.send(None)
"Sep 16, 2023, 11:34:38 AM",WARNING,"  File ""/usr/lib/python3.10/asyncio/tasks.py"", line 232, in __step"
"Sep 16, 2023, 11:34:38 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:34:38 AM",WARNING,"During handling of the above exception, another exception occurred:"
"Sep 16, 2023, 11:34:38 AM",WARNING,tornado.iostream.StreamClosedError: Stream is closed
"Sep 16, 2023, 11:34:38 AM",WARNING,    await fut
"Sep 16, 2023, 11:34:38 AM",WARNING,"  File ""/usr/local/lib/python3.10/dist-packages/tornado/websocket.py"", line 1087, in wrapper"
"Sep 16, 2023, 11:34:38 AM",WARNING,Traceback (most recent call last):
"Sep 16, 2023, 11:34:38 AM",WARNING,"future: .wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>"
"Sep 16, 2023, 11:34:38 AM",WARNING,Task exception was never retrieved
"Sep 16, 2023, 11:34:38 AM",INFO,Discarding 1 buffered messages for 923870d1-c48a-4a07-8730-84b4f378f65e:d459946b-a65b-40d9-eaff-c59a6bc0ffcc
"Sep 16, 2023, 11:34:37 AM",INFO,Starting buffering for 923870d1-c48a-4a07-8730-84b4f378f65e:d459946b-a65b-40d9-eaff-c59a6bc0ffcc
"Sep 16, 2023, 11:29:39 AM",INFO,"Kernel started: 923870d1-c48a-4a07-8730-84b4f378f65e, name: python3"
"Sep 16, 2023, 11:28:57 AM",INFO,Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
"Sep 16, 2023, 11:28:57 AM",INFO,http://172.28.0.12:9000/
"Sep 16, 2023, 11:28:57 AM",INFO,Jupyter Notebook 6.5.5 is running at:
"Sep 16, 2023, 11:28:57 AM",INFO,Serving notebooks from local directory: /
"Sep 16, 2023, 11:28:57 AM",INFO,Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
"Sep 16, 2023, 11:28:57 AM",INFO,http://172.28.0.2:9000/
"Sep 16, 2023, 11:28:57 AM",INFO,Jupyter Notebook 6.5.5 is running at:
"Sep 16, 2023, 11:28:57 AM",INFO,Serving notebooks from local directory: /
"Sep 16, 2023, 11:28:52 AM",INFO,google.colab serverextension initialized.
"Sep 16, 2023, 11:28:52 AM",INFO,"Authentication of /metrics is OFF, since other authentication is disabled."
"Sep 16, 2023, 11:28:52 AM",INFO,Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
"Sep 16, 2023, 11:28:52 AM",WARNING,        /root/.jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /root/.local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",INFO,google.colab serverextension initialized.
"Sep 16, 2023, 11:28:52 AM",INFO,"Authentication of /metrics is OFF, since other authentication is disabled."
"Sep 16, 2023, 11:28:52 AM",INFO,Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
"Sep 16, 2023, 11:28:52 AM",WARNING,        /root/.jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /root/.local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json
"Sep 16, 2023, 11:28:52 AM",WARNING,        /etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.764 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.764 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.759 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.758 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.760 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.760 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.759 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.757 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.759 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.757 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.757 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.757 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.756 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.752 NotebookApp] Looking for jupyter_config in /root/.jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.752 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.754 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.751 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.753 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.751 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.749 NotebookApp] Looking for jupyter_config in /root/.jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.749 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.749 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.740 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.740 NotebookApp] Looking for jupyter_config in /etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.740 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,[D 15:28:51.738 NotebookApp] Looking for jupyter_config in /etc/jupyter
"Sep 16, 2023, 11:28:51 AM",WARNING,"[D 15:28:51.732 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files"
"Sep 16, 2023, 11:28:51 AM",WARNING,"[D 15:28:51.732 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files"
PatWalters commented 9 months ago

@cbouy, I figured it out. The dataframe was too big. If I only look at the first 100 molecules, everything works. Sorry for the hassle.

cbouy commented 9 months ago

No worries, unfortunately pre-rendering the images takes up quite a bit of memory, not much I can do about this one :/