When I'm going to execute an instruction in jupyter, when I access it through the page, but by VSCode I don't

Jupyter Server worked well
Cannot read property 'makeSettings' of undefined
onDidChangeNotification @ notificationsAlerts.ts:40
(anonymous) @ notificationsAlerts.ts:26
fire @ event.ts:587
addNotification @ notifications.ts:207
notify @ notificationService.ts:106
(anonymous) @ mainThreadMessageService.ts:83
_showMessage @ mainThreadMessageService.ts:44
$showMessage @ mainThreadMessageService.ts:38
_doInvokeHandler @ rpcProtocol.ts:402
_invokeHandler @ rpcProtocol.ts:387
_receiveRequest @ rpcProtocol.ts:303
_receiveOneMessage @ rpcProtocol.ts:230
(anonymous) @ rpcProtocol.ts:105
fire @ event.ts:587
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:587
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:203
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:276
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166
@trfiladelfo Thanks for reporting this and sorry about the issue. That's an odd issue. Looks like it's maybe not loading Jupyter lab correctly as the makeSettings should be coming directly off the ServerConnection. Could you do a favor for me? When this issue repros could you go to help->Toggle Developer Tools and look at the "Console" tab? If you right click in that tab you should be able to save the log as a file. Then you can attach that file into a comment here. That would help me to diagnose this.
Hi @IanMatthewHuff , good afternoon. :)
Thanks for reply my issue, i'm attach the log file.
-1595357470162.log
@trfiladelfo Thanks for providing that log. The root cause of that error is still a little fishy to me. In the log I am seeing a couple of issues that might be related so maybe we can clean up those issue to hopefully either fix the issue or at least clear up the log some.
For starters in the log I see this:
notificationsAlerts.ts:40 You have selected the macOS system install of Python, which is not recommended for use with the Python extension. Some functionality will be limited, please select a different interpreter.
If you are still using that I would recommend installing a newer version of python 3 from the python website. The MacOS system install is a rather old version of Python 2 and is not the best choice for any development.
Also the log is full of errors like this:
log.ts:197 ERR Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
at JsonTreeViewProvider.onDocumentChanged (/Users/trfiladelfo/.vscode/extensions/chaunceykiwi.json-tree-view-2.6.0/src/jsonTreeView.ts:121:21)
at /Users/trfiladelfo/.vscode/extensions/chaunceykiwi.json-tree-view-2.6.0/src/jsonTreeView.ts:22:56
at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:45:801)
at t.ExtHostDocuments.$acceptModelChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:651:742)
at m._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:801:683)
at m._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:801:375)
at m._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:800:14)
at m._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:798:832)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:797:34
These errors all look to be coming from a different extension. chaunceykiwi.json-tree-view. These error are all over the log, so maybe disable that extension for now. So could you try your scenario again with a non macOS system install of python and with that extension disable? If it fails again in that case just pull the log from the same location.
@IanMatthewHuff Thanks very much!!
I have disabled all extensions, then it worked again :)
As I have enough, I will then take the test enabling one by one to see which is really causing this conflict.
Att, the first test I did was to disable the JsonTreeview, but still did not start the server. There are more extensions that conflict.
But now it's back up and running, @IanMatthewHuff thanks very very much 馃憤
@trfiladelfo Thanks for providing that log. The root cause of that error is still a little fishy to me. In the log I am seeing a couple of issues that might be related so maybe we can clean up those issue to hopefully either fix the issue or at least clear up the log some.
For starters in the log I see this:
notificationsAlerts.ts:40 You have selected the macOS system install of Python, which is not recommended for use with the Python extension. Some functionality will be limited, please select a different interpreter.
If you are still using that I would recommend installing a newer version of python 3 from the python website. The MacOS system install is a rather old version of Python 2 and is not the best choice for any development.
Also the log is full of errors like this:
log.ts:197 ERR Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
at JsonTreeViewProvider.onDocumentChanged (/Users/trfiladelfo/.vscode/extensions/chaunceykiwi.json-tree-view-2.6.0/src/jsonTreeView.ts:121:21)
at /Users/trfiladelfo/.vscode/extensions/chaunceykiwi.json-tree-view-2.6.0/src/jsonTreeView.ts:22:56
at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:45:801)
at t.ExtHostDocuments.$acceptModelChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:651:742)
at m._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:801:683)
at m._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:801:375)
at m._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:800:14)
at m._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:798:832)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:797:34These errors all look to be coming from a different extension. chaunceykiwi.json-tree-view. These error are all over the log, so maybe disable that extension for now. So could you try your scenario again with a non macOS system install of python and with that extension disable? If it fails again in that case just pull the log from the same location.
I found the extension here causes conflict: GitDuck
same error
disabled gitduck was the solution...
Most helpful comment
same error
disabled gitduck was the solution...