syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.7k stars 4.9k forks source link

[python] use-package error in python layer when starting spacemacs #11129

Closed delaanthonio closed 6 years ago

delaanthonio commented 6 years ago

Description :octocat: A python error occurs when starting Spacemacs. I

started getting this error after updating to the latest develop branch.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: Spacemacs starts with the error: Error (use-package): python/:init: Wrong type argument: stringp, nil

Expected behaviour: :heart: :smile: Spacemacs should start without an error.

System Info :computer:

Backtrace :paw_prints:

;; Debugger entered--Lisp error:
(wrong-type-argument stringp nil) string-match(nil "/usr/bin/ipython") (if
(string-match (elt pyenv-version-names i) (string-trim pyenv-string)) (setq
executable (string-trim pyenv-string))) (while (and (not executable) (<= i
(length pyenv-version-names))) (if (string-match (elt pyenv-version-names i)
(string-trim pyenv-string)) (setq executable (string-trim pyenv-string))) (setq
i (1+ i))) (if (not (string-match "not found" pyenv-string)) (while (and (not
executable) (<= i (length pyenv-version-names))) (if (string-match (elt
pyenv-version-names i) (string-trim pyenv-string)) (setq executable (string-trim
pyenv-string))) (setq i (1+ i)))) (let ((pyenv-string (shell-command-to-string
(concat "pyenv which " command))) (pyenv-version-names (split-string
(string-trim (shell-command-to-string "pyenv version-name")) ":")) (executable
nil) (i 0)) (if (not (string-match "not found" pyenv-string)) (while (and (not
executable) (<= i (length pyenv-version-names))) (if (string-match (elt
pyenv-version-names i) (string-trim pyenv-string)) (setq executable (string-trim
pyenv-string))) (setq i (1+ i)))) executable) (progn (let ((pyenv-string
(shell-command-to-string (concat "pyenv which " command))) (pyenv-version-names
(split-string (string-trim (shell-command-to-string "pyenv version-name")) ":"))
(executable nil) (i 0)) (if (not (string-match "not found" pyenv-string)) (while
(and (not executable) (<= i (length pyenv-version-names))) (if (string-match
(elt pyenv-version-names i) (string-trim pyenv-string)) (setq executable
(string-trim pyenv-string))) (setq i (1+ i)))) executable)) (if (executable-find
"pyenv") (progn (let ((pyenv-string (shell-command-to-string (concat "pyenv
which " command))) (pyenv-version-names (split-string (string-trim
(shell-command-to-string "pyenv version-name")) ":")) (executable nil) (i 0))
(if (not (string-match "not found" pyenv-string)) (while (and (not executable)
(<= i (length pyenv-version-names))) (if (string-match (elt pyenv-version-names
i) (string-trim pyenv-string)) (setq executable (string-trim pyenv-string)))
(setq i (1+ i)))) executable)) (executable-find command))
spacemacs/pyenv-executable-find("ipython") (if (spacemacs/pyenv-executable-find
"ipython") (progn (setq python-shell-interpreter "ipython") (if (version<
(replace-regexp-in-string "[\015\n|\n]$" "" (shell-command-to-string (format "%s
--version" (string-trim (spacemacs/pyenv-executable-find "ipython"))))) "5")
(setq python-shell-interpreter-args "-i") (setq python-shell-interpreter-args
"--simple-prompt -i"))) (progn (setq python-shell-interpreter-args "-i") (setq
python-shell-interpreter "python"))) spacemacs//python-setup-shell() (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (progn (progn (spacemacs/register-repl 'python
'spacemacs/python-start-or-switch-repl "python") (add-hook
'inferior-python-mode-hook 'spacemacs//inferior-python-setup-hook)
(spacemacs/add-to-hook 'python-mode-hook '(spacemacs//python-setup-backend
spacemacs//python-default)) (spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (if (run-hook-with-args-until-failure
'use-package--python--pre-init-hook) (progn (progn (spacemacs/register-repl
'python 'spacemacs/python-start-or-switch-repl "python") (add-hook
'inferior-python-mode-hook 'spacemacs//inferior-python-setup-hook)
(spacemacs/add-to-hook 'python-mode-hook '(spacemacs//python-setup-backend
spacemacs//python-default)) (spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook))) (when (run-hook-with-args-until-failure
'use-package--python--pre-init-hook) (progn (spacemacs/register-repl 'python
'spacemacs/python-start-or-switch-repl "python") (add-hook
'inferior-python-mode-hook 'spacemacs//inferior-python-setup-hook)
(spacemacs/add-to-hook 'python-mode-hook '(spacemacs//python-setup-backend
spacemacs//python-default)) (spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (condition-case err (when
(run-hook-with-args-until-failure 'use-package--python--pre-init-hook) (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) ((debug error) (funcall
use-package--warning205 :init err))) (condition-case-unless-debug err (when
(run-hook-with-args-until-failure 'use-package--python--pre-init-hook) (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (error (funcall use-package--warning205
:init err))) (progn (unless (fboundp 'python-mode) (autoload (function
python-mode) "python" nil t)) (condition-case-unless-debug err (when
(run-hook-with-args-until-failure 'use-package--python--pre-init-hook) (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (error (funcall use-package--warning205
:init err))) (eval-after-load 'python '(let ((now (current-time))) (message
"%s..." "Configuring package python") (prog1 (condition-case-unless-debug err
(progn (when (run-hook-with-args-until-failure
'use-package--python--pre-config-hook) (progn (eval-after-load
'auto-highlight-symbol (function (lambda nil (if (member 'python-mode
ahs-plugin-bod-modes) ahs-plugin-bod-modes (setq ahs-plugin-bod-modes (cons
'python-mode ahs-plugin-bod-modes)))))) (spacemacs/declare-prefix-for-mode
'python-mode "mc" "execute") (spacemacs/declare-prefix-for-mode 'python-mode
"md" "debug") (spacemacs/declare-prefix-for-mode 'python-mode "mh" "help")
(spacemacs/declare-prefix-for-mode 'python-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'python-mode "ms" "REPL")
(spacemacs/declare-prefix-for-mode 'python-mode "mr" "refactor")
(spacemacs/declare-prefix-for-mode 'python-mode "mv" "virtualenv")
(spacemacs/declare-prefix-for-mode 'python-mode "mvp" "pipenv")
(spacemacs/set-leader-keys-for-major-mode 'python-mode "'"
'spacemacs/python-start-or-switch-repl "cc" 'spacemacs/python-execute-file "cC"
'spacemacs/python-execute-file-focus "db" 'spacemacs/python-toggle-breakpoint
"ri" 'spacemacs/python-remove-unused-imports "sB"
'spacemacs/python-shell-send-buffer-switch "sb" 'python-shell-send-buffer "sF"
'spacemacs/python-shell-send-defun-switch "sf" 'python-shell-send-defun "si"
'spacemacs/python-start-or-switch-repl "sR"
'spacemacs/python-shell-send-region-switch "sr" 'python-shell-send-region) (if
(eq dotspacemacs-editing-style 'vim) (progn (define-key inferior-python-mode-map
(kbd "C-j") 'comint-next-input) (define-key inferior-python-mode-map (kbd "C-k")
'comint-previous-input) (define-key inferior-python-mode-map (kbd "C-r")
'comint-history-isearch-backward) (define-key inferior-python-mode-map (kbd
"C-l") 'spacemacs/comint-clear-buffer))) (define-key inferior-python-mode-map
(kbd "C-c M-l") 'spacemacs/comint-clear-buffer)) (run-hooks
'use-package--python--post-config-hook)) t) (error (funcall
use-package--warning205 :config err))) (let ((elapsed (float-time (time-subtract
(current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)"
"Configuring package python" elapsed) (message "%s...done" "Configuring package
python")))))) (add-to-list 'auto-mode-alist '("SConstruct\\'" . python-mode))
(add-to-list 'auto-mode-alist '("SConscript\\'" . python-mode))) (condition-case
err (progn (unless (fboundp 'python-mode) (autoload (function python-mode)
"python" nil t)) (condition-case-unless-debug err (when
(run-hook-with-args-until-failure 'use-package--python--pre-init-hook) (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (error (funcall use-package--warning205
:init err))) (eval-after-load 'python '(let ((now (current-time))) (message
"%s..." "Configuring package python") (prog1 (condition-case-unless-debug err
(progn (when (run-hook-with-args-until-failure
'use-package--python--pre-config-hook) (progn (eval-after-load
'auto-highlight-symbol (function (lambda nil (if (member 'python-mode
ahs-plugin-bod-modes) ahs-plugin-bod-modes (setq ahs-plugin-bod-modes (cons
'python-mode ahs-plugin-bod-modes)))))) (spacemacs/declare-prefix-for-mode
'python-mode "mc" "execute") (spacemacs/declare-prefix-for-mode 'python-mode
"md" "debug") (spacemacs/declare-prefix-for-mode 'python-mode "mh" "help")
(spacemacs/declare-prefix-for-mode 'python-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'python-mode "ms" "REPL")
(spacemacs/declare-prefix-for-mode 'python-mode "mr" "refactor")
(spacemacs/declare-prefix-for-mode 'python-mode "mv" "virtualenv")
(spacemacs/declare-prefix-for-mode 'python-mode "mvp" "pipenv")
(spacemacs/set-leader-keys-for-major-mode 'python-mode "'"
'spacemacs/python-start-or-switch-repl "cc" 'spacemacs/python-execute-file "cC"
'spacemacs/python-execute-file-focus "db" 'spacemacs/python-toggle-breakpoint
"ri" 'spacemacs/python-remove-unused-imports "sB"
'spacemacs/python-shell-send-buffer-switch "sb" 'python-shell-send-buffer "sF"
'spacemacs/python-shell-send-defun-switch "sf" 'python-shell-send-defun "si"
'spacemacs/python-start-or-switch-repl "sR"
'spacemacs/python-shell-send-region-switch "sr" 'python-shell-send-region) (if
(eq dotspacemacs-editing-style 'vim) (progn (define-key inferior-python-mode-map
(kbd "C-j") 'comint-next-input) (define-key inferior-python-mode-map (kbd "C-k")
'comint-previous-input) (define-key inferior-python-mode-map (kbd "C-r")
'comint-history-isearch-backward) (define-key inferior-python-mode-map (kbd
"C-l") 'spacemacs/comint-clear-buffer))) (define-key inferior-python-mode-map
(kbd "C-c M-l") 'spacemacs/comint-clear-buffer)) (run-hooks
'use-package--python--post-config-hook)) t) (error (funcall
use-package--warning205 :config err))) (let ((elapsed (float-time (time-subtract
(current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)"
"Configuring package python" elapsed) (message "%s...done" "Configuring package
python")))))) (add-to-list 'auto-mode-alist '("SConstruct\\'" . python-mode))
(add-to-list 'auto-mode-alist '("SConscript\\'" . python-mode))) ((debug error)
(funcall use-package--warning205 :catch err))) (condition-case-unless-debug err
(progn (unless (fboundp 'python-mode) (autoload (function python-mode) "python"
nil t)) (condition-case-unless-debug err (when (run-hook-with-args-until-failure
'use-package--python--pre-init-hook) (progn (spacemacs/register-repl 'python
'spacemacs/python-start-or-switch-repl "python") (add-hook
'inferior-python-mode-hook 'spacemacs//inferior-python-setup-hook)
(spacemacs/add-to-hook 'python-mode-hook '(spacemacs//python-setup-backend
spacemacs//python-default)) (spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (error (funcall use-package--warning205
:init err))) (eval-after-load 'python '(let ((now (current-time))) (message
"%s..." "Configuring package python") (prog1 (condition-case-unless-debug err
(progn (when (run-hook-with-args-until-failure
'use-package--python--pre-config-hook) (progn (eval-after-load
'auto-highlight-symbol (function (lambda nil (if (member 'python-mode
ahs-plugin-bod-modes) ahs-plugin-bod-modes (setq ahs-plugin-bod-modes (cons
'python-mode ahs-plugin-bod-modes)))))) (spacemacs/declare-prefix-for-mode
'python-mode "mc" "execute") (spacemacs/declare-prefix-for-mode 'python-mode
"md" "debug") (spacemacs/declare-prefix-for-mode 'python-mode "mh" "help")
(spacemacs/declare-prefix-for-mode 'python-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'python-mode "ms" "REPL")
(spacemacs/declare-prefix-for-mode 'python-mode "mr" "refactor")
(spacemacs/declare-prefix-for-mode 'python-mode "mv" "virtualenv")
(spacemacs/declare-prefix-for-mode 'python-mode "mvp" "pipenv")
(spacemacs/set-leader-keys-for-major-mode 'python-mode "'"
'spacemacs/python-start-or-switch-repl "cc" 'spacemacs/python-execute-file "cC"
'spacemacs/python-execute-file-focus "db" 'spacemacs/python-toggle-breakpoint
"ri" 'spacemacs/python-remove-unused-imports "sB"
'spacemacs/python-shell-send-buffer-switch "sb" 'python-shell-send-buffer "sF"
'spacemacs/python-shell-send-defun-switch "sf" 'python-shell-send-defun "si"
'spacemacs/python-start-or-switch-repl "sR"
'spacemacs/python-shell-send-region-switch "sr" 'python-shell-send-region) (if
(eq dotspacemacs-editing-style 'vim) (progn (define-key inferior-python-mode-map
(kbd "C-j") 'comint-next-input) (define-key inferior-python-mode-map (kbd "C-k")
'comint-previous-input) (define-key inferior-python-mode-map (kbd "C-r")
'comint-history-isearch-backward) (define-key inferior-python-mode-map (kbd
"C-l") 'spacemacs/comint-clear-buffer))) (define-key inferior-python-mode-map
(kbd "C-c M-l") 'spacemacs/comint-clear-buffer)) (run-hooks
'use-package--python--post-config-hook)) t) (error (funcall
use-package--warning205 :config err))) (let ((elapsed (float-time (time-subtract
(current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)"
"Configuring package python" elapsed) (message "%s...done" "Configuring package
python")))))) (add-to-list 'auto-mode-alist '("SConstruct\\'" . python-mode))
(add-to-list 'auto-mode-alist '("SConscript\\'" . python-mode))) (error (funcall
use-package--warning205 :catch err))) (progn (defvar use-package--warning205
(function (lambda (keyword err) (let ((msg (format "%s/%s: %s" 'python keyword
(error-message-string err)))) (display-warning 'use-package msg :error)))))
(condition-case-unless-debug err (progn (unless (fboundp 'python-mode) (autoload
(function python-mode) "python" nil t)) (condition-case-unless-debug err (when
(run-hook-with-args-until-failure 'use-package--python--pre-init-hook) (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) (run-hooks
'use-package--python--post-init-hook)) (error (funcall use-package--warning205
:init err))) (eval-after-load 'python '(let ((now (current-time))) (message
"%s..." "Configuring package python") (prog1 (condition-case-unless-debug err
(progn (when (run-hook-with-args-until-failure
'use-package--python--pre-config-hook) (progn (eval-after-load
'auto-highlight-symbol (function (lambda nil (if (member 'python-mode
ahs-plugin-bod-modes) ahs-plugin-bod-modes (setq ahs-plugin-bod-modes (cons
'python-mode ahs-plugin-bod-modes)))))) (spacemacs/declare-prefix-for-mode
'python-mode "mc" "execute") (spacemacs/declare-prefix-for-mode 'python-mode
"md" "debug") (spacemacs/declare-prefix-for-mode 'python-mode "mh" "help")
(spacemacs/declare-prefix-for-mode 'python-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'python-mode "ms" "REPL")
(spacemacs/declare-prefix-for-mode 'python-mode "mr" "refactor")
(spacemacs/declare-prefix-for-mode 'python-mode "mv" "virtualenv")
(spacemacs/declare-prefix-for-mode 'python-mode "mvp" "pipenv")
(spacemacs/set-leader-keys-for-major-mode 'python-mode "'"
'spacemacs/python-start-or-switch-repl "cc" 'spacemacs/python-execute-file "cC"
'spacemacs/python-execute-file-focus "db" 'spacemacs/python-toggle-breakpoint
"ri" 'spacemacs/python-remove-unused-imports "sB"
'spacemacs/python-shell-send-buffer-switch "sb" 'python-shell-send-buffer "sF"
'spacemacs/python-shell-send-defun-switch "sf" 'python-shell-send-defun "si"
'spacemacs/python-start-or-switch-repl "sR"
'spacemacs/python-shell-send-region-switch "sr" 'python-shell-send-region) (if
(eq dotspacemacs-editing-style 'vim) (progn (define-key inferior-python-mode-map
(kbd "C-j") 'comint-next-input) (define-key inferior-python-mode-map (kbd "C-k")
'comint-previous-input) (define-key inferior-python-mode-map (kbd "C-r")
'comint-history-isearch-backward) (define-key inferior-python-mode-map (kbd
"C-l") 'spacemacs/comint-clear-buffer))) (define-key inferior-python-mode-map
(kbd "C-c M-l") 'spacemacs/comint-clear-buffer)) (run-hooks
'use-package--python--post-config-hook)) t) (error (funcall
use-package--warning205 :config err))) (let ((elapsed (float-time (time-subtract
(current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)"
"Configuring package python" elapsed) (message "%s...done" "Configuring package
python")))))) (add-to-list 'auto-mode-alist '("SConstruct\\'" . python-mode))
(add-to-list 'auto-mode-alist '("SConscript\\'" . python-mode))) (error (funcall
use-package--warning205 :catch err)))) (use-package python :defer t :mode
(("SConstruct\\'" . python-mode) ("SConscript\\'" . python-mode)) :init (progn
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl
"python") (add-hook 'inferior-python-mode-hook
'spacemacs//inferior-python-setup-hook) (spacemacs/add-to-hook 'python-mode-hook
'(spacemacs//python-setup-backend spacemacs//python-default))
(spacemacs//python-setup-shell)) :config (progn (eval-after-load
'auto-highlight-symbol (function (lambda nil (if (member 'python-mode
ahs-plugin-bod-modes) ahs-plugin-bod-modes (setq ahs-plugin-bod-modes (cons
'python-mode ahs-plugin-bod-modes)))))) (spacemacs/declare-prefix-for-mode
'python-mode "mc" "execute") (spacemacs/declare-prefix-for-mode 'python-mode
"md" "debug") (spacemacs/declare-prefix-for-mode 'python-mode "mh" "help")
(spacemacs/declare-prefix-for-mode 'python-mode "mg" "goto")
(spacemacs/declare-prefix-for-mode 'python-mode "ms" "REPL")
(spacemacs/declare-prefix-for-mode 'python-mode "mr" "refactor")
(spacemacs/declare-prefix-for-mode 'python-mode "mv" "virtualenv")
(spacemacs/declare-prefix-for-mode 'python-mode "mvp" "pipenv")
(spacemacs/set-leader-keys-for-major-mode 'python-mode "'"
'spacemacs/python-start-or-switch-repl "cc" 'spacemacs/python-execute-file "cC"
'spacemacs/python-execute-file-focus "db" 'spacemacs/python-toggle-breakpoint
"ri" 'spacemacs/python-remove-unused-imports "sB"
'spacemacs/python-shell-send-buffer-switch "sb" 'python-shell-send-buffer "sF"
'spacemacs/python-shell-send-defun-switch "sf" 'python-shell-send-defun "si"
'spacemacs/python-start-or-switch-repl "sR"
'spacemacs/python-shell-send-region-switch "sr" 'python-shell-send-region) (if
(eq dotspacemacs-editing-style 'vim) (progn (define-key inferior-python-mode-map
(kbd "C-j") 'comint-next-input) (define-key inferior-python-mode-map (kbd "C-k")
'comint-previous-input) (define-key inferior-python-mode-map (kbd "C-r")
'comint-history-isearch-backward) (define-key inferior-python-mode-map (kbd
"C-l") 'spacemacs/comint-clear-buffer))) (define-key inferior-python-mode-map
(kbd "C-c M-l") 'spacemacs/comint-clear-buffer))) python/init-python()
funcall(python/init-python) (let* ((pkg-name (eieio-oref pkg ':name)) (owner
(car (eieio-oref pkg ':owners)))) (spacemacs-buffer/message (format "%S -> init
(%S)..." pkg-name owner)) (funcall (intern (format "%S/init-%S" owner
pkg-name)))) configuration-layer//configure-package(#<cfgl-package
cfgl-package>) mapc(configuration-layer//configure-package (#<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package cfgl-package>
#<cfgl-package cfgl-package> #<cfgl-package cfgl-package> #<cfgl-package
cfgl-package> #<cfgl-package cfgl-package>)) (let (packages-to-configure) (let
((--dolist-tail-- packages) pkg-name) (while --dolist-tail-- (setq pkg-name (car
--dolist-tail--)) (let ((pkg (configuration-layer/get-package pkg-name))) (cond
((eieio-oref pkg ':lazy-install) (spacemacs-buffer/message (format "%S ignored
since it can be lazily installed." pkg-name))) ((and (eieio-oref pkg ':excluded)
(not (eieio-oref pkg ':protected))) (spacemacs-buffer/message (format "%S
ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg
':owners)) (spacemacs-buffer/message (format "%S ignored since it has no owner
layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg))
(spacemacs-buffer/message (format (concat "%S is ignored since it has
dependencies " "that are not used.") pkg-name))) ((not (cfgl-package-enabled-p
pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let
((dir (configuration-layer/get-location-directory pkg-name (eieio-oref pkg
':location) (car (eieio-oref pkg ':owners))))) (if dir (progn (add-to-list
'load-path dir)))) (if (memq (eieio-oref pkg ':location) '(local site built-in))
nil (configuration-layer//activate-package pkg-name)) (cond ((eq 'dotfile (car
(eieio-oref pkg ':owners))) (spacemacs-buffer/message (format "%S is configured
in the dotfile." pkg-name))) (t (setq packages-to-configure (cons pkg
packages-to-configure)) (configuration-layer//pre-configure-package pkg))))))
(setq --dolist-tail-- (cdr --dolist-tail--)))) (setq packages-to-configure
(reverse packages-to-configure)) (mapc 'configuration-layer//configure-package
packages-to-configure) (mapc 'configuration-layer//post-configure-package
packages-to-configure)) configuration-layer//configure-packages-2((abbrev
ace-jump-helm-line ace-link ace-window add-node-modules-path aggressive-indent
anaconda-mode ansi-colors ansible archive-mode auto-compile auto-complete
auto-dictionary auto-highlight-symbol auto-yasnippet avy bookmark
bracketed-paste browse-at-remote cc-mode centered-buffer-mode
centered-cursor-mode clang-format clean-aindent-mode column-enforce-mode comint
company company-anaconda company-c-headers company-quickhelp company-rtags
company-shell company-statistics company-tern company-web compile conf-mode
counsel-projectile css-mode csv-mode cython-mode debug default-helm-config
default-ivy-config default-org-config define-word desktop diff-hl diff-mode
dired dired-x disaster display-line-numbers doc-view dumb-jump edebug ediff
editorconfig eldoc electric-indent-mode elisp-slime-nav emacs-lisp emmet-mode
esh-help eshell eshell-prompt-extras eshell-z eval-sexp-fu evil-anzu evil-args
evil-cleverparens evil-escape evil-exchange evil-goggles evil-iedit-state
evil-indent-plus evil-lion evil-lisp-state evil-magit evil-matchit evil-mc
evil-nerd-commenter evil-numbers evil-org evil-surround evil-tutor
evil-unimpaired evil-visual-mark-mode evil-visualstar expand-region eyebrowse
fancy-battery fill-column-indicator flx-ido flycheck flycheck-bashate
flycheck-pos-tip flycheck-rtags flyspell flyspell-correct flyspell-correct-helm
flyspell-correct-ivy flyspell-correct-popup flyspell-popup fuzzy gdb-mi ggtags
gh-md gist git-commit git-gutter git-gutter+ git-gutter-fringe
git-gutter-fringe+ git-link git-messenger git-timemachine gitattributes-mode
gitconfig-mode github-clone github-search gitignore-mode gitignore-templates
gnuplot golden-ratio google-c-style google-translate grep haml-mode helm helm-ag
helm-c-yasnippet helm-company helm-css-scss helm-descbinds helm-flx
helm-gitignore helm-gtags helm-make helm-mode-manager helm-projectile
helm-purpose helm-pydoc helm-rtags helm-spacemacs-faq helm-spacemacs-help
helm-swoop helm-themes helm-xref help-fns+ hexl hi-lock hide-comnt
highlight-indentation highlight-numbers highlight-parentheses hippie-exp hl-todo
hs-minor-mode htmlize hungry-delete ido ido-vertical-mode ielm image-mode imenu
impatient-mode importmagic indent-guide info+ insert-shebang js-doc js2-mode
js2-refactor json-mode json-navigator json-reformat json-snatcher less-css-mode
link-hint linum linum-relative live-py-mode livid-mode lorem-ipsum macrostep
magit magit-gh-pulls magit-gitflow magit-svn markdown-mode markdown-toc mmm-mode
move-text multi-term mwim nameless neotree nose ob occur-mode open-junk-file org
org-agenda org-brain org-bullets org-download org-expiry org-journal org-mime
org-pomodoro org-present org-projectile orgit origami overseer ox-gfm ox-hugo
ox-reveal ox-twbs package-menu page-break-lines paradox password-generator
persp-mode pip-requirements pipenv pippel pkgbuild-mode popup popwin
process-menu projectile pug-mode py-isort pyenv-mode pylookup pytest python
pyvenv rainbow-delimiters realgud recentf request restart-emacs rtags sass-mode
savehist saveplace scss-mode semantic sh-script shell shell-pop skewer-mode
slim-mode smartparens smeargle smerge-mode smooth-scrolling space-doc spaceline
spaceline-all-the-icons spacemacs-github spacemacs-purpose-popwin
spacemacs-theme spacemacs-whitespace-cleanup srefactor stickyfunc-enhance
string-inflection subword symon tagedit tar-mode term tern toc-org undo-tree
unfill uniquify url uuidgen vc vi-tilde-fringe vim-powerline visual-line-mode
vmd-mode volatile-highlights web-beautify web-mode whitespace window-purpose
winner winum ws-butler xterm-color yaml-mode yapfify yasnippet
yasnippet-snippets zone zoom-frm))
configuration-layer//configure-packages((abbrev ace-jump-helm-line ace-link
ace-window add-node-modules-path aggressive-indent anaconda-mode ansi-colors
ansible archive-mode async auto-compile auto-complete auto-dictionary
auto-highlight-symbol auto-yasnippet avy bind-key bind-map bookmark
bracketed-paste browse-at-remote cc-mode centered-buffer-mode
centered-cursor-mode clang-format clean-aindent-mode column-enforce-mode comint
company company-anaconda company-c-headers company-quickhelp company-rtags
company-shell company-statistics company-tern company-web compile conf-mode
counsel-projectile css-mode csv-mode cython-mode debug default-helm-config
default-ivy-config default-org-config define-word desktop diff-hl diff-mode
diminish dired dired-x disaster display-line-numbers doc-view dotenv-mode
dumb-jump edebug ediff editorconfig eldoc electric-indent-mode elisp-slime-nav
emacs-lisp emmet-mode esh-help eshell eshell-prompt-extras eshell-z eval-sexp-fu
evil evil-anzu evil-args evil-cleverparens evil-escape evil-evilified-state
evil-exchange evil-goggles evil-iedit-state evil-indent-plus evil-lion
evil-lisp-state evil-magit evil-matchit evil-mc evil-nerd-commenter evil-numbers
evil-org evil-surround evil-tutor evil-unimpaired evil-visual-mark-mode
evil-visualstar expand-region eyebrowse fancy-battery fill-column-indicator
flx-ido flycheck flycheck-bashate flycheck-pos-tip flycheck-rtags flyspell
flyspell-correct flyspell-correct-helm flyspell-correct-ivy
flyspell-correct-popup flyspell-popup font-lock+ fuzzy gdb-mi ggtags gh-md gist
git-commit git-gutter git-gutter+ git-gutter-fringe git-gutter-fringe+ git-link
git-messenger git-timemachine gitattributes-mode gitconfig-mode github-clone
github-search gitignore-mode gitignore-templates gnuplot golden-ratio
google-c-style google-translate grep haml-mode helm helm-ag helm-c-yasnippet
helm-company helm-css-scss helm-descbinds helm-flx helm-gitignore helm-gtags
helm-make helm-mode-manager helm-projectile helm-purpose helm-pydoc helm-rtags
helm-spacemacs-faq helm-spacemacs-help helm-swoop helm-themes helm-xref
help-fns+ hexl hi-lock hide-comnt highlight-indentation highlight-numbers
highlight-parentheses hippie-exp hl-todo holy-mode hs-minor-mode htmlize
hungry-delete hybrid-mode hydra ido ido-vertical-mode ielm image-mode imenu
impatient-mode importmagic indent-guide info+ insert-shebang js-doc js2-mode
js2-refactor json-mode json-navigator json-reformat json-snatcher less-css-mode
link-hint linum linum-relative live-py-mode livid-mode lorem-ipsum macrostep
magit magit-gh-pulls magit-gitflow magit-svn markdown-mode markdown-toc mmm-mode
move-text multi-term mwim nameless neotree nose ob occur-mode open-junk-file org
org-agenda org-brain org-bullets org-download org-expiry org-journal org-mime
org-plus-contrib org-pomodoro org-present org-projectile orgit origami overseer
ox-gfm ox-hugo ox-reveal ox-twbs package-menu page-break-lines paradox
password-generator pcre2el persp-mode pip-requirements pipenv pippel
pkgbuild-mode popup popwin process-menu projectile pug-mode py-isort pyenv-mode
pylookup pytest python pyvenv rainbow-delimiters realgud recentf request
restart-emacs rtags sass-mode savehist saveplace scss-mode semantic sh-script
shell shell-pop skewer-mode slim-mode smartparens smeargle smerge-mode
smooth-scrolling space-doc spaceline spaceline-all-the-icons spacemacs-github
spacemacs-purpose-popwin spacemacs-theme spacemacs-whitespace-cleanup srefactor
stickyfunc-enhance string-inflection subword symon tagedit tar-mode term tern
toc-org undo-tree unfill uniquify url use-package uuidgen vc vi-tilde-fringe
vim-powerline visual-line-mode vmd-mode volatile-highlights web-beautify
web-mode which-key whitespace window-purpose winner winum ws-butler xterm-color
yaml-mode yapfify yasnippet yasnippet-snippets zone zoom-frm))
configuration-layer//load() (cond (changed-since-last-dump-p
(configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn
(configuration-layer/message "Layer list has changed since last dump.")
(configuration-layer//dump-emacs)))) (spacemacs-force-dump
(configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn
(configuration-layer/message (concat "--force-dump passed on the command line, "
"forcing a redump.")) (configuration-layer//dump-emacs))))
((spacemacs-is-dumping-p) (configuration-layer//load)
(configuration-layer/message "Dumping Emacs...")) ((and
(spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p))
(configuration-layer/message "Running from a dumped file. Skipping the loading
process!")) (t (configuration-layer//load) (if
(spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat
"Layer list has not changed since last time. " "Skipping dumping process!"))))))
configuration-layer/load() (let ((file-name-handler-alist nil)) (require
'core-spacemacs) (if (eq 'dumping spacemacs-dump-mode) nil (if (boundp
'load-path-backup) (progn (setq load-path load-path-backup))))
(configuration-layer/load-lock-file) (spacemacs/init)
(configuration-layer/stable-elpa-download-tarball) (configuration-layer/load)
(spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (if (eq
'dumping spacemacs-dump-mode) nil (global-font-lock-mode) (global-undo-tree-mode
t) (winner-mode t)) (if (and dotspacemacs-enable-server (not
(spacemacs-is-dumping-p))) (progn (require 'server) (if
dotspacemacs-server-socket-dir (progn (setq server-socket-dir
dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting
a server...") (server-start)))) (if (eq 'dumping spacemacs-dump-mode) (progn
(setq load-path-backup load-path) (global-undo-tree-mode -1) (setq
spacemacs-dump-mode 'dumped) (garbage-collect)))) (if (not (version<=
spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of
Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.")
emacs-version spacemacs-emacs-min-version) (let ((file-name-handler-alist nil))
(require 'core-spacemacs) (if (eq 'dumping spacemacs-dump-mode) nil (if (boundp
'load-path-backup) (progn (setq load-path load-path-backup))))
(configuration-layer/load-lock-file) (spacemacs/init)
(configuration-layer/stable-elpa-download-tarball) (configuration-layer/load)
(spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (if (eq
'dumping spacemacs-dump-mode) nil (global-font-lock-mode) (global-undo-tree-mode
t) (winner-mode t)) (if (and dotspacemacs-enable-server (not
(spacemacs-is-dumping-p))) (progn (require 'server) (if
dotspacemacs-server-socket-dir (progn (setq server-socket-dir
dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting
a server...") (server-start)))) (if (eq 'dumping spacemacs-dump-mode) (progn
(setq load-path-backup load-path) (global-undo-tree-mode -1) (setq
spacemacs-dump-mode 'dumped) (garbage-collect))))) eval-buffer(#<buffer *load*>
nil "/home/dela/.emacs.d/init.el" nil t) ; Reading at buffer position 2288
load-with-code-conversion("/home/dela/.emacs.d/init.el"
"/home/dela/.emacs.d/init.el" t t) load("/home/dela/.emacs.d/init" t t)
#f(compiled-function () #<bytecode 0x25ee0d>)() command-line()
normal-top-level() 
sutram commented 6 years ago

I can't reproduce this with latest develop. Last commit was 10 days ago. https://github.com/syl20bnr/spacemacs/commit/9af8e1564d5bb80c01a2f4a8de68247ef621f155

I even updated all packages from Melpa

delaanthonio commented 6 years ago

@sutram Updating to the lastest devlop branch fixes the issue. It looks like there was a problem initializing python when pyenv was installed. 6f9097e6f084de267c29c72f486a4d73eaa8249b fixes the issue.