DonJayamanne / vscodeJupyter

Jupyter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=donjayamanne.jupyter
MIT License
335 stars 34 forks source link

Code lens run cell link not displayed in VSCode 1.19 (Windows 10) #94

Closed msiers closed 6 years ago

msiers commented 6 years ago

Environment data

VS Code version: 1.19.0 Jupyter Extension version: 1.1.4 OS and version: Windows 10

Actual behavior

Code lens "Run cell" link is not being displayed in text editor above the '#%%' line.

Expected behavior

Run cell link is displayed and can be used to execute the selected cell.

Steps to reproduce:

DonJayamanne commented 6 years ago
msiers commented 6 years ago

I uninstalled and re-installed the Jupyter extension but this did not resolve the issue. I have the Microsoft Python extension installed (version 0.9.0).

I am seeing the following error messages in the console window.

[Extension Host] Here is the error stack: Error: Cannot find module 'untildify' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Function.J.X.t.getExtensionPathIndex.then.o._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:490:709) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (C:\Users\msiers.vscode\extensions\ms-python.python-0.9.0\out\client\common\configSettings.js:10:19) at Object. (C:\Users\msiers.vscode\extensions\ms-python.python-0.9.0\out\client\common\configSettings.js:325:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Function.J.X.t.getExtensionPathIndex.then.o._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:490:709) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (C:\Users\msiers.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:16:18) at Object. (C:\Users\msiers.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:192:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3)

From: Don Jayamanne [mailto:notifications@github.com] Sent: Monday, December 18, 2017 3:16 PM To: DonJayamanne/vscodeJupyter vscodeJupyter@noreply.github.com Cc: Michael J. Siers msiers@saturnsys.com; Author author@noreply.github.com Subject: Re: [DonJayamanne/vscodeJupyter] Code lens run cell link not displayed in VSCode 1.19 (Windows 10) (#94)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DonJayamanne/vscodeJupyter/issues/94#issuecomment-352559644, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ64b7R_IJ3anreTozNqk-7RnGesIudeks5tBtX2gaJpZM4RGDee.

msiers commented 6 years ago

Here is another message I am seeing in the console log. This is reported for other Jupyter extension functions as well.

/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4054 [C:\Users\msiers.vscode\extensions\ms-python.python-0.9.0]: Command jupyter.execCurrentCell appears multiple times in the commands section.

From: Don Jayamanne [mailto:notifications@github.com] Sent: Monday, December 18, 2017 3:16 PM To: DonJayamanne/vscodeJupyter vscodeJupyter@noreply.github.com Cc: Michael J. Siers msiers@saturnsys.com; Author author@noreply.github.com Subject: Re: [DonJayamanne/vscodeJupyter] Code lens run cell link not displayed in VSCode 1.19 (Windows 10) (#94)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DonJayamanne/vscodeJupyter/issues/94#issuecomment-352559644, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ64b7R_IJ3anreTozNqk-7RnGesIudeks5tBtX2gaJpZM4RGDee.

DonJayamanne commented 6 years ago

[Extension Host] Here is the error stack: Error: Cannot find module 'untildify'

This is the error. looks like the extension didn't get installed correctly. Please uninstall both extensions, reload vs code. Install the Python extension first, then the jupyter extension.

msiers commented 6 years ago

Thanks. Uninstalling and reinstalling both extensions resolved the issue.

From: Don Jayamanne [mailto:notifications@github.com] Sent: Monday, December 18, 2017 3:32 PM To: DonJayamanne/vscodeJupyter vscodeJupyter@noreply.github.com Cc: Michael J. Siers msiers@saturnsys.com; Author author@noreply.github.com Subject: Re: [DonJayamanne/vscodeJupyter] Code lens run cell link not displayed in VSCode 1.19 (Windows 10) (#94)

[Extension Host] Here is the error stack: Error: Cannot find module 'untildify'

This is the error. looks like the extension hasn't been installed correctly. Please uninstall both extensions, reload vs code. Install the Python extension first, then the jupyter extension.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DonJayamanne/vscodeJupyter/issues/94#issuecomment-352564004, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ64b6wYU19D3GC9qzDtlf2rF6B7Kajhks5tBtnpgaJpZM4RGDee.