Skip to content
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

Doesn't work with jupyter_collaboration #174

Open
keeganmccallum opened this issue Aug 11, 2023 · 0 comments
Open

Doesn't work with jupyter_collaboration #174

keeganmccallum opened this issue Aug 11, 2023 · 0 comments

Comments

@keeganmccallum
Copy link

keeganmccallum commented Aug 11, 2023

Hi there, when I try to use the extension with jupyter_collaboration enabled I get the folloing error:

[E 2023-08-11 10:52:15.662 YDocExtension] Error watching file: Untitled.ipynb
    TypeError("'<' not supported between instances of 'NoneType' and 'datetime.datetime'")
    Traceback (most recent call last):
      File "/home/anon/Downloads/invokeAI/installer_files/env/envs/py310/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 170, in _watch_file
        await self.notify()
      File "/home/anon/Downloads/invokeAI/installer_files/env/envs/py310/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 187, in notify
        await callback("metadata", model)
      File "/home/anon/Downloads/invokeAI/installer_files/env/envs/py310/lib/python3.10/site-packages/jupyter_collaboration/rooms.py", line 190, in _on_content_change
        if event == "metadata" and self._last_modified < args["last_modified"]:
    TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant