mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
execute and debug notebooklist-open early.
This commit is contained in:
parent
aa907826c0
commit
adce9b3b24
2 changed files with 2 additions and 1 deletions
|
@ -158,6 +158,7 @@ To suppress popup, you can pass a function `ein:do-nothing' as CALLBACK."
|
|||
(unless path (setq path ""))
|
||||
(if (and (stringp url-or-port) (not (string-match-p "^https?" url-or-port)))
|
||||
(setq url-or-port (format "http://%s" url-or-port)))
|
||||
(ein:log 'debug "NOTEBOOKLIST-OPEN: %s/%s" url-or-port path)
|
||||
(ein:subpackages-load)
|
||||
(let ((success
|
||||
(if no-popup
|
||||
|
|
|
@ -54,9 +54,9 @@ Make MAX-COUNT larger \(default 50) to wait longer before timeout."
|
|||
(ein:log 'debug "TESTING-START-SERVER logging in.")
|
||||
(multiple-value-bind (url token) (ein:jupyter-server-conn-info)
|
||||
(ein:log 'debug (format "TESTING-START-SERVER url: %s, token: %s" url token))
|
||||
(ein:notebooklist-login url token)
|
||||
(setq ein:testing-port url)
|
||||
(setq ein:testing-token token)
|
||||
(ein:jupyter-server-login-and-open)
|
||||
(ein:log 'debug "TESTING-START-SERVER succesfully logged in.")
|
||||
url)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue