codota / jupyter-tabnine

Autocompletion with Deep Learning on Jupyter Notebook
MIT License
795 stars 121 forks source link

405 (Method Not Allowed) #75

Open Brentbin opened 3 years ago

Brentbin commented 3 years ago

不能够正常显示 调试界面显示为

POST http://192.168.72.83:8999/tabnine?1629802242482 405 (Method Not Allowed)
(anonymous) @ inspector.js:49
window.fetch @ inspector.js:48
n @ serverconnection.js:208
n @ serverconnection.js:77
t.default @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
t.default @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
(anonymous) @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
setInterval (async)
t.default @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
2370 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
2998 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
194 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
(anonymous) @ remoteEntry.22756925e4c902776088.js:1
Y @ index.out.js:32
async function (async)
Y @ index.out.js:31
(anonymous) @ index.out.js:96
q @ index.out.js:93
load (async)
e @ bootstrap.js:117
async function (async)
e @ bootstrap.js:98
37559 @ bootstrap.js:87
t @ bootstrap:19
(anonymous) @ startup:6
(anonymous) @ main.c358d873a9d30d100d6b.js?v=c358d873a9d30d100d6b:1
Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
Promise.then (async)
(anonymous) @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
setInterval (async)
t.default @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
2370 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
2998 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
194 @ 194.2351e99d4be5cf358d5e.js?v=2351e99d4be5cf358d5e:1
w @ remoteEntry.22756925e4c902776088.js:1
(anonymous) @ remoteEntry.22756925e4c902776088.js:1
Y @ index.out.js:32
async function (async)
Y @ index.out.js:31
(anonymous) @ index.out.js:96
q @ index.out.js:93
load (async)
e @ bootstrap.js:117
async function (async)
e @ bootstrap.js:98
37559 @ bootstrap.js:87
t @ bootstrap:19
(anonymous) @ startup:6
(anonymous) @ main.c358d873a9d30d100d6b.js?v=c358d873a9d30d100d6b:1

gz#5538

bilucodota commented 3 years ago

Hi @Brentbin Did you enable the server extension? jupyter serverextension enable --py jupyter_tabnine --user

Brentbin commented 3 years ago

jupyter serverextension enable --py jupyter_tabnine --user

yeah, i've check serverextension with

jupyter serverextension list

and the result is

jupyter_tabnine  enabled
    - Validating...
      jupyter_tabnine  OK

maybe here is the answer?