-
Notifications
You must be signed in to change notification settings - Fork 24
snippets manager keeps leftover trash after being uninstalled... Cannot get rid of errors from Elyra days... #252
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Found a solution in this post. You must remove the extra file leftover from a previous installation. The user-settings directory had a very old snippets config folder and file in it. Deleting that removed it from the Jupyter GUI. See below from: jupyterlab/jupyterlab#4126 "there are probably stale settings files from a previous install (the editor settings JSON structure did change recently). You may find them in $HOME/.jupyter/lab/user-settings " ######################################################## michaelaye opened this issue on Mar 6, 2018 · 3 comments [W 11:26:11.545 LabApp] Additional properties are not allowed ('lineWrap' was unexpected)
and when I look at the jupyterlab advanced settings editor, I see that it's set to True, but as you can see from the screenshot, that's what the settings came with, I didn't change anything, so what's this about? Note that I previously installed alpha versions of j-lab, could this be a setting stored in non-conda folders that don't get wiped during a conda reinstall (which I do regularly for having a clean reproducible environment)? j-lab version: 0.31.11-py36_1 conda-forge ian-r-rose commented [on Mar 6, 2018]( jupyterlab/jupyterlab#4126 (comment)) Hi @michaelaye, I suspect you are right: there are probably stale settings files from a previous install (the editor settings JSON structure did change recently). You may find them in $HOME/.jupyter/lab/user-settings |
Describe the bug
I want to love this extension, but its still got Elyra disease. The first time I ever installed it in the original Elyra format it corrupted my system permanently, eventually requiring me to remove and re-install Anaconda.
Sometimes it works and other times it works for a while and then breaks (and leaves the following errors at the bottom of this post). I have installed it at least 10 times in different conda environments over the past 4 years and about 4-5 times it ends up getting corrupted for some reason I have not been able to determine.
This current installation has been throwing the same error (below) for months now. Tonight (again) I tried to eradicate it, and after uninstalling it completely using the recommended command "jupyter labextension uninstall jupyterlab-code-snippets", the error still persists. The uninstall command finishes as though it succeeded. I even tried "pip uninstall jupyterlab-code-snippets", which says that it no longer exists.
It shows up after removing it and restarting the server a few times. I thought all traces of an extension are supposed to disappear after they are uninstalled?
Where do I remove this from the Jupyter "System Defaults" configuration file?
####################
Configuration settings:
(base) C:\Windows\system32>jupyter --paths --json
{"runtime": ["C:\Users\PowerUser\AppData\Roaming\jupyter\runtime"], "config": ["C:\Users\PowerUser\.jupyter", "C:\Users\PowerUser\AppData\Roaming\Python\etc\jupyter", "C:\ProgramData\Anaconda3\etc\jupyter", "C:\ProgramData\jupyter"], "data": ["C:\Users\PowerUser\AppData\Roaming\jupyter", "C:\Users\PowerUser\AppData\Roaming\Python\share\jupyter", "C:\ProgramData\Anaconda3\share\jupyter", "C:\ProgramData\jupyter"]}
(base) C:\Windows\system32>
#####################################
(base) C:\Windows\system32>jupyter --version
Selected Jupyter core packages...
IPython : 8.12.0
ipykernel : 6.22.0
ipywidgets : 8.0.6
jupyter_client : 8.2.0
jupyter_core : 5.3.0
jupyter_server : 2.5.0
jupyterlab : 3.5.3
nbclient : 0.7.3
nbconvert : 7.3.1
nbformat : 5.8.0
notebook : 6.5.4
qtconsole : 5.4.2
traitlets : 5.9.0
Python 3.9.16
Windows 10 Professional
Browsers: Firefox

Chrome
Edge Version 112.0.1722.48 (Official build) (64-bit) (latest.)
#######################################
LabApp] Failed validating settings (jupyterlab-code-snippets:snippets): Additional properties are not allowed ('snippetPreviewFontSize' was unexpected)
[W 2023-04-20 01:56:21.155 LabApp] Failed validating settings (jupyterlab-code-snippets:snippets): Additional properties are not allowed ('snippetPreviewFontSize' was unexpected)
[I 2023-04-20 01:56:22.887 LabApp] Build is up to date
[W 2023-04-20 01:56:29.766 LabApp] Failed validating settings (jupyterlab-code-snippets:snippets): Additional properties are not allowed ('snippetPreviewFontSize' was unexpected)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: