millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 122 forks source link

20210216.1627 does not work, 403 error on ein:run #784

Closed glyph closed 3 years ago

glyph commented 3 years ago

I think I filed this on the wrong repo? https://github.com/tkf/emacs-ipython-notebook/issues/206

dickmao commented 3 years ago

Sorry; it's not surprising given the changes I recently made. Could you:

glyph commented 3 years ago

Problem description

Steps to reproduce the problem

System info:

("EIN system info"
 :emacs-version
 "GNU Emacs 27.1 (build 1, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69))
 of 2021-01-31"
 :window-system ns
 :emacs-variant nil
 :build
 "--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@27/27.1/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@27/27.1 --with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained"
 :os
 (:uname
  "Darwin elara.lan.glyph.im 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
"
  :lsb-release nil)
 :jupyter
 "/usr/local/Cellar/emacs-plus@27/27.1/Emacs.app/Contents/MacOS/Emacs: /usr/local/bin/jupyter: No such file or directory
"
 :image-types
 (svg imagemagick png gif tiff jpeg xpm xbm pbm)
 :image-types-available
 (svg imagemagick png gif tiff jpeg xpm xbm pbm)
 :request-backend curl
 :ein
 (:version "20210216.1627"
           :source-dir "/Users/glyph/.emacs.d/elpa/ein-20210216.1627/")
 :lib
 ((:name "websocket"
         :path "~/.emacs.d/elpa/websocket-20210110.17/websocket.elc"
         :featurep t
         :version-var websocket-version
         :version "1.12")
  (:name "anaphora"
         :path "~/.emacs.d/elpa/anaphora-20180618.2200/anaphora.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "request"
         :path "~/.emacs.d/elpa/request-20210214.37/request.elc"
         :featurep t
         :version-var request-version
         :version "0.3.3")
  (:name "deferred"
         :path "~/.emacs.d/elpa/deferred-20170901.1330/deferred.elc"
         :featurep t
         :version-var deferred:version
         :version "0.5.0")
  (:name "polymode"
         :path "~/.emacs.d/elpa/polymode-20200606.1106/polymode.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "dash"
         :path "~/.emacs.d/elpa/dash-20210210.1449/dash.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "with-editor"
         :path "~/.emacs.d/elpa/with-editor-20210117.2008/with-editor.elc"
         :featurep t
         :version-var nil
         :version nil)))

Logs:

request-log:

[debug] request--curl: curl --silent --location --cookie /Users/glyph/.emacs.d/request/curl-cookie-jar --cookie-jar /Users/glyph/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --junk-session-cookies --trace-ascii /var/folders/z9/w23lcw3x70z1fqpcwjjbvkvc0000gp/T/curl-trace --compressed --data-binary @- --header User-Agent: Mozilla/5.0 --header X-XSRFTOKEN: 2|4a19cd08|3054acc3089b6547873b8d30372bb14d|1613689858 http://127.0.0.1:8888/login
[debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED
HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 01:54:50 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|83f3cff6|99c103310894b4ed84e787c94ccadbd0|1613699690; Path=/

<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">

    <title>Jupyter Notebook</title>
    <link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=50afa725b5de8b00030139d09b38620224d4e7dba47c07ef0e86d4643f30c9bfe6bb7e1a4a1c561aa32834480909a4b6fe7cd1e17f7159330b6b5914bf45a880">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" href="/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb" type="text/css" />
    <link rel="stylesheet" href="/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=5edf53bf6bb9c3b1ddafd8594825a7e2ed621f19423e569c985162742f63911c09eba2c529f8fb47aebf27fafdfe287d563347f58c1126b278189a18871b6a9a" type="text/css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/static/style/style.min.css?v=56dfd556850eb17b7998c6828467598a322b41593edc758739c66cb2c3fea98f23d0dd8bf8b9b0f5d67bb976a50e4c34f789fe640cbb440fa089e1bf5ec170bd" type="text/css"/>

<style type="text/css">
/* disable initial hide */
div#header, div#site {
    display: block;
}
</style>

    <link rel="stylesheet" href="/custom/custom.css" type="text/css" />
    <script src="/static/components/es6-promise/promise.min.js?v=bea335d74136a63ae1b5130f5ac9a50c6256a5f435e6e09fef599491a84d834a8b0f011ca3eaaca3b4ab6a2da2d3e1191567a2f171e60da1d10e5b9d52f84184" type="text/javascript" charset="utf-8"></script>
    <script src="/static/components/react/react.production.min.js?v=9a0aaf84a316c8bedd6c2ff7d5b5e0a13f8f84ec02442346cba0b842c6c81a6bf6176e64f3675c2ebf357cb5bb048e0b527bd39377c95681d22468da3d5de735" type="text/javascript"></script>
    <script src="/static/components/react/react-dom.production.min.js?v=6fc58c1c4736868ff84f57bd8b85f2bdb985993a9392718f3b4af4bfa10fb4efba2b4ddd68644bd2a8daf0619a3844944c9c43f8528364a1aa6fc01ec1b8ae84" type="text/javascript"></script>
    <script src="/static/components/create-react-class/index.js?v=894ad57246e682b4cfbe7cd5e408dcd6b38d06af4de4f3425991e2676fdc2ef1732cbd19903104198878ae77de12a1996de3e7da3a467fb226bdda8f4618faec" type="text/javascript"></script>
    <script src="/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593" type="text/javascript" charset="utf-8"></script>
    <script>
      require.config({

          urlArgs: "v=20210218175448",

          baseUrl: '/static/',
          paths: {
            'auth/js/main': 'auth/js/main.min',
            custom : '/custom',
            nbextensions : '/nbextensions',
            kernelspecs : '/kernelspecs',
            underscore : 'components/underscore/underscore-min',
            backbone : 'components/backbone/backbone-min',
            jed: 'components/jed/jed',
            jquery: 'components/jquery/jquery.min',
            json: 'components/requirejs-plugins/src/json',
            text: 'components/requirejs-text/text',
            bootstrap: 'components/bootstrap/dist/js/bootstrap.min',
            bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
            'jquery-ui': 'components/jquery-ui/jquery-ui.min',
            moment: 'components/moment/min/moment-with-locales',
            codemirror: 'components/codemirror',
            termjs: 'components/xterm.js/xterm',
            typeahead: 'components/jquery-typeahead/dist/jquery.typeahead.min',
          },
          map: { // for backward compatibility
              "*": {
                  "jqueryui": "jquery-ui",
              }
          },
          shim: {
            typeahead: {
              deps: ["jquery"],
              exports: "typeahead"
            },
            underscore: {
              exports: '_'
            },
            backbone: {
              deps: ["underscore", "jquery"],
              exports: "Backbone"
            },
            bootstrap: {
              deps: ["jquery"],
              exports: "bootstrap"
            },
            bootstraptour: {
              deps: ["bootstrap"],
              exports: "Tour"
            },
            "jquery-ui": {
              deps: ["jquery"],
              exports: "$"
            }
          },
          waitSeconds: 30,
      });

      require.config({
          map: {
              '*':{
                'contents': 'services/contents',
              }
          }
      });

      // error-catching custom.js shim.
      define("custom", function (require, exports, module) {
          try {
              var custom = require('custom/custom');
              console.debug('loaded custom.js');
              return custom;
          } catch (e) {
              console.error("error loading custom.js", e);
              return {};
          }
      })

    document.nbjs_translations = {"domain": "nbjs", "locale_data": {"nbjs": {"": {"domain": "nbjs"}}}};
    document.documentElement.lang = navigator.language.toLowerCase();
    </script>

</head>

<body class=""

dir="ltr">

<noscript>
    <div id='noscript'>
      Jupyter Notebook requires JavaScript.<br>
      Please enable it to proceed. 
  </div>
</noscript>

<div id="header" role="navigation" aria-label="Top Menu">
  <div id="header-container" class="container">
  <div id="ipython_notebook" class="nav navbar-brand"><a href="/tree" title='dashboard'>
      <img src='/static/base/images/logo.png?v=a2a176ee3cee251ffddf5fa21fe8e43727a9e5f87a06f9c91ad7b776d9e9d3d5e0159c16cc188a3965e00375fb4bc336c16067c688f5040c0c2d4bfdb852a9e4' alt='Jupyter Notebook'/>
  </a></div>

  </div>
  <div class="header-bar"></div>

</div>

<div id="site">

<div class="error">

    <h1>403 : Forbidden</h1>

    <p>The error was:</p>
    <div class="traceback-wrapper">
    <pre class="traceback">XSRF cookie does not match POST argument</pre>
    </div>

</div>

</div>

<script type='text/javascript'>
require(['jquery'], function($) {
  // scroll long tracebacks to the bottom
  var tb = $(".traceback")[0];
  tb.scrollTop = tb.scrollHeight;
});
</script>

<script type='text/javascript'>
  function _remove_token_from_url() {
    if (window.location.search.length <= 1) {
      return;
    }
    var search_parameters = window.location.search.slice(1).split('&');
    for (var i = 0; i < search_parameters.length; i++) {
      if (search_parameters[i].split('=')[0] === 'token') {
        // remote token from search parameters
        search_parameters.splice(i, 1);
        var new_search = '';
        if (search_parameters.length) {
          new_search = '?' + search_parameters.join('&');
        }
        var new_url = window.location.origin + 
                      window.location.pathname + 
                      new_search + 
                      window.location.hash;
        window.history.replaceState({}, "", new_url);
        return;
      }
    }
  }
  _remove_token_from_url();
</script>
</body>

</html>
(:num-redirects 0 :url-effective "http://127.0.0.1:8888/login")* Closing connection
[error] request--callback: Timeout
[debug] request--callback: executing error
[debug] request--curl: curl --silent --location --cookie /Users/glyph/.emacs.d/request/curl-cookie-jar --cookie-jar /Users/glyph/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --junk-session-cookies --trace-ascii /var/folders/z9/w23lcw3x70z1fqpcwjjbvkvc0000gp/T/curl-trace --compressed --data-binary @- --header User-Agent: Mozilla/5.0 --header X-XSRFTOKEN: 2|83f3cff6|99c103310894b4ed84e787c94ccadbd0|1613699690 http://127.0.0.1:8888/login
[debug] request--callback: executing complete
[debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED
HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 01:54:56 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|f662027d|e8e79d1522ce124033b3b5f94ad4d9b0|1613699696; Path=/

<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">

    <title>Jupyter Notebook</title>
    <link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=50afa725b5de8b00030139d09b38620224d4e7dba47c07ef0e86d4643f30c9bfe6bb7e1a4a1c561aa32834480909a4b6fe7cd1e17f7159330b6b5914bf45a880">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" href="/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb" type="text/css" />
    <link rel="stylesheet" href="/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=5edf53bf6bb9c3b1ddafd8594825a7e2ed621f19423e569c985162742f63911c09eba2c529f8fb47aebf27fafdfe287d563347f58c1126b278189a18871b6a9a" type="text/css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/static/style/style.min.css?v=56dfd556850eb17b7998c6828467598a322b41593edc758739c66cb2c3fea98f23d0dd8bf8b9b0f5d67bb976a50e4c34f789fe640cbb440fa089e1bf5ec170bd" type="text/css"/>

<style type="text/css">
/* disable initial hide */
div#header, div#site {
    display: block;
}
</style>

    <link rel="stylesheet" href="/custom/custom.css" type="text/css" />
    <script src="/static/components/es6-promise/promise.min.js?v=bea335d74136a63ae1b5130f5ac9a50c6256a5f435e6e09fef599491a84d834a8b0f011ca3eaaca3b4ab6a2da2d3e1191567a2f171e60da1d10e5b9d52f84184" type="text/javascript" charset="utf-8"></script>
    <script src="/static/components/react/react.production.min.js?v=9a0aaf84a316c8bedd6c2ff7d5b5e0a13f8f84ec02442346cba0b842c6c81a6bf6176e64f3675c2ebf357cb5bb048e0b527bd39377c95681d22468da3d5de735" type="text/javascript"></script>
    <script src="/static/components/react/react-dom.production.min.js?v=6fc58c1c4736868ff84f57bd8b85f2bdb985993a9392718f3b4af4bfa10fb4efba2b4ddd68644bd2a8daf0619a3844944c9c43f8528364a1aa6fc01ec1b8ae84" type="text/javascript"></script>
    <script src="/static/components/create-react-class/index.js?v=894ad57246e682b4cfbe7cd5e408dcd6b38d06af4de4f3425991e2676fdc2ef1732cbd19903104198878ae77de12a1996de3e7da3a467fb226bdda8f4618faec" type="text/javascript"></script>
    <script src="/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593" type="text/javascript" charset="utf-8"></script>
    <script>
      require.config({

          urlArgs: "v=20210218175448",

          baseUrl: '/static/',
          paths: {
            'auth/js/main': 'auth/js/main.min',
            custom : '/custom',
            nbextensions : '/nbextensions',
            kernelspecs : '/kernelspecs',
            underscore : 'components/underscore/underscore-min',
            backbone : 'components/backbone/backbone-min',
            jed: 'components/jed/jed',
            jquery: 'components/jquery/jquery.min',
            json: 'components/requirejs-plugins/src/json',
            text: 'components/requirejs-text/text',
            bootstrap: 'components/bootstrap/dist/js/bootstrap.min',
            bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
            'jquery-ui': 'components/jquery-ui/jquery-ui.min',
            moment: 'components/moment/min/moment-with-locales',
            codemirror: 'components/codemirror',
            termjs: 'components/xterm.js/xterm',
            typeahead: 'components/jquery-typeahead/dist/jquery.typeahead.min',
          },
          map: { // for backward compatibility
              "*": {
                  "jqueryui": "jquery-ui",
              }
          },
          shim: {
            typeahead: {
              deps: ["jquery"],
              exports: "typeahead"
            },
            underscore: {
              exports: '_'
            },
            backbone: {
              deps: ["underscore", "jquery"],
              exports: "Backbone"
            },
            bootstrap: {
              deps: ["jquery"],
              exports: "bootstrap"
            },
            bootstraptour: {
              deps: ["bootstrap"],
              exports: "Tour"
            },
            "jquery-ui": {
              deps: ["jquery"],
              exports: "$"
            }
          },
          waitSeconds: 30,
      });

      require.config({
          map: {
              '*':{
                'contents': 'services/contents',
              }
          }
      });

      // error-catching custom.js shim.
      define("custom", function (require, exports, module) {
          try {
              var custom = require('custom/custom');
              console.debug('loaded custom.js');
              return custom;
          } catch (e) {
              console.error("error loading custom.js", e);
              return {};
          }
      })

    document.nbjs_translations = {"domain": "nbjs", "locale_data": {"nbjs": {"": {"domain": "nbjs"}}}};
    document.documentElement.lang = navigator.language.toLowerCase();
    </script>

</head>

<body class=""

dir="ltr">

<noscript>
    <div id='noscript'>
      Jupyter Notebook requires JavaScript.<br>
      Please enable it to proceed. 
  </div>
</noscript>

<div id="header" role="navigation" aria-label="Top Menu">
  <div id="header-container" class="container">
  <div id="ipython_notebook" class="nav navbar-brand"><a href="/tree" title='dashboard'>
      <img src='/static/base/images/logo.png?v=a2a176ee3cee251ffddf5fa21fe8e43727a9e5f87a06f9c91ad7b776d9e9d3d5e0159c16cc188a3965e00375fb4bc336c16067c688f5040c0c2d4bfdb852a9e4' alt='Jupyter Notebook'/>
  </a></div>

  </div>
  <div class="header-bar"></div>

</div>

<div id="site">

<div class="error">

    <h1>403 : Forbidden</h1>

    <p>The error was:</p>
    <div class="traceback-wrapper">
    <pre class="traceback">XSRF cookie does not match POST argument</pre>
    </div>

</div>

</div>

<script type='text/javascript'>
require(['jquery'], function($) {
  // scroll long tracebacks to the bottom
  var tb = $(".traceback")[0];
  tb.scrollTop = tb.scrollHeight;
});
</script>

<script type='text/javascript'>
  function _remove_token_from_url() {
    if (window.location.search.length <= 1) {
      return;
    }
    var search_parameters = window.location.search.slice(1).split('&');
    for (var i = 0; i < search_parameters.length; i++) {
      if (search_parameters[i].split('=')[0] === 'token') {
        // remote token from search parameters
        search_parameters.splice(i, 1);
        var new_search = '';
        if (search_parameters.length) {
          new_search = '?' + search_parameters.join('&');
        }
        var new_url = window.location.origin + 
                      window.location.pathname + 
                      new_search + 
                      window.location.hash;
        window.history.replaceState({}, "", new_url);
        return;
      }
    }
  }
  _remove_token_from_url();
</script>
</body>

</html>
(:num-redirects 0 :url-effective "http://127.0.0.1:8888/login")* Closing connection
[error] request--callback: Wrong type argument: plistp, 0
[debug] request--callback: executing error
[debug] request--callback: executing complete
[debug] request--callback: UNPARSED
nil
[error] request--callback: Selecting deleted buffer
[debug] request--callback: executing error
[debug] request--callback: executing complete

ein:log-all:

17:54:47:653: [warn] ein:jupyter-default-kernel: (json-readtable-error 117) @#<buffer *scratch*>
17:54:48:657: [info] ein:jupyter-server--run: /Users/glyph/.local/bin/jupyter-notebook --notebook-dir=~/Documents/Notebooks/ --debug --no-browser @#<buffer *scratch*>
17:54:50:112: [debug] Login attempt #0 in response to nil from http://127.0.0.1:8888. @#<buffer *scratch*>
17:54:56:423: [debug] Login attempt #1 in response to 403 from http://127.0.0.1:8888. @#<buffer *Backtrace*>
17:54:56:426: [debug] ein:notebooklist-login--complete STATUS: 403 DATA: nil @#<buffer *Backtrace*>
17:54:56:437: [error] Login to http://127.0.0.1:8888 failed, error-thrown (wrong-type-argument plistp 0), raw-header HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 01:54:56 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|f662027d|e8e79d1522ce124033b3b5f94ad4d9b0|1613699696; Path=/
 @#<buffer *Backtrace*>
17:54:56:439: [debug] ein:notebooklist-login--complete STATUS: nil DATA: nil @#<buffer *Backtrace*>
17:54:58:806: [error] Login to http://127.0.0.1:8888 failed, error-thrown (error Selecting deleted buffer), raw-header HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 01:54:50 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|83f3cff6|99c103310894b4ed84e787c94ccadbd0|1613699690; Path=/
 @#<buffer *scratch*>
17:54:58:806: [debug] ein:notebooklist-login--complete STATUS: nil DATA: nil @#<buffer *scratch*>
17:55:04:616: [warn] ein:dev-packages: Don’t call me! @#<buffer  *temp*>

ein server:

[D 17:54:48.920 NotebookApp] Searching ['/Users/glyph', '/Users/glyph/.jupyter', '/Users/glyph/.local/pipx/venvs/notebook/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 17:54:48.920 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 17:54:48.920 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 17:54:48.920 NotebookApp] Looking for jupyter_config in /Users/glyph/.local/pipx/venvs/notebook/etc/jupyter
[D 17:54:48.921 NotebookApp] Looking for jupyter_config in /Users/glyph/.jupyter
[D 17:54:48.921 NotebookApp] Looking for jupyter_config in /Users/glyph
[D 17:54:48.922 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 17:54:48.922 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 17:54:48.922 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph/.local/pipx/venvs/notebook/etc/jupyter
[D 17:54:48.922 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph/.jupyter
[D 17:54:48.922 NotebookApp] Loaded config file: /Users/glyph/.jupyter/jupyter_notebook_config.py
[D 17:54:48.922 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph
[D 17:54:48.923 NotebookApp] Raising open file limit: soft 1024->4096; hard 9223372036854775807->9223372036854775807
[D 17:54:48.926 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.json
[D 17:54:48.927 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 17:54:48.927 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /Users/glyph/.local/pipx/venvs/notebook/etc/jupyter/jupyter_notebook_config.json
[D 17:54:48.933 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /Users/glyph/.jupyter/jupyter_notebook_config.json
[I 17:54:49.253 NotebookApp] Serving notebooks from local directory: /Users/glyph/Documents/Notebooks
[I 17:54:49.253 NotebookApp] Jupyter Notebook 6.1.6 is running at:
[I 17:54:49.253 NotebookApp] http://localhost:8888/?token=f117fcd97dc6c2b6028c18665796553ed7f4f21abfbbb126
[I 17:54:49.253 NotebookApp]  or http://127.0.0.1:8888/?token=f117fcd97dc6c2b6028c18665796553ed7f4f21abfbbb126
[I 17:54:49.253 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:54:49.257 NotebookApp] 

    To access the notebook, open this file in a browser:
        file:///Users/glyph/Library/Jupyter/runtime/nbserver-81787-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=f117fcd97dc6c2b6028c18665796553ed7f4f21abfbbb126
     or http://127.0.0.1:8888/?token=f117fcd97dc6c2b6028c18665796553ed7f4f21abfbbb126
[W 17:54:50.124 NotebookApp] 403 POST /login (127.0.0.1): XSRF cookie does not match POST argument
[D 17:54:50.125 NotebookApp] Using contents: services/contents
[D 17:54:50.125 NotebookApp] Using contents: services/contents
[D 17:54:50.143 NotebookApp] Path base/images/favicon.ico served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/base/images/favicon.ico
[D 17:54:50.144 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 17:54:50.145 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 17:54:50.146 NotebookApp] Path style/style.min.css served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/style/style.min.css
[D 17:54:50.147 NotebookApp] Path components/es6-promise/promise.min.js served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 17:54:50.182 NotebookApp] Path components/react/react.production.min.js served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/react/react.production.min.js
[D 17:54:50.183 NotebookApp] Path components/react/react-dom.production.min.js served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/react/react-dom.production.min.js
[D 17:54:50.184 NotebookApp] Path components/create-react-class/index.js served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/create-react-class/index.js
[D 17:54:50.184 NotebookApp] Path components/requirejs/require.js served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/components/requirejs/require.js
[D 17:54:50.185 NotebookApp] Path base/images/logo.png served from /Users/glyph/.local/pipx/venvs/notebook/lib/python3.8/site-packages/notebook/static/base/images/logo.png
[W 17:54:50.240 NotebookApp] 403 POST /login (127.0.0.1) 116.350000ms referer=None
[W 17:54:56.431 NotebookApp] 403 POST /login (127.0.0.1): XSRF cookie does not match POST argument
[D 17:54:56.431 NotebookApp] Using contents: services/contents
[D 17:54:56.431 NotebookApp] Using contents: services/contents
[W 17:54:56.432 NotebookApp] 403 POST /login (127.0.0.1) 1.470000ms referer=None
dickmao commented 3 years ago

You seem to have stale customizations of ein:jupyter-server-command set to jupyter-notebook, and ein:jupyter-server-use-subcommand set to nil. Jupyter has for at least a few years been prescribed to run as "jupyter notebook" instead of "jupyter-notebook". You also seem to have a stale customization of ein:jupyter-default-kernel that results in (json-readtable-error 117). I would go through your init.el or .emacs looking for occurrences of "ein:" and remove all the stale overrides.

I think you would also benefit from https://github.com/purcell/exec-path-from-shell, as your diagnostic shows /usr/local/Cellar/emacs-plus@27/27.1/Emacs.app/Contents/MacOS/Emacs: /usr/local/bin/jupyter: No such file or directory which suggests your mac has the latest/greatest jupyter, but emacs can't find it. Maybe that's why you set ein:jupyter-server-command to jupyter-notebook out of desperation. It's unclear.

Again, I'd try removing all occurrences of ein: in your .emacs and install purcell's exec-path-from-shell. You should do the latter regardless of whether you decide getting EIN to work is worth the effort.

glyph commented 3 years ago

Thank you very much for this diagnostic support! I haven't fully fixed it (my configuration is a bit of an obscure mess right now, ~20 years of dependencies on increasingly arcane ways of setting things up that I've not managed to fully tear down) but the fact that (executable-find ein:jupyter-server-command) is nil suggests you're on the right track. The weird thing here is that I would not have expected the server to start up at all in this case!

For what it's worth, the reason that I had this somewhat legacy method of invocation was due to this bug https://github.com/pipxproject/pipx/issues/18 which has now happily been fixed.

I'll update after I've switched from pipx install notebook to pipx install jupyter.

glyph commented 3 years ago

@dickmao It's still happening.

First let me say, there's a backtrace when I perform your steps which I didn't paste before, so here's that:

Debugger entered--Lisp error: (wrong-type-argument plistp 0)
  plist-member(0 :num-redirects)
  request--curl-preprocess("http://127.0.0.1:8888/login")
  #f(compiled-function (url proc event) "Ensure `request--callback' gets called after curl to URL finishes.\nSee info entries on sentinels regarding PROC and EVENT." #<bytecode 0x1ff2f70e3525>)("http://127.0.0.1:8888/login" #<process request curl> "finished\n")
  apply(#f(compiled-function (url proc event) "Ensure `request--callback' gets called after curl to URL finishes.\nSee info entries on sentinels regarding PROC and EVENT." #<bytecode 0x1ff2f70e3525>) ("http://127.0.0.1:8888/login" #<process request curl> "finished\n"))
  request--curl-callback("http://127.0.0.1:8888/login" #<process request curl> "finished\n")
  apply(request--curl-callback ("http://127.0.0.1:8888/login" #<process request curl> "finished\n"))
  #f(compiled-function (&rest args2) #<bytecode 0x1ff2f6f0fcad>)(#<process request curl> "finished\n")

And here's the diagnostic output again:

Problem description

Steps to reproduce the problem

System info:

("EIN system info"
 :emacs-version
 "GNU Emacs 27.1 (build 1, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69))
 of 2021-01-31"
 :window-system ns
 :emacs-variant nil
 :build
 "--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@27/27.1/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@27/27.1 --with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained"
 :os
 (:uname
  "Darwin elara.lan.glyph.im 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
"
  :lsb-release nil)
 :jupyter
 "jupyter core     : 4.7.1
jupyter-notebook : 6.2.0
qtconsole        : 5.0.2
ipython          : 7.20.0
ipykernel        : 5.4.3
jupyter client   : 6.1.11
jupyter lab      : not installed
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.2
traitlets        : 5.0.5
"
 :image-types
 (svg imagemagick png gif tiff jpeg xpm xbm pbm)
 :image-types-available
 (svg imagemagick png gif tiff jpeg xpm xbm pbm)
 :request-backend curl
 :ein
 (:version "20210216.1627"
           :source-dir "/Users/glyph/.emacs.d/elpa/ein-20210216.1627/")
 :lib
 ((:name "websocket"
         :path "~/.emacs.d/elpa/websocket-20210110.17/websocket.elc"
         :featurep t
         :version-var websocket-version
         :version "1.12")
  (:name "anaphora"
         :path "~/.emacs.d/elpa/anaphora-20180618.2200/anaphora.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "request"
         :path "~/.emacs.d/elpa/request-20210214.37/request.elc"
         :featurep t
         :version-var request-version
         :version "0.3.3")
  (:name "deferred"
         :path "~/.emacs.d/elpa/deferred-20170901.1330/deferred.elc"
         :featurep t
         :version-var deferred:version
         :version "0.5.0")
  (:name "polymode"
         :path "~/.emacs.d/elpa/polymode-20200606.1106/polymode.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "dash"
         :path "~/.emacs.d/elpa/dash-20210210.1449/dash.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "with-editor"
         :path "~/.emacs.d/elpa/with-editor-20210117.2008/with-editor.elc"
         :featurep t
         :version-var nil
         :version nil)))

Logs:

request-log:

[debug] request--curl: curl --silent --location --cookie /Users/glyph/.emacs.d/request/curl-cookie-jar --cookie-jar /Users/glyph/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --junk-session-cookies --trace-ascii /var/folders/z9/w23lcw3x70z1fqpcwjjbvkvc0000gp/T/curl-trace --compressed --data-binary @- --header User-Agent: Mozilla/5.0 --header X-XSRFTOKEN: 2|dd624e22|f0e99f76fab11924cf543a756757c1ac|1613716783 http://127.0.0.1:8888/login
[debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED
HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 06:43:15 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|de98c394|0ff28df62322a23442657f21fa4344f2|1613716995; Path=/

<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">

    <title>Jupyter Notebook</title>
    <link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=50afa725b5de8b00030139d09b38620224d4e7dba47c07ef0e86d4643f30c9bfe6bb7e1a4a1c561aa32834480909a4b6fe7cd1e17f7159330b6b5914bf45a880">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" href="/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb" type="text/css" />
    <link rel="stylesheet" href="/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=5edf53bf6bb9c3b1ddafd8594825a7e2ed621f19423e569c985162742f63911c09eba2c529f8fb47aebf27fafdfe287d563347f58c1126b278189a18871b6a9a" type="text/css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/static/style/style.min.css?v=56dfd556850eb17b7998c6828467598a322b41593edc758739c66cb2c3fea98f23d0dd8bf8b9b0f5d67bb976a50e4c34f789fe640cbb440fa089e1bf5ec170bd" type="text/css"/>

<style type="text/css">
/* disable initial hide */
div#header, div#site {
    display: block;
}
</style>

    <link rel="stylesheet" href="/custom/custom.css" type="text/css" />
    <script src="/static/components/es6-promise/promise.min.js?v=bea335d74136a63ae1b5130f5ac9a50c6256a5f435e6e09fef599491a84d834a8b0f011ca3eaaca3b4ab6a2da2d3e1191567a2f171e60da1d10e5b9d52f84184" type="text/javascript" charset="utf-8"></script>
    <script src="/static/components/react/react.production.min.js?v=9a0aaf84a316c8bedd6c2ff7d5b5e0a13f8f84ec02442346cba0b842c6c81a6bf6176e64f3675c2ebf357cb5bb048e0b527bd39377c95681d22468da3d5de735" type="text/javascript"></script>
    <script src="/static/components/react/react-dom.production.min.js?v=6fc58c1c4736868ff84f57bd8b85f2bdb985993a9392718f3b4af4bfa10fb4efba2b4ddd68644bd2a8daf0619a3844944c9c43f8528364a1aa6fc01ec1b8ae84" type="text/javascript"></script>
    <script src="/static/components/create-react-class/index.js?v=894ad57246e682b4cfbe7cd5e408dcd6b38d06af4de4f3425991e2676fdc2ef1732cbd19903104198878ae77de12a1996de3e7da3a467fb226bdda8f4618faec" type="text/javascript"></script>
    <script src="/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593" type="text/javascript" charset="utf-8"></script>
    <script>
      require.config({

          urlArgs: "v=20210218224314",

          baseUrl: '/static/',
          paths: {
            'auth/js/main': 'auth/js/main.min',
            custom : '/custom',
            nbextensions : '/nbextensions',
            kernelspecs : '/kernelspecs',
            underscore : 'components/underscore/underscore-min',
            backbone : 'components/backbone/backbone-min',
            jed: 'components/jed/jed',
            jquery: 'components/jquery/jquery.min',
            json: 'components/requirejs-plugins/src/json',
            text: 'components/requirejs-text/text',
            bootstrap: 'components/bootstrap/dist/js/bootstrap.min',
            bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
            'jquery-ui': 'components/jquery-ui/jquery-ui.min',
            moment: 'components/moment/min/moment-with-locales',
            codemirror: 'components/codemirror',
            termjs: 'components/xterm.js/xterm',
            typeahead: 'components/jquery-typeahead/dist/jquery.typeahead.min',
          },
          map: { // for backward compatibility
              "*": {
                  "jqueryui": "jquery-ui",
              }
          },
          shim: {
            typeahead: {
              deps: ["jquery"],
              exports: "typeahead"
            },
            underscore: {
              exports: '_'
            },
            backbone: {
              deps: ["underscore", "jquery"],
              exports: "Backbone"
            },
            bootstrap: {
              deps: ["jquery"],
              exports: "bootstrap"
            },
            bootstraptour: {
              deps: ["bootstrap"],
              exports: "Tour"
            },
            "jquery-ui": {
              deps: ["jquery"],
              exports: "$"
            }
          },
          waitSeconds: 30,
      });

      require.config({
          map: {
              '*':{
                'contents': 'services/contents',
              }
          }
      });

      // error-catching custom.js shim.
      define("custom", function (require, exports, module) {
          try {
              var custom = require('custom/custom');
              console.debug('loaded custom.js');
              return custom;
          } catch (e) {
              console.error("error loading custom.js", e);
              return {};
          }
      })

    document.nbjs_translations = {"domain": "nbjs", "locale_data": {"nbjs": {"": {"domain": "nbjs"}}}};
    document.documentElement.lang = navigator.language.toLowerCase();
    </script>

</head>

<body class=""

dir="ltr">

<noscript>
    <div id='noscript'>
      Jupyter Notebook requires JavaScript.<br>
      Please enable it to proceed. 
  </div>
</noscript>

<div id="header" role="navigation" aria-label="Top Menu">
  <div id="header-container" class="container">
  <div id="ipython_notebook" class="nav navbar-brand"><a href="/tree" title='dashboard'>
      <img src='/static/base/images/logo.png?v=a2a176ee3cee251ffddf5fa21fe8e43727a9e5f87a06f9c91ad7b776d9e9d3d5e0159c16cc188a3965e00375fb4bc336c16067c688f5040c0c2d4bfdb852a9e4' alt='Jupyter Notebook'/>
  </a></div>

  </div>
  <div class="header-bar"></div>

</div>

<div id="site">

<div class="error">

    <h1>403 : Forbidden</h1>

    <p>The error was:</p>
    <div class="traceback-wrapper">
    <pre class="traceback">XSRF cookie does not match POST argument</pre>
    </div>

</div>

</div>

<script type='text/javascript'>
require(['jquery'], function($) {
  // scroll long tracebacks to the bottom
  var tb = $(".traceback")[0];
  tb.scrollTop = tb.scrollHeight;
});
</script>

<script type='text/javascript'>
  function _remove_token_from_url() {
    if (window.location.search.length <= 1) {
      return;
    }
    var search_parameters = window.location.search.slice(1).split('&');
    for (var i = 0; i < search_parameters.length; i++) {
      if (search_parameters[i].split('=')[0] === 'token') {
        // remote token from search parameters
        search_parameters.splice(i, 1);
        var new_search = '';
        if (search_parameters.length) {
          new_search = '?' + search_parameters.join('&');
        }
        var new_url = window.location.origin + 
                      window.location.pathname + 
                      new_search + 
                      window.location.hash;
        window.history.replaceState({}, "", new_url);
        return;
      }
    }
  }
  _remove_token_from_url();
</script>
</body>

</html>
(:num-redirects 0 :url-effective "http://127.0.0.1:8888/login")* Closing connection
[error] request--callback: Timeout
[debug] request--callback: executing error
[debug] request--curl: curl --silent --location --cookie /Users/glyph/.emacs.d/request/curl-cookie-jar --cookie-jar /Users/glyph/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --junk-session-cookies --trace-ascii /var/folders/z9/w23lcw3x70z1fqpcwjjbvkvc0000gp/T/curl-trace --compressed --data-binary @- --header User-Agent: Mozilla/5.0 --header X-XSRFTOKEN: 2|de98c394|0ff28df62322a23442657f21fa4344f2|1613716995 http://127.0.0.1:8888/login
[debug] request--callback: executing complete
[debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED
HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 06:43:21 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|65704d1d|d1c6aa411fe76effe6912444c6219aec|1613717001; Path=/

<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">

    <title>Jupyter Notebook</title>
    <link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=50afa725b5de8b00030139d09b38620224d4e7dba47c07ef0e86d4643f30c9bfe6bb7e1a4a1c561aa32834480909a4b6fe7cd1e17f7159330b6b5914bf45a880">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" href="/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb" type="text/css" />
    <link rel="stylesheet" href="/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=5edf53bf6bb9c3b1ddafd8594825a7e2ed621f19423e569c985162742f63911c09eba2c529f8fb47aebf27fafdfe287d563347f58c1126b278189a18871b6a9a" type="text/css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/static/style/style.min.css?v=56dfd556850eb17b7998c6828467598a322b41593edc758739c66cb2c3fea98f23d0dd8bf8b9b0f5d67bb976a50e4c34f789fe640cbb440fa089e1bf5ec170bd" type="text/css"/>

<style type="text/css">
/* disable initial hide */
div#header, div#site {
    display: block;
}
</style>

    <link rel="stylesheet" href="/custom/custom.css" type="text/css" />
    <script src="/static/components/es6-promise/promise.min.js?v=bea335d74136a63ae1b5130f5ac9a50c6256a5f435e6e09fef599491a84d834a8b0f011ca3eaaca3b4ab6a2da2d3e1191567a2f171e60da1d10e5b9d52f84184" type="text/javascript" charset="utf-8"></script>
    <script src="/static/components/react/react.production.min.js?v=9a0aaf84a316c8bedd6c2ff7d5b5e0a13f8f84ec02442346cba0b842c6c81a6bf6176e64f3675c2ebf357cb5bb048e0b527bd39377c95681d22468da3d5de735" type="text/javascript"></script>
    <script src="/static/components/react/react-dom.production.min.js?v=6fc58c1c4736868ff84f57bd8b85f2bdb985993a9392718f3b4af4bfa10fb4efba2b4ddd68644bd2a8daf0619a3844944c9c43f8528364a1aa6fc01ec1b8ae84" type="text/javascript"></script>
    <script src="/static/components/create-react-class/index.js?v=894ad57246e682b4cfbe7cd5e408dcd6b38d06af4de4f3425991e2676fdc2ef1732cbd19903104198878ae77de12a1996de3e7da3a467fb226bdda8f4618faec" type="text/javascript"></script>
    <script src="/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593" type="text/javascript" charset="utf-8"></script>
    <script>
      require.config({

          urlArgs: "v=20210218224314",

          baseUrl: '/static/',
          paths: {
            'auth/js/main': 'auth/js/main.min',
            custom : '/custom',
            nbextensions : '/nbextensions',
            kernelspecs : '/kernelspecs',
            underscore : 'components/underscore/underscore-min',
            backbone : 'components/backbone/backbone-min',
            jed: 'components/jed/jed',
            jquery: 'components/jquery/jquery.min',
            json: 'components/requirejs-plugins/src/json',
            text: 'components/requirejs-text/text',
            bootstrap: 'components/bootstrap/dist/js/bootstrap.min',
            bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
            'jquery-ui': 'components/jquery-ui/jquery-ui.min',
            moment: 'components/moment/min/moment-with-locales',
            codemirror: 'components/codemirror',
            termjs: 'components/xterm.js/xterm',
            typeahead: 'components/jquery-typeahead/dist/jquery.typeahead.min',
          },
          map: { // for backward compatibility
              "*": {
                  "jqueryui": "jquery-ui",
              }
          },
          shim: {
            typeahead: {
              deps: ["jquery"],
              exports: "typeahead"
            },
            underscore: {
              exports: '_'
            },
            backbone: {
              deps: ["underscore", "jquery"],
              exports: "Backbone"
            },
            bootstrap: {
              deps: ["jquery"],
              exports: "bootstrap"
            },
            bootstraptour: {
              deps: ["bootstrap"],
              exports: "Tour"
            },
            "jquery-ui": {
              deps: ["jquery"],
              exports: "$"
            }
          },
          waitSeconds: 30,
      });

      require.config({
          map: {
              '*':{
                'contents': 'services/contents',
              }
          }
      });

      // error-catching custom.js shim.
      define("custom", function (require, exports, module) {
          try {
              var custom = require('custom/custom');
              console.debug('loaded custom.js');
              return custom;
          } catch (e) {
              console.error("error loading custom.js", e);
              return {};
          }
      })

    document.nbjs_translations = {"domain": "nbjs", "locale_data": {"nbjs": {"": {"domain": "nbjs"}}}};
    document.documentElement.lang = navigator.language.toLowerCase();
    </script>

</head>

<body class=""

dir="ltr">

<noscript>
    <div id='noscript'>
      Jupyter Notebook requires JavaScript.<br>
      Please enable it to proceed. 
  </div>
</noscript>

<div id="header" role="navigation" aria-label="Top Menu">
  <div id="header-container" class="container">
  <div id="ipython_notebook" class="nav navbar-brand"><a href="/tree" title='dashboard'>
      <img src='/static/base/images/logo.png?v=a2a176ee3cee251ffddf5fa21fe8e43727a9e5f87a06f9c91ad7b776d9e9d3d5e0159c16cc188a3965e00375fb4bc336c16067c688f5040c0c2d4bfdb852a9e4' alt='Jupyter Notebook'/>
  </a></div>

  </div>
  <div class="header-bar"></div>

</div>

<div id="site">

<div class="error">

    <h1>403 : Forbidden</h1>

    <p>The error was:</p>
    <div class="traceback-wrapper">
    <pre class="traceback">XSRF cookie does not match POST argument</pre>
    </div>

</div>

</div>

<script type='text/javascript'>
require(['jquery'], function($) {
  // scroll long tracebacks to the bottom
  var tb = $(".traceback")[0];
  tb.scrollTop = tb.scrollHeight;
});
</script>

<script type='text/javascript'>
  function _remove_token_from_url() {
    if (window.location.search.length <= 1) {
      return;
    }
    var search_parameters = window.location.search.slice(1).split('&');
    for (var i = 0; i < search_parameters.length; i++) {
      if (search_parameters[i].split('=')[0] === 'token') {
        // remote token from search parameters
        search_parameters.splice(i, 1);
        var new_search = '';
        if (search_parameters.length) {
          new_search = '?' + search_parameters.join('&');
        }
        var new_url = window.location.origin + 
                      window.location.pathname + 
                      new_search + 
                      window.location.hash;
        window.history.replaceState({}, "", new_url);
        return;
      }
    }
  }
  _remove_token_from_url();
</script>
</body>

</html>
(:num-redirects 0 :url-effective "http://127.0.0.1:8888/login")* Closing connection
[error] request--callback: Wrong type argument: plistp, 0
[debug] request--callback: executing error
[debug] request--callback: executing complete
[debug] request--callback: UNPARSED
nil
[error] request--callback: Selecting deleted buffer
[debug] request--callback: executing error
[debug] request--callback: executing complete

ein:log-all:

22:43:13:822: [info] ein:jupyter-server--run: /Users/glyph/.local/bin/jupyter notebook --notebook-dir=~/Documents/Notebooks/ --debug --no-browser @#<buffer *scratch*>
22:43:15:411: [debug] Login attempt #0 in response to nil from http://127.0.0.1:8888. @#<buffer *scratch*>
22:43:21:723: [debug] Login attempt #1 in response to 403 from http://127.0.0.1:8888. @#<buffer *Backtrace*>
22:43:21:725: [debug] ein:notebooklist-login--complete STATUS: 403 DATA: nil @#<buffer *Backtrace*>
22:43:21:735: [error] Login to http://127.0.0.1:8888 failed, error-thrown (wrong-type-argument plistp 0), raw-header HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 06:43:21 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|65704d1d|d1c6aa411fe76effe6912444c6219aec|1613717001; Path=/
 @#<buffer *Backtrace*>
22:43:21:738: [debug] ein:notebooklist-login--complete STATUS: nil DATA: nil @#<buffer *Backtrace*>
22:44:07:285: [error] Login to http://127.0.0.1:8888 failed, error-thrown (error Selecting deleted buffer), raw-header HTTP/1.1 403 Forbidden
Server: TornadoServer/6.1
Content-Type: text/html
Date: Fri, 19 Feb 2021 06:43:15 GMT
X-Content-Type-Options: nosniff
Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report
Content-Length: 7204
Set-Cookie: _xsrf=2|de98c394|0ff28df62322a23442657f21fa4344f2|1613716995; Path=/
 @#<buffer *scratch*>
22:44:07:288: [debug] ein:notebooklist-login--complete STATUS: nil DATA: nil @#<buffer *scratch*>
22:45:12:999: [warn] ein:dev-packages: Don’t call me! @#<buffer  *temp*>

ein server:

[D 22:43:14.287 NotebookApp] Searching ['/Users/glyph', '/Users/glyph/.jupyter', '/Users/glyph/.local/pipx/venvs/jupyter/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 22:43:14.288 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 22:43:14.288 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 22:43:14.288 NotebookApp] Looking for jupyter_config in /Users/glyph/.local/pipx/venvs/jupyter/etc/jupyter
[D 22:43:14.288 NotebookApp] Looking for jupyter_config in /Users/glyph/.jupyter
[D 22:43:14.288 NotebookApp] Looking for jupyter_config in /Users/glyph
[D 22:43:14.289 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 22:43:14.289 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 22:43:14.289 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph/.local/pipx/venvs/jupyter/etc/jupyter
[D 22:43:14.289 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph/.jupyter
[D 22:43:14.290 NotebookApp] Loaded config file: /Users/glyph/.jupyter/jupyter_notebook_config.py
[D 22:43:14.290 NotebookApp] Looking for jupyter_notebook_config in /Users/glyph
[D 22:43:14.292 NotebookApp] Raising open file limit: soft 1024->4096; hard 9223372036854775807->9223372036854775807
[D 22:43:14.295 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.json
[D 22:43:14.295 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 22:43:14.296 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /Users/glyph/.local/pipx/venvs/jupyter/etc/jupyter/jupyter_notebook_config.json
[D 22:43:14.296 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /Users/glyph/.jupyter/jupyter_notebook_config.json
[I 22:43:14.566 NotebookApp] Serving notebooks from local directory: /Users/glyph/Documents/Notebooks
[I 22:43:14.566 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 22:43:14.566 NotebookApp] http://localhost:8888/?token=ef4778bc09d277f3fc20f9b72034e4778dfa68ce481b17ed
[I 22:43:14.566 NotebookApp]  or http://127.0.0.1:8888/?token=ef4778bc09d277f3fc20f9b72034e4778dfa68ce481b17ed
[I 22:43:14.566 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:43:14.570 NotebookApp] 

    To access the notebook, open this file in a browser:
        file:///Users/glyph/Library/Jupyter/runtime/nbserver-87610-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=ef4778bc09d277f3fc20f9b72034e4778dfa68ce481b17ed
     or http://127.0.0.1:8888/?token=ef4778bc09d277f3fc20f9b72034e4778dfa68ce481b17ed
[W 22:43:15.426 NotebookApp] 403 POST /login (127.0.0.1): XSRF cookie does not match POST argument
[D 22:43:15.426 NotebookApp] Using contents: services/contents
[D 22:43:15.427 NotebookApp] Using contents: services/contents
[D 22:43:15.446 NotebookApp] Path base/images/favicon.ico served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/base/images/favicon.ico
[D 22:43:15.447 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 22:43:15.448 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 22:43:15.449 NotebookApp] Path style/style.min.css served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/style/style.min.css
[D 22:43:15.450 NotebookApp] Path components/es6-promise/promise.min.js served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 22:43:15.481 NotebookApp] Path components/react/react.production.min.js served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/react/react.production.min.js
[D 22:43:15.481 NotebookApp] Path components/react/react-dom.production.min.js served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/react/react-dom.production.min.js
[D 22:43:15.483 NotebookApp] Path components/create-react-class/index.js served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/create-react-class/index.js
[D 22:43:15.483 NotebookApp] Path components/requirejs/require.js served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/components/requirejs/require.js
[D 22:43:15.484 NotebookApp] Path base/images/logo.png served from /Users/glyph/.local/pipx/venvs/jupyter/lib/python3.8/site-packages/notebook/static/base/images/logo.png
[W 22:43:15.538 NotebookApp] 403 POST /login (127.0.0.1) 113.090000ms referer=None
[W 22:43:21.730 NotebookApp] 403 POST /login (127.0.0.1): XSRF cookie does not match POST argument
[D 22:43:21.730 NotebookApp] Using contents: services/contents
[D 22:43:21.730 NotebookApp] Using contents: services/contents
[W 22:43:21.731 NotebookApp] 403 POST /login (127.0.0.1) 1.440000ms referer=None
glyph commented 3 years ago

I haven't fully debugged this but it looks like the issue is the attempt to guess an XSRF token when it should really be passing the token in a header in every request, as described here; https://github.com/jupyter/help/issues/172#issuecomment-303717476

glyph commented 3 years ago

Rolling back to ein-20210211.1542 fixes the issue so this was in fact a recent change.

dickmao commented 3 years ago

plist-member(0 :num-redirects)

That is so strange. If you want to persist,

glyph commented 3 years ago

re-downloading from MELPA now, I'll let you know what I find.

glyph commented 3 years ago

Hooray! It works again, looks like #785 was indeed the same issue. Thank you for the fix, and thank you for maintaining EIN!

studentz commented 6 months ago

Problem description

Same issue, ein-20230827.325, GNU Emacs 29.1.90

Steps to reproduce the problem, GNU Emacs 29.1.90, Ubuntu 22.04

System info:

ein:dev-sys-info erred: Package lacks a file header```
## Logs:
####  *request-log*:

[debug] request--curl: --silent --location --cookie /home/user/.emacs.d/request/curl-cookie-jar --cookie-jar /home/user/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --junk-session-cookies --trace-ascii /tmp/curl-trace --compressed --header User-Agent: Mozilla/5.0 --url http://127.0.0.1:8889/login --data-binary @- [debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED HTTP/1.1 403 Forbidden Server: TornadoServer/6.3.3 Content-Type: text/html Date: Wed, 22 May 2024 22:54:08 GMT X-Content-Type-Options: nosniff Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report Content-Length: 3071 Set-Cookie: _xsrf=2|a6fbb8f8|22420670d3f4239078d5ef9f81a2331b|1716418448; Path=/

<!DOCTYPE HTML>

Jupyter Server

403 : Forbidden

The error was:

'_xsrf' argument missing from POST

[error] request--callback: peculiar error: 403 [debug] request--callback: executing error [debug] request--curl: --silent --location --cookie /home/user/.emacs.d/request/curl-cookie-jar --cookie-jar /home/user/.emacs.d/request/curl-cookie-jar --include --write-out \n(:num-redirects %{num_redirects} :url-effective "%{url_effective}") --trace-ascii /tmp/curl-trace --compressed --header User-Agent: Mozilla/5.0 --url http://127.0.0.1:8889/login --data-binary @- [debug] request--callback: executing complete [debug] request--curl-callback: event finished

[debug] request--callback: UNPARSED HTTP/1.1 403 Forbidden Server: TornadoServer/6.3.3 Content-Type: text/html Date: Wed, 22 May 2024 22:54:08 GMT X-Content-Type-Options: nosniff Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report Content-Length: 3071 Set-Cookie: _xsrf=2|88721fe1|6a9512c166483576aaa42ccc3882c2ad|1716418448; Path=/

<!DOCTYPE HTML>

Jupyter Server

403 : Forbidden

p

The error was:

'_xsrf' argument missing from POST

[error] request--callback: peculiar error: 403 [debug] request--callback: executing error [debug] request--callback: executing complete

#### *ein:log-all*:

18:54:05:247: [info] ein:jupyter-server--run: /home/user/.local/bin/jupyter notebook --notebook-dir=~/Documents/graphs/othercode/ --debug --no-browser @# 18:54:08:501: [debug] Login attempt #0 in response to nil from http://127.0.0.1:8889. @# 18:54:08:692: [debug] Login attempt #1 in response to 403 from http://127.0.0.1:8889. @# 18:54:08:694: [debug] ein:notebooklist-login--complete STATUS: 403 DATA: nil @# 18:54:08:872: [error] Login to http://127.0.0.1:8889 failed, error-thrown (error http 403), raw-header HTTP/1.1 403 Forbidden Server: TornadoServer/6.3.3 Content-Type: text/html Date: Wed, 22 May 2024 22:54:08 GMT X-Content-Type-Options: nosniff Content-Security-Policy: frame-ancestors 'self'; report-uri /api/security/csp-report Content-Length: 3071 Set-Cookie: _xsrf=2|88721fe1|6a9512c166483576aaa42ccc3882c2ad|1716418448; Path=/ @# 18:54:08:952: [debug] ein:notebooklist-login--complete STATUS: 403 DATA: nil @#

#### *ein server*:

[D 2024-05-22 18:54:05.704 ServerApp] Searching ['/home/user/.jupyter', '/home/user/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files [D 2024-05-22 18:54:05.705 ServerApp] Looking for jupyter_config in /etc/jupyter [D 2024-05-22 18:54:05.705 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter [D 2024-05-22 18:54:05.705 ServerApp] Looking for jupyter_config in /usr/etc/jupyter [D 2024-05-22 18:54:05.705 ServerApp] Looking for jupyter_config in /home/user/.local/etc/jupyter [D 2024-05-22 18:54:05.705 ServerApp] Looking for jupyter_config in /home/user/.jupyter [D 2024-05-22 18:54:05.706 ServerApp] Looking for jupyter_server_config in /etc/jupyter [D 2024-05-22 18:54:05.706 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter [D 2024-05-22 18:54:05.706 ServerApp] Looking for jupyter_server_config in /usr/etc/jupyter [D 2024-05-22 18:54:05.706 ServerApp] Looking for jupyter_server_config in /home/user/.local/etc/jupyter [D 2024-05-22 18:54:05.706 ServerApp] Looking for jupyter_server_config in /home/user/.jupyter [D 2024-05-22 18:54:05.706 ServerApp] Loaded config file: /home/user/.jupyter/jupyter_server_config.py [D 2024-05-22 18:54:05.708 ServerApp] Paths used for configuration of jupyter_server_config: /etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:05.709 ServerApp] Paths used for configuration of jupyter_server_config: /usr/local/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json /usr/local/etc/jupyter/jupyter_server_config.d/jupyter_server_terminals.json /usr/local/etc/jupyter/jupyter_server_config.d/jupyterlab.json /usr/local/etc/jupyter/jupyter_server_config.d/nbclassic.json /usr/local/etc/jupyter/jupyter_server_config.d/notebook_shim.json /usr/local/etc/jupyter/jupyter_server_config.d/voila.json /usr/local/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:05.709 ServerApp] Paths used for configuration of jupyter_server_config: /usr/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:05.709 ServerApp] Paths used for configuration of jupyter_server_config: /home/user/.local/etc/jupyter/jupyter_server_config.d/jupyterlab.json /home/user/.local/etc/jupyter/jupyter_server_config.d/jupytext.json /home/user/.local/etc/jupyter/jupyter_server_config.d/notebook.json /home/user/.local/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:05.709 ServerApp] Paths used for configuration of jupyter_server_config: /home/user/.jupyter/jupyter_server_config.json [I 2024-05-22 18:54:05.713 ServerApp] Package notebook took 0.0000s to import [I 2024-05-22 18:54:05.721 ServerApp] Package jupyter_lsp took 0.0079s to import [W 2024-05-22 18:54:05.721 ServerApp] A _jupyter_server_extension_points function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2024-05-22 18:54:05.725 ServerApp] Package jupyter_server_terminals took 0.0034s to import [I 2024-05-22 18:54:05.725 ServerApp] Package jupyterlab took 0.0000s to import [I 2024-05-22 18:54:06.063 ServerApp] Package jupytext took 0.0497s to import [D 2024-05-22 18:54:06.063 ServerApp] A _jupyter_server_extension_points function was not found in jupytext, so Jupyter Server will look for extension points in the extension pacakge's root. [I 2024-05-22 18:54:06.064 ServerApp] Package nbclassic took 0.0013s to import [W 2024-05-22 18:54:06.065 ServerApp] A _jupyter_server_extension_points function was not found in nbclassic. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2024-05-22 18:54:06.066 ServerApp] Package notebook_shim took 0.0000s to import [W 2024-05-22 18:54:06.066 ServerApp] A _jupyter_server_extension_points function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2024-05-22 18:54:06.187 ServerApp] Package voila.server_extension took 0.1210s to import [W 2024-05-22 18:54:06.187 ServerApp] A _jupyter_server_extension_points function was not found in voila.server_extension. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2024-05-22 18:54:06.187 ServerApp] jupyter_lsp | extension was successfully linked. [D 2024-05-22 18:54:06.191 TerminalsExtensionApp] Config changed: {'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue {'update': {'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}}>}, 'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}} [D 2024-05-22 18:54:06.192 ServerApp] Config changed: {'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}} [I 2024-05-22 18:54:06.192 ServerApp] jupyter_server_terminals | extension was successfully linked. [D 2024-05-22 18:54:06.196 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}} [I 2024-05-22 18:54:06.197 ServerApp] jupyterlab | extension was successfully linked. [I 2024-05-22 18:54:06.197 ServerApp] jupytext | extension was successfully linked. [D 2024-05-22 18:54:06.200 NotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}} [I 2024-05-22 18:54:06.201 ServerApp] nbclassic | extension was successfully linked. [D 2024-05-22 18:54:06.204 JupyterNotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}>}, 'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}} [I 2024-05-22 18:54:06.205 ServerApp] notebook | extension was successfully linked. [D 2024-05-22 18:54:06.363 ServerApp] Paths used for configuration of jupyter_notebook_config: /home/user/.jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.363 ServerApp] Paths used for configuration of jupyter_notebook_config: /etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.364 ServerApp] Paths used for configuration of jupyter_notebook_config: /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json /usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json /usr/local/etc/jupyter/jupyter_notebook_config.d/voila.json /usr/local/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.364 ServerApp] Paths used for configuration of jupyter_notebook_config: /usr/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.364 ServerApp] Paths used for configuration of jupyter_notebook_config: /home/user/.local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json /home/user/.local/etc/jupyter/jupyter_notebook_config.d/jupytext.json /home/user/.local/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.364 ServerApp] Paths used for configuration of jupyter_notebook_config: /home/user/.jupyter/jupyter_notebook_config.json [I 2024-05-22 18:54:06.364 ServerApp] notebook_shim | extension was successfully linked. [I 2024-05-22 18:54:06.364 ServerApp] voila.server_extension | extension was successfully linked. [D 2024-05-22 18:54:06.365 ServerApp] Config changed: {'ExtensionApp': {'log_level': 'DEBUG', 'open_browser': False}, 'NotebookApp': {}, 'ServerApp': {'root_dir': '/home/user/Documents/graphs/othercode/', 'log_level': 'DEBUG', 'open_browser': False, 'jpserver_extensions': <LazyConfigValue value={'notebook': True, 'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'jupytext': True, 'nbclassic': True, 'notebook_shim': True, 'voila.server_extension': True}>}} [D 2024-05-22 18:54:06.365 ServerApp] Raising open file limit: soft 1024->4096; hard 1048576->1048576 [I 2024-05-22 18:54:06.378 ServerApp] notebook_shim | extension was successfully loaded. [D 2024-05-22 18:54:06.379 ServerApp] [lsp] rootUri will be file:///home/user/Documents/graphs/othercode [D 2024-05-22 18:54:06.379 ServerApp] [lsp] virtualDocumentsUri will be file:///home/user/Documents/graphs/othercode/.virtual_documents [I 2024-05-22 18:54:06.379 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-05-22 18:54:06.380 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-05-22 18:54:06.381 LabApp] JupyterLab extension loaded from /home/user/.local/lib/python3.10/site-packages/jupyterlab [I 2024-05-22 18:54:06.381 LabApp] JupyterLab application directory is /home/user/.local/share/jupyter/lab [I 2024-05-22 18:54:06.382 LabApp] Extension Manager is 'pypi'. [D 2024-05-22 18:54:06.382 LabApp] Extensions list will be fetched from https://pypi.org/pypi. [I 2024-05-22 18:54:06.384 ServerApp] jupyterlab | extension was successfully loaded. [W 2024-05-22 18:54:06.384 ServerApp] [Jupytext Server Extension] Async contents managers like AsyncLargeFileManager are not supported at the moment (https://github.com/mwouts/jupytext/issues/1020). We will derive a contents manager from LargeFileManager instead. [I 2024-05-22 18:54:06.384 ServerApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager [I 2024-05-22 18:54:06.385 ServerApp] jupytext | extension was successfully loaded.


| | | |_ | | | | __ | || | ' \/ / _ | / -) _/| ./_,_,|_\| |_|

Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.

https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html

Please note that updating to Notebook 7 might break some of your extensions.

[I 2024-05-22 18:54:06.387 ServerApp] nbclassic | extension was successfully loaded. [I 2024-05-22 18:54:06.389 ServerApp] notebook | extension was successfully loaded. [I 2024-05-22 18:54:06.390 ServerApp] voila.server_extension | extension was successfully loaded. [I 2024-05-22 18:54:06.390 ServerApp] The port 8888 is already in use, trying another port. [I 2024-05-22 18:54:06.391 ServerApp] Serving notebooks from local directory: /home/user/Documents/graphs/othercode [I 2024-05-22 18:54:06.391 ServerApp] Jupyter Server 2.7.0 is running at: [I 2024-05-22 18:54:06.391 ServerApp] http://localhost:8889/tree?token=b3532b7078815298a34f8f19b98c91aad4c2b3cfe36e861e [I 2024-05-22 18:54:06.391 ServerApp] http://127.0.0.1:8889/tree?token=b3532b7078815298a34f8f19b98c91aad4c2b3cfe36e861e [I 2024-05-22 18:54:06.391 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-05-22 18:54:06.393 ServerApp]

To access the server, open this file in a browser:
    file:///home/user/.local/share/jupyter/runtime/jpserver-139972-open.html
Or copy and paste one of these URLs:
    http://localhost:8889/tree?token=b3532b7078815298a34f8f19b98c91aad4c2b3cfe36e861e
    http://127.0.0.1:8889/tree?token=b3532b7078815298a34f8f19b98c91aad4c2b3cfe36e861e

[D 2024-05-22 18:54:06.394 ServerApp] Paths used for configuration of jupyter_config: /etc/jupyter/jupyter_config.json [D 2024-05-22 18:54:06.394 ServerApp] Paths used for configuration of jupyter_config: /usr/local/etc/jupyter/jupyter_config.json [D 2024-05-22 18:54:06.394 ServerApp] Paths used for configuration of jupyter_config: /usr/etc/jupyter/jupyter_config.json [D 2024-05-22 18:54:06.395 ServerApp] Paths used for configuration of jupyter_config: /home/user/.local/etc/jupyter/jupyter_config.json [D 2024-05-22 18:54:06.395 ServerApp] Paths used for configuration of jupyter_config: /home/user/.jupyter/jupyter_config.json [D 2024-05-22 18:54:06.395 ServerApp] Paths used for configuration of jupyter_notebook_config: /etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.395 ServerApp] Paths used for configuration of jupyter_notebook_config: /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyter-lsp-notebook.json /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json /usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json /usr/local/etc/jupyter/jupyter_notebook_config.d/voila.json /usr/local/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.395 ServerApp] Paths used for configuration of jupyter_notebook_config: /usr/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.396 ServerApp] Paths used for configuration of jupyter_notebook_config: /home/user/.local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json /home/user/.local/etc/jupyter/jupyter_notebook_config.d/jupytext.json /home/user/.local/etc/jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.396 ServerApp] Paths used for configuration of jupyter_notebook_config: /home/user/.jupyter/jupyter_notebook_config.json [D 2024-05-22 18:54:06.396 ServerApp] Paths used for configuration of jupyter_server_config: /etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:06.396 ServerApp] Paths used for configuration of jupyter_server_config: /usr/local/etc/jupyter/jupyter_server_config.d/jupyter-lsp-jupyter-server.json /usr/local/etc/jupyter/jupyter_server_config.d/jupyter_server_terminals.json /usr/local/etc/jupyter/jupyter_server_config.d/jupyterlab.json /usr/local/etc/jupyter/jupyter_server_config.d/nbclassic.json /usr/local/etc/jupyter/jupyter_server_config.d/notebook_shim.json /usr/local/etc/jupyter/jupyter_server_config.d/voila.json /usr/local/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:06.396 ServerApp] Paths used for configuration of jupyter_server_config: /usr/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:06.397 ServerApp] Paths used for configuration of jupyter_server_config: /home/user/.local/etc/jupyter/jupyter_server_config.d/jupyterlab.json /home/user/.local/etc/jupyter/jupyter_server_config.d/jupytext.json /home/user/.local/etc/jupyter/jupyter_server_config.d/notebook.json /home/user/.local/etc/jupyter/jupyter_server_config.json [D 2024-05-22 18:54:06.397 ServerApp] Paths used for configuration of jupyter_server_config: /home/user/.jupyter/jupyter_server_config.json [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.523 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.524 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.524 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /usr/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /usr/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.525 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.526 ServerApp] javascript-typescript-langserver/lib/language-server-stdio.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.748 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] Checking for /usr/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] Checking for /usr/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.748 ServerApp] pyright/langserver.index.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.959 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] Checking for /usr/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] Checking for /usr/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.959 ServerApp] sql-language-server/dist/bin/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:06.960 ServerApp] typescript-language-server/lib/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:06.960 ServerApp] unified-language-server/src/server.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /usr/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.960 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] vscode-css-languageserver-bin/cssServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] vscode-html-languageserver-bin/htmlServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:06.961 ServerApp] vscode-json-languageserver-bin/jsonServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.961 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/lib/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.961 ServerApp] Checking for /usr/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.962 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.962 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:06.962 ServerApp] yaml-language-server/bin/yaml-language-server not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [I 2024-05-22 18:54:06.962 ServerApp] Skipped non-installed server(s): javascript-typescript-langserver, julia-language-server, pyright, python-language-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server [D 2024-05-22 18:54:06.986 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /usr/lib/node_modules/bash-language-server/out/cli.js [D 2024-05-22 18:54:06.986 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /usr/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /usr/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.987 ServerApp] javascript-typescript-langserver/lib/language-server-stdio.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.987 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] Checking for /usr/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] Checking for /usr/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/javascript-typescript-langserver/lib/language-server-stdio.js [D 2024-05-22 18:54:06.988 ServerApp] javascript-typescript-langserver/lib/language-server-stdio.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /usr/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /usr/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] pyright/langserver.index.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /usr/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /usr/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.989 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/pyright/langserver.index.js [D 2024-05-22 18:54:06.990 ServerApp] pyright/langserver.index.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:06.992 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.992 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.992 ServerApp] Checking for /usr/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.992 ServerApp] Checking for /usr/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.992 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:06.992 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] sql-language-server/dist/bin/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.618 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] Checking for /usr/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] Checking for /usr/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/sql-language-server/dist/bin/cli.js [D 2024-05-22 18:54:08.618 ServerApp] sql-language-server/dist/bin/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /usr/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /usr/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] typescript-language-server/lib/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /usr/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /usr/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/typescript-language-server/lib/cli.js [D 2024-05-22 18:54:08.620 ServerApp] typescript-language-server/lib/cli.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.625 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.625 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.625 ServerApp] Checking for /usr/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.625 ServerApp] Checking for /usr/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.625 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.625 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] unified-language-server/src/server.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /usr/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /usr/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/unified-language-server/src/server.js [D 2024-05-22 18:54:08.626 ServerApp] unified-language-server/src/server.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /usr/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /usr/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.626 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.627 ServerApp] vscode-css-languageserver-bin/cssServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.627 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-css-languageserver-bin/cssServerMain.js [W 2024-05-22 18:54:08.647 ServerApp] 403 POST /login (127.0.0.1): '_xsrf' argument missing from POST [D 2024-05-22 18:54:08.649 ServerApp] Using contents: services/contents [D 2024-05-22 18:54:08.649 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.649 ServerApp] Using contents: services/contents [D 2024-05-22 18:54:08.649 ServerApp] Checking for /usr/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.649 ServerApp] Checking for /usr/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.649 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.649 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-css-languageserver-bin/cssServerMain.js [D 2024-05-22 18:54:08.649 ServerApp] vscode-css-languageserver-bin/cssServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.650 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.650 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.650 ServerApp] Checking for /usr/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.650 ServerApp] Checking for /usr/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] vscode-html-languageserver-bin/htmlServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.653 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] Checking for /usr/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.653 ServerApp] Checking for /usr/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.660 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.660 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-html-languageserver-bin/htmlServerMain.js [D 2024-05-22 18:54:08.660 ServerApp] Path favicon.ico served from /home/user/.local/lib/python3.10/site-packages/jupyter_server/static/favicon.ico [D 2024-05-22 18:54:08.660 ServerApp] vscode-html-languageserver-bin/htmlServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.660 ServerApp] Path style/bootstrap.min.css served from /home/user/.local/lib/python3.10/site-packages/jupyter_server/static/style/bootstrap.min.css [D 2024-05-22 18:54:08.665 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] Checking for /usr/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] Checking for /usr/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.665 ServerApp] vscode-json-languageserver-bin/jsonServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.666 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] Path style/bootstrap-theme.min.css served from /home/user/.local/lib/python3.10/site-packages/jupyter_server/static/style/bootstrap-theme.min.css [D 2024-05-22 18:54:08.666 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] Checking for /usr/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] Checking for /usr/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] Path style/index.css served from /home/user/.local/lib/python3.10/site-packages/jupyter_server/static/style/index.css [D 2024-05-22 18:54:08.666 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/vscode-json-languageserver-bin/jsonServerMain.js [D 2024-05-22 18:54:08.666 ServerApp] vscode-json-languageserver-bin/jsonServerMain.js not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.667 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.667 ServerApp] Path logo/logo.png served from /home/user/.local/lib/python3.10/site-packages/jupyter_server/static/logo/logo.png [D 2024-05-22 18:54:08.686 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.686 ServerApp] Checking for /usr/lib/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.686 ServerApp] Checking for /usr/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.686 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] yaml-language-server/bin/yaml-language-server not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.687 ServerApp] Checking for /home/user/Documents/graphs/othercode/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] Checking for /home/user/.local/share/jupyter/lab/staging/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] Checking for /usr/lib/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] Checking for /usr/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.687 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/yaml-language-server/bin/yaml-language-server [W 2024-05-22 18:54:08.687 ServerApp] 403 POST /login (@127.0.0.1) 40.38ms referer=None [D 2024-05-22 18:54:08.688 ServerApp] Checking for /home/user/.nvm/versions/node/v20.13.1/node_modules/yaml-language-server/bin/yaml-language-server [D 2024-05-22 18:54:08.688 ServerApp] yaml-language-server/bin/yaml-language-server not found in node_modules of [PosixPath('/home/user/Documents/graphs/othercode'), PosixPath('/home/user/.local/share/jupyter/lab/staging'), PosixPath('/usr/lib'), PosixPath('/usr'), PosixPath('/home/user/.nvm/versions/node/v20.13.1/lib'), PosixPath('/home/user/.nvm/versions/node/v20.13.1')] [D 2024-05-22 18:54:08.762 ServerApp] [lsp] Servers that requested virtual documents on disk: ['bash-language-server', 'dockerfile-language-server-nodejs', 'jedi-language-server', 'pylsp'] [D 2024-05-22 18:54:08.763 ServerApp] [lsp] The following Language Servers will be available: { "bash-language-server": { "argv": [ "/home/user/.nvm/versions/node/v20.13.1/bin/node", "/usr/lib/node_modules/bash-language-server/out/cli.js", "start" ], "config_schema": { "properties": { "bashIde.backgroundAnalysisMaxFiles": { "default": 500, "description": "Maximum number of files to analyze in the background. Set to 0 to disable background analysis.", "minimum": 0, "type": "number" }, "bashIde.enableSourceErrorDiagnostics": { "default": false, "description": "Enable diagnostics for source errors. Ignored if includeAllWorkspaceSymbols is true.", "type": "boolean" }, "bashIde.explainshellEndpoint": { "default": "", "description": "Configure explainshell server endpoint in order to get hover documentation on flags and options.", "type": "string" }, "bashIde.globPattern": { "default": "*/@(.sh|.inc|.bash|.command)", "description": "Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files.", "type": "string" }, "bashIde.includeAllWorkspaceSymbols": { "default": false, "description": "Controls how symbols (e.g. variables and functions) are included and used for completion and documentation. If false (default and recommended), then we only include symbols from sourced files (i.e. using non dynamic statements like 'source file.sh' or '. file.sh' or following ShellCheck directives). If true, then all symbols from the workspace are included.", "type": "boolean" }, "bashIde.logLevel": { "default": "info", "description": "Controls the log level of the language server.", "enum": [ "debug", "info", "warning", "error" ], "type": "string" }, "bashIde.shellcheckArguments": { "default": "", "description": "Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, --external-sources.", "type": "string" }, "bashIde.shellcheckPath": { "default": "shellcheck", "description": "Controls the executable used for ShellCheck linting information. An empty string will disable linting.", "type": "string" } }, "title": "Bash IDE configuration", "type": "object" }, "display_name": "bash-language-server", "install": { "jlpm": "jlpm add --dev bash-language-server", "npm": "npm install --save-dev bash-language-server", "yarn": "yarn add --dev bash-language-server" }, "languages": [ "bash", "sh" ], "mime_types": [ "text/x-sh", "application/x-sh" ], "troubleshoot": "Node.js is required to install this server.", "urls": { "home": "https://github.com/bash-lsp/bash-language-server", "issues": "https://github.com/bash-lsp/bash-language-server/issues" }, "version": 2 }, "dockerfile-language-server-nodejs": { "argv": [ "/home/user/.nvm/versions/node/v20.13.1/bin/node", "/usr/lib/node_modules/dockerfile-language-server-nodejs/lib/server.js", "--stdio" ], "config_schema": { "$comment": "Based on settings of vscode-docker which is distributed under MIT License, Copyright (c) Microsoft Corporation", "properties": { "docker.attachShellCommand.linuxContainer": { "default": "/bin/sh -c \"[ -e /bin/bash ] && /bin/bash || /bin/sh\"", "description": "Attach command to use for Linux containers", "type": "string" }, "docker.attachShellCommand.windowsContainer": { "default": "powershell", "description": "Attach command to use for Windows containers", "type": "string" }, "docker.certPath": { "default": "", "description": "Equivalent to setting the DOCKER_CERT_PATH environment variable.", "type": "string" }, "docker.containers.description": { "default": [ "ContainerName", "Status" ], "description": "Any secondary properties to display for a container.", "items": { "enum": [ "ContainerId", "ContainerName", "CreatedTime", "FullTag", "ImageId", "Networks", "Ports", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "State", "Status", "Tag" ], "type": "string" }, "type": "array" }, "docker.containers.groupBy": { "default": "None", "description": "The property to use when grouping containers.", "enum": [ "ContainerId", "ContainerName", "CreatedTime", "FullTag", "ImageId", "Networks", "None", "Ports", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "State", "Status", "Tag" ], "type": "string" }, "docker.containers.label": { "default": "FullTag", "description": "The primary property to display for a container.", "enum": [ "ContainerId", "ContainerName", "CreatedTime", "FullTag", "ImageId", "Networks", "Ports", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "State", "Status", "Tag" ], "type": "string" }, "docker.containers.sortBy": { "default": "CreatedTime", "description": "The property to use when sorting containers.", "enum": [ "CreatedTime", "Label" ], "type": "string" }, "docker.defaultRegistryPath": { "default": "", "description": "Default registry and path when tagging an image", "type": "string" }, "docker.dockerComposeBuild": { "default": true, "description": "Run docker-compose with the --build argument, defaults to true", "type": "boolean" }, "docker.dockerComposeDetached": { "default": true, "description": "Run docker-compose with the --d (detached) argument, defaults to true", "type": "boolean" }, "docker.dockerPath": { "default": "docker", "description": "Absolute path to Docker client executable ('docker' command). If the path contains whitespace, it needs to be quoted appropriately.", "type": "string" }, "docker.enableDockerComposeLanguageService": { "default": true, "description": "Whether or not to enable the preview Docker Compose Language Service. Changing requires restart to take effect", "type": "boolean" }, "docker.explorerRefreshInterval": { "default": 2000, "description": "Explorer refresh interval, default is 2000ms", "type": "number" }, "docker.host": { "default": "", "description": "Equivalent to setting the DOCKER_HOST environment variable.", "type": "string" }, "docker.imageBuildContextPath": { "default": "", "description": "Build context PATH to pass to Docker build command", "type": "string" }, "docker.images.description": { "default": [ "CreatedTime" ], "description": "Any secondary properties to display for a image.", "items": { "enum": [ "CreatedTime", "FullTag", "ImageId", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "Tag" ], "type": "string" }, "type": "array" }, "docker.images.groupBy": { "default": "Repository", "description": "The property to use when grouping images.", "enum": [ "CreatedTime", "FullTag", "ImageId", "None", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "Tag" ], "type": "string" }, "docker.images.label": { "default": "Tag", "description": "The primary property to display for a image.", "enum": [ "CreatedTime", "FullTag", "ImageId", "Registry", "Repository", "RepositoryName", "RepositoryNameAndTag", "Tag" ], "type": "string" }, "docker.images.sortBy": { "default": "CreatedTime", "description": "The property to use when sorting images.", "enum": [ "CreatedTime", "Label" ], "type": "string" }, "docker.languageserver.diagnostics.deprecatedMaintainer": { "default": "warning", "description": "Controls the diagnostic severity for the deprecated MAINTAINER instruction", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.directiveCasing": { "default": "warning", "description": "Controls the diagnostic severity for parser directives that are not written in lowercase", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.emptyContinuationLine": { "default": "warning", "description": "Controls the diagnostic severity for flagging empty continuation lines found in instructions that span multiple lines", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionCasing": { "default": "warning", "description": "Controls the diagnostic severity for instructions that are not written in uppercase", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionCmdMultiple": { "default": "warning", "description": "Controls the diagnostic severity for flagging a Dockerfile with multiple CMD instructions", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionEntrypointMultiple": { "default": "warning", "description": "Controls the diagnostic severity for flagging a Dockerfile with multiple ENTRYPOINT instructions", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionHealthcheckMultiple": { "default": "warning", "description": "Controls the diagnostic severity for flagging a Dockerfile with multiple HEALTHCHECK instructions", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionJSONInSingleQuotes": { "default": "warning", "description": "Controls the diagnostic severity for JSON instructions that are written incorrectly with single quotes", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.languageserver.diagnostics.instructionWorkdirRelative": { "default": "warning", "description": "Controls the diagnostic severity for WORKDIR instructions that do not point to an absolute path", "enum": [ "ignore", "warning", "error" ], "scope": "resource", "type": "string" }, "docker.machineName": { "default": "", "description": "Equivalent to setting the DOCKER_MACHINE_NAME environment variable.", "type": "string" }, "docker.networks.description": { "default": [ "NetworkDriver", "CreatedTime" ], "description": "Any secondary properties to display for a network.", "items": { "enum": [ "CreatedTime", "NetworkDriver", "NetworkId", "NetworkName" ], "type": "string" }, "type": "array" }, "docker.networks.groupBy": { "default": "None", "description": "The property to use when grouping networks.", "enum": [ "CreatedTime", "NetworkDriver", "NetworkId", "NetworkName", "None" ], "type": "string" }, "docker.networks.label": { "default": "NetworkName", "description": "The primary property to display for a network.", "enum": [ "CreatedTime", "NetworkDriver", "NetworkId", "NetworkName" ], "type": "string" }, "docker.networks.sortBy": { "default": "CreatedTime", "description": "The property to use when sorting networks.", "enum": [ "CreatedTime", "Label" ], "type": "string" }, "docker.showRemoteWorkspaceWarning": { "default": true, "description": "Show a prompt to switch from \"UI\" extension to \"Workspace\" extension if an operation is not supported.", "type": "boolean" }, "docker.tlsVerify": { "default": "", "description": "Equivalent to setting the DOCKER_TLS_VERIFY environment variable.", "type": "string" }, "docker.truncateLongRegistryPaths": { "default": false, "description": "Truncate long Image and Container registry paths in the Explorer", "type": "boolean" }, "docker.truncateMaxLength": { "default": 10, "description": "Maximum number of characters for long registry paths in the Explorer, including elipsis", "type": "number" }, "docker.volumes.description": { "default": [ "CreatedTime" ], "description": "Any secondary properties to display for a volume.", "items": { "enum": [ "CreatedTime", "VolumeName" ], "type": "string" }, "type": "array" }, "docker.volumes.groupBy": { "default": "None", "description": "The property to use when grouping volumes.", "enum": [ "CreatedTime", "VolumeName", "None" ], "type": "string" }, "docker.volumes.label": { "default": "VolumeName", "description": "The primary property to display for a volume.", "enum": [ "CreatedTime", "VolumeName" ], "type": "string" }, "docker.volumes.sortBy": { "default": "CreatedTime", "description": "The property to use when sorting volumes.", "enum": [ "CreatedTime", "Label" ], "type": "string" } }, "title": "Docker language server confiuguration", "type": "object" }, "display_name": "dockerfile-language-server-nodejs", "install": { "jlpm": "jlpm add --dev dockerfile-language-server-nodejs", "npm": "npm install --save-dev dockerfile-language-server-nodejs", "yarn": "yarn add --dev dockerfile-language-server-nodejs" }, "languages": [ "dockerfile" ], "mime_types": [ "text/x-dockerfile" ], "troubleshoot": "Node.js is required to install this server.", "urls": { "home": "https://github.com/rcjsuen/dockerfile-language-server-nodejs", "issues": "https://github.com/rcjsuen/dockerfile-language-server-nodejs/issues" }, "version": 2 }, "jedi-language-server": { "argv": [ "/home/user/.local/bin/jedi-language-server" ], "display_name": "jedi-language-server", "env": { "PYTHONUNBUFFERED": "1" }, "install": { "conda": "conda install -c conda-forge jedi-language-server", "pip": "pip install -U jedi-language-server" }, "languages": [ "python" ], "mime_types": [ "text/python", "text/x-ipython" ], "urls": { "home": "https://github.com/pappasam/jedi-language-server", "issues": "https://github.com/pappasam/jedi-language-server/issues" }, "version": 2 }, "pylsp": { "argv": [ "/usr/bin/python3", "-m", "pylsp" ], "config_schema": { "properties": { "pylsp.configurationSources": { "default": [ "pycodestyle" ], "description": "List of configuration sources to use.", "items": { "enum": [ "pycodestyle", "pyflakes" ], "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.flake8.config": { "default": null, "description": "Path to the config file that will be the authoritative config source.", "type": [ "string", "null" ] }, "pylsp.plugins.flake8.enabled": { "default": false, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.flake8.exclude": { "default": [], "description": "List of files or directories to exclude.", "items": { "type": "string" }, "type": "array" }, "pylsp.plugins.flake8.executable": { "default": "flake8", "description": "Path to the flake8 executable.", "type": "string" }, "pylsp.plugins.flake8.filename": { "default": null, "description": "Only check for filenames matching the patterns in this list.", "type": [ "string", "null" ] }, "pylsp.plugins.flake8.hangClosing": { "default": null, "description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": [ "boolean", "null" ] }, "pylsp.plugins.flake8.ignore": { "default": [], "description": "List of errors and warnings to ignore (or skip).", "items": { "type": "string" }, "type": "array" }, "pylsp.plugins.flake8.indentSize": { "default": null, "description": "Set indentation spaces.", "type": [ "integer", "null" ] }, "pylsp.plugins.flake8.maxLineLength": { "default": null, "description": "Maximum allowed line length for the entirety of this run.", "type": [ "integer", "null" ] }, "pylsp.plugins.flake8.perFileIgnores": { "default": [], "description": "A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: [\"file_path.py:W305,W304\"]).", "items": { "type": "string" }, "type": [ "array" ] }, "pylsp.plugins.flake8.select": { "default": null, "description": "List of errors and warnings to enable.", "items": { "type": "string" }, "type": [ "array", "null" ], "uniqueItems": true }, "pylsp.plugins.jedi.env_vars": { "default": null, "description": "Define environment variables for jedi.Script and Jedi.names.", "type": [ "object", "null" ] }, "pylsp.plugins.jedi.environment": { "default": null, "description": "Define environment for jedi.Script and Jedi.names.", "type": [ "string", "null" ] }, "pylsp.plugins.jedi.extra_paths": { "default": [], "description": "Define extra paths for jedi.Script.", "items": { "type": "string" }, "type": "array" }, "pylsp.plugins.jedi_completion.cache_for": { "default": [ "pandas", "numpy", "tensorflow", "matplotlib" ], "description": "Modules for which labels and snippets should be cached.", "items": { "type": "string" }, "type": "array" }, "pylsp.plugins.jedi_completion.eager": { "default": false, "description": "Resolve documentation and detail eagerly.", "type": "boolean" }, "pylsp.plugins.jedi_completion.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_completion.fuzzy": { "default": false, "description": "Enable fuzzy when requesting autocomplete.", "type": "boolean" }, "pylsp.plugins.jedi_completion.include_class_objects": { "default": true, "description": "Adds class objects as a separate completion item.", "type": "boolean" }, "pylsp.plugins.jedi_completion.include_params": { "default": true, "description": "Auto-completes methods and classes with tabstops for each parameter.", "type": "boolean" }, "pylsp.plugins.jedi_completion.resolve_at_most": { "default": 25, "description": "How many labels and snippets (at most) should be resolved?", "type": "number" }, "pylsp.plugins.jedi_definition.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_definition.follow_builtin_imports": { "default": true, "description": "If follow_imports is True will decide if it follow builtin imports.", "type": "boolean" }, "pylsp.plugins.jedi_definition.follow_imports": { "default": true, "description": "The goto call will follow imports.", "type": "boolean" }, "pylsp.plugins.jedi_hover.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_references.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_signature_help.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_symbols.all_scopes": { "default": true, "description": "If True lists the names of all scopes instead of only the module namespace.", "type": "boolean" }, "pylsp.plugins.jedi_symbols.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.jedi_symbols.include_importsymbols": { "default": true, "description": "If True includes symbols imported from other libraries.", "type": "boolean" }, "pylsp.plugins.mccabe.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.mccabe.threshold": { "default": 15, "description": "The minimum threshold that triggers warnings about cyclomatic complexity.", "type": "number" }, "pylsp.plugins.preload.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.preload.modules": { "default": [], "description": "List of modules to import on startup", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pycodestyle.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.pycodestyle.exclude": { "default": [], "description": "Exclude files or directories which match these patterns.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pycodestyle.filename": { "default": [], "description": "When parsing directories, only check filenames matching these patterns.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pycodestyle.hangClosing": { "default": null, "description": "Hang closing bracket instead of matching indentation of opening bracket's line.", "type": [ "boolean", "null" ] }, "pylsp.plugins.pycodestyle.ignore": { "default": [], "description": "Ignore errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pycodestyle.indentSize": { "default": null, "description": "Set indentation spaces.", "type": [ "integer", "null" ] }, "pylsp.plugins.pycodestyle.maxLineLength": { "default": null, "description": "Set maximum allowed line length.", "type": [ "number", "null" ] }, "pylsp.plugins.pycodestyle.select": { "default": [], "description": "Select errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pydocstyle.addIgnore": { "default": [], "description": "Ignore errors and warnings in addition to the specified convention.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pydocstyle.addSelect": { "default": [], "description": "Select errors and warnings in addition to the specified convention.", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pydocstyle.convention": { "default": null, "description": "Choose the basic list of checked errors by specifying an existing convention.", "enum": [ "pep257", "numpy", null ], "type": [ "string", "null" ] }, "pylsp.plugins.pydocstyle.enabled": { "default": false, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.pydocstyle.ignore": { "default": [], "description": "Ignore errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pydocstyle.match": { "default": "(?!test).\.py", "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'.", "type": "string" }, "pylsp.plugins.pydocstyle.matchDir": { "default": "[^\.].", "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot.", "type": "string" }, "pylsp.plugins.pydocstyle.select": { "default": [], "description": "Select errors and warnings", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "pylsp.plugins.pyflakes.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.pylint.args": { "default": [], "description": "Arguments to pass to pylint.", "items": { "type": "string" }, "type": "array", "uniqueItems": false }, "pylsp.plugins.pylint.enabled": { "default": false, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.pylint.executable": { "default": null, "description": "Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3.", "type": [ "string", "null" ] }, "pylsp.plugins.rope_completion.eager": { "default": false, "description": "Resolve documentation and detail eagerly.", "type": "boolean" }, "pylsp.plugins.rope_completion.enabled": { "default": false, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.plugins.yapf.enabled": { "default": true, "description": "Enable or disable the plugin.", "type": "boolean" }, "pylsp.rope.extensionModules": { "default": null, "description": "Builtin and c-extension modules that are allowed to be imported and inspected by rope.", "type": [ "null", "string" ] }, "pylsp.rope.ropeFolder": { "default": null, "description": "The name of the folder in which rope stores project configurations and data. Pass null for not using such a folder at all.", "items": { "type": "string" }, "type": [ "null", "array" ], "uniqueItems": true } }, "title": "Python Language Server Configuration", "type": "object" }, "display_name": "python-lsp-server (pylsp)", "env": { "PYTHONUNBUFFERED": "1" }, "extend": [ { "display_name": "pyls-mypy", "install": { "conda": "conda install pyls-mypy", "pip": "pip install pyls-mypy" } }, { "display_name": "pyls-black", "install": { "conda": "conda install pyls-black", "pip": "pip install pyls-black" } }, { "display_name": "pyls-isort", "install": { "conda": "conda install pyls-isort", "pip": "pip install pyls-isort" } }, { "display_name": "pyls-memestra", "install": { "conda": "conda install pyls-memestra", "pip": "pip install pyls-memestra" } } ], "install": { "conda": "conda install -c conda-forge python-lsp-server", "pip": "pip install 'python-lsp-server[all]'" }, "languages": [ "python" ], "mime_types": [ "text/python", "text/x-ipython" ], "urls": { "home": "https://github.com/python-lsp/python-lsp-server", "issues": "https://github.com/python-lsp/python-lsp-server/issues" }, "version": 2 } } [W 2024-05-22 18:54:08.854 ServerApp] 403 POST /login (127.0.0.1): '_xsrf' argument missing from POST [D 2024-05-22 18:54:08.855 ServerApp] Using contents: services/contents [D 2024-05-22 18:54:08.855 ServerApp] Using contents: services/contents [W 2024-05-22 18:54:08.857 ServerApp] 403 POST /login (@127.0.0.1) 4.47ms referer=None