-
Notifications
You must be signed in to change notification settings - Fork 2
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
Debugger slows down Jupyterlab #77
Comments
This extension (citation-manager) has nothing to do with the debugger. However, I know how to resolve the warning you are seeing:
Note, this does not mean that the debugger is on. However, from the warning I can say that you are running Python 3.11+. If you do not see the warning, nor slowness in another environment you have either created it recently with the update ipykernel, or have an older Python version.
Can you share the full logs after running |
If anything is slowing down the startup that would likely be the scanning for citation style files: jupyterlab-citation-manager/jupyterlab_citation_manager/styles.py Lines 60 to 83 in 1883d78
It should be possible to make all the logic |
Updating ipykernel effectively removed the debugger lines in the terminal. I think you are right, the huge lag comes from the Zotero sync or at least from what I understand. It's very laggy and freezes the server when you have multiple notebooks open, and you switch between them. Is that because of the I will try to dive a bit more in this in the coming weeks. |
There is also a bunch of non-citable content that is being fetched from the API. I can see annotations from pdf and notes and have to carefully select the good zotero item. Could that be also a reason why the sync is so slow? Is there a way to return only the citable content? |
Hi,
First of all, thank you for this awesome extension. I just installed the latest version V1.0.0 and somehow the extension is considerably slowing down my JupyterLab server. Sometimes it makes it freeze. The following lines are in the terminal log which indicates that some sort of debugger is on.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
I am certain it is from this extension, as I do not experience this problem when the extension is disabled. Not sure what causes this but wonder if we can disable it, at a software level. Maybe downgrading to a more stable version?
I am a mac user, on M1pro chip.
The text was updated successfully, but these errors were encountered: