Happy New Year! I’m using a local Jupyter notebook in Visual Studio Code for the fastai class. I have experienced the Extension host terminated unexpectedly error when I select a local graphic file and click Open in Windows 10, this works fine in paperspace for a file on my computer. The code is:
uploader = widgets.FileUpload()
uploader
Developer tools shows:
Extension Host localProcessExtensionHost.ts:257
FATAL ERROR: Error::New napi_get_last_error_info localProcessExtensionHost.ts:258
Extension host terminated unexpectedly. Code: 134 Signal: null abstractExtensionService.ts:467
_onExtensionHostCrashed @ abstractExtensionService.ts:431
_onExtensionHostCrashed @ extensionService.ts:160
_onExtensionHostCrashOrExit @ abstractExtensionService.ts:431
(anonymous) @ abstractExtensionService.ts:431
fire @ event.ts:525
_onExtHostProcessExit @ localProcessExtensionHost.ts:516
(anonymous) @ localProcessExtensionHost.ts:265
emit @ events.js:223
ChildProcess._handle.onexit @ internal/child_process.js:272
ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.debug-auto-launch, vscode.emmet, vscode.git, vscode.merge-conflict, vscode.search-result, ms-vscode.js-debug, vscode.github, vscode.github-authentication, ms-vscode-remote.remote-wsl, ms-toolsai.jupyter, ms-python.python log.ts:197
Extension host terminated unexpectedly notificationsAlerts.ts:40
onDidChangeNotification @ notificationsAlerts.ts:36
(anonymous) @ breadcrumbsModel.ts:294
fire @ event.ts:525
addNotification @ notifications.ts:171
notify @ notificationService.ts:68
prompt @ notificationService.ts:148
_onExtensionHostCrashed @ extensionService.ts:210
_onExtensionHostCrashOrExit @ abstractExtensionService.ts:431
(anonymous) @ abstractExtensionService.ts:431
fire @ event.ts:525
_onExtHostProcessExit @ localProcessExtensionHost.ts:516
(anonymous) @ localProcessExtensionHost.ts:265
emit @ events.js:223
ChildProcess._handle.onexit @ internal/child_process.js:272
Extension Host localProcessExtensionHost.ts:257
1: 00007FF60EB8B4CA VR_GetStringForHmdError+219210 localProcessExtensionHost.ts:258
2: 00007FF60E1187B6 node::Buffer::New+43430
3: 00007FF60E118823 node::Buffer::New+43539
4: 00007FF60E1187DC node::Buffer::New+43468
5: 00007FF60EC61715 napi_fatal_error+149
6: 00007FFA8DEB2B09 napi_register_module_v1+62067
7: 00007FFA8DEC80F4 napi_register_module_v1+149598
8: 00007FFA8DEC8725 napi_register_module_v1+151183
9: 00007FFA8DEDD963 napi_register_module_v1+237773
10: 00007FFA8DED48F3 napi_register_module_v1+200797
11: 00007FF60F6D2D7F napi_create_function+879
12: 00007FF60CC8AFAB v8::CFunction::CFunction+206907
13: 00007FF60CC8A438 v8::CFunction::CFunction+203976
14: 00007FF60CC89993 v8::CFunction::CFunction+201251
15: 00007FF60CC895B7 v8::CFunction::CFunction+200263
16: 00007FF60D5CE05C v8_inspector::V8StackTraceId::ToString+2984140
17: 00007FF60D560CF5 v8_inspector::V8StackTraceId::ToString+2536805
18: 00007FF60D560CF5 v8_inspector::V8StackTraceId::ToString+2536805
19: 00007FF60D612E4F v8_inspector::V8StackTraceId::ToString+3266239
20: 00007FF60D5824ED v8_inspector::V8StackTraceId::ToString+2674013
21: 00007FF60D55E6AC v8_inspector::V8StackTraceId::ToString+2527004
22: 00007FF60CD48A96 v8::Unwinder::PCIsInV8+3350
23: 00007FF60CD4913C v8::Unwinder::PCIsInV8+5052
24: 00007FF60CD4923F v8::Unwinder::PCIsInV8+5311
25: 00007FF60CD6A658 v8::Unwinder::PCIsInV8+141528
26: 00007FF60CD6A445 v8::Unwinder::PCIsInV8+140997
27: 00007FF60CC8AFAB v8::CFunction::CFunction+206907
28: 00007FF60CC8A438 v8::CFunction::CFunction+203976
29: 00007FF60CC89993 v8::CFunction::CFunction+201251
30: 00007FF60CC895B7 v8::CFunction::CFunction+200263
31: 00007FF60D5CE05C v8_inspector::V8StackTraceId::ToString+2984140
32: 00007FF60D560CF5 v8_inspector::V8StackTraceId::ToString+2536805
33: 00007FF60D55E7BE v8_inspector::V8StackTraceId::ToString+2527278
34: 00007FF60D55E3AC v8_inspector::V8StackTraceId::ToString+2526236
35: 00007FF60CD48B5F v8::Unwinder::PCIsInV8+3551
36: 00007FF60CD47EEA v8::Unwinder::PCIsInV8+362
37: 00007FF60CC3E4B5 v8::Function::Call+469
38: 00007FF60E0E46EE node::InternalCallbackScope::Close+398
39: 00007FF60E0E495D node::InternalCallbackScope::Close+1021
40: 00007FF60EB8A725 VR_GetStringForHmdError+215717
41: 00007FF60F6C13C0 node::FatalException+4992
42: 00007FF60F6C2F0B node::FatalException+11979
43: 00007FF60EC3CF64 uv_dlerror+507332
44: 00007FF60EC7AB68 uv_pipe_connect+6056
45: 00007FF60EC7A879 uv_pipe_connect+5305
46: 00007FF60E12E158 uv_run+632
47: 00007FF60BC7F393 v8::OutputStream::WriteHeapStatsChunk+135379
48: 00007FF60BB312CF Ordinal0+4815
49: 00007FF610B85E72 node::AsyncResource::CallbackScope::CallbackScope+21673234
50: 00007FFACFC77C24 BaseThreadInitThunk+20
51: 00007FFACFDCD4D1 RtlUserThreadStart+33
Is there an indication in this dump that provides me the information that I need to get the notebook to generate a usable uploader in Windows? I don’t know how Jupyter code works yet and so can’t figure out where to start. The code previous to this works without a problem (see fastbook/01_intro.ipynb at 3916b71bdf2f9e587ac82f3c2ef4aabd05b8f51c · fastai/fastbook · GitHub).