{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8090","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8090/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8090/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8090/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/8090","id":198266277,"number":8090,"title":"Unable to use some themes (e.g. darktooth and gruvbox)","user":{"login":"wedens","id":697162,"avatar_url":"https://avatars.githubusercontent.com/u/697162?v=3","gravatar_id":"","url":"https://api.github.com/users/wedens","html_url":"https://github.com/wedens","followers_url":"https://api.github.com/users/wedens/followers","following_url":"https://api.github.com/users/wedens/following{/other_user}","gists_url":"https://api.github.com/users/wedens/gists{/gist_id}","starred_url":"https://api.github.com/users/wedens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wedens/subscriptions","organizations_url":"https://api.github.com/users/wedens/orgs","repos_url":"https://api.github.com/users/wedens/repos","events_url":"https://api.github.com/users/wedens/events{/privacy}","received_events_url":"https://api.github.com/users/wedens/received_events","type":"User","site_admin":false},"labels":[{"id":22448279,"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Duplicate%20%E2%98%9D","name":"Duplicate ☝","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-01-01T12:46:43Z","updated_at":"2017-01-05T08:03:51Z","closed_at":"2017-01-04T17:58:36Z","body":"#### Description :octocat:\r\n`darktooth` theme works only on first emacs launch after adding it.\r\nSome other themes like `gruvbox` doesn't work with the same error.\r\nThemes like `solarized-dark`, `leuven` work fine.\r\nI suppose it has something to do with `autothemer`, but I'm not sure if it's upstream or spacemacs problem.\r\n\r\n#### Reproduction guide :beetle:\r\n- prepend `darktooth` to `dotspacemacs-themes` list in `.spacemacs`\r\n- start emacs\r\n- theme is installed and successfully applied\r\n- restart emacs\r\n- theme is not applied\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\nTheme is not applied with the warning:\r\n```\r\nWarning (spacemacs): An error occurred while retrieving the theme, using default theme. (error: (file-error Cannot open load file No such file or directory autothemer))\r\n```\r\nNo `darktooth` in `load-theme`.\r\n\r\n*Expected behaviour:* :heart: :smile:\r\ntheme is applied on each emacs launch\r\n\r\n#### System Info :computer:\r\n- OS: gnu/linux\r\n- Emacs: 25.1.1\r\n- Spacemacs: 0.200.5\r\n- Spacemacs branch: nil (rev. 4289a496)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(auto-completion\r\n (haskell :variables haskell-completion-backend 'intero haskell-enable-hindent-style \"gibiansky\")\r\n purescript javascript react sql emacs-lisp\r\n (git :variables git-magit-status-fullscreen t)\r\n org myorg\r\n (scala :variables scala-auto-start-ensime nil)\r\n syntax-checking markdown yaml\r\n (spell-checking :variables spell-checking-enable-by-default nil)\r\n (shell :variables shell-default-height 30 shell-default-position 'bottom)\r\n jabber)\r\n```\r\n- System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11\r\n\r\n\r\n#### Backtrace :paw_prints:\r\n```\r\nDebugger entered--Lisp error: (file-error \"Cannot open load file\" \"No such file or directory\" \"autothemer\")\r\n  require(autothemer)\r\n  byte-code(I deleted it)\r\n  require(darktooth-theme nil noerror)\r\n  (let ((pkg-elpa-dir (spacemacs//get-package-directory pkg))) (if pkg-elpa-dir (add-to-list (quote load-path) pkg-elpa-dir) (if log (progn (spacemacs-buffer/append (format \"(Bootstrap) Installing %s...\\n\" pkg)) (spacemacs//redisplay))) (configuration-layer/retrieve-package-archives (quote quiet)) (package-install pkg) (setq pkg-elpa-dir (spacemacs//get-package-directory pkg))) (require pkg nil (quote noerror)) (if file-to-load (progn (load-file (concat pkg-elpa-dir file-to-load)))) pkg-elpa-dir)\r\n  (if (require pkg nil (quote noerror)) nil (require (quote cl)) (let ((pkg-elpa-dir (spacemacs//get-package-directory pkg))) (if pkg-elpa-dir (add-to-list (quote load-path) pkg-elpa-dir) (if log (progn (spacemacs-buffer/append (format \"(Bootstrap) Installing %s...\\n\" pkg)) (spacemacs//redisplay))) (configuration-layer/retrieve-package-archives (quote quiet)) (package-install pkg) (setq pkg-elpa-dir (spacemacs//get-package-directory pkg))) (require pkg nil (quote noerror)) (if file-to-load (progn (load-file (concat pkg-elpa-dir file-to-load)))) pkg-elpa-dir))\r\n  (let ((warning-minimum-level :error)) (if (require pkg nil (quote noerror)) nil (require (quote cl)) (let ((pkg-elpa-dir (spacemacs//get-package-directory pkg))) (if pkg-elpa-dir (add-to-list (quote load-path) pkg-elpa-dir) (if log (progn (spacemacs-buffer/append (format \"(Bootstrap) Installing %s...\\n\" pkg)) (spacemacs//redisplay))) (configuration-layer/retrieve-package-archives (quote quiet)) (package-install pkg) (setq pkg-elpa-dir (spacemacs//get-package-directory pkg))) (require pkg nil (quote noerror)) (if file-to-load (progn (load-file (concat pkg-elpa-dir file-to-load)))) pkg-elpa-dir)))\r\n  configuration-layer/load-or-install-package(darktooth-theme)\r\n  (let ((pkg (spacemacs//get-theme-package theme))) (configuration-layer/load-or-install-package pkg))\r\n  (cond ((assq theme spacemacs-theme-name-to-package) (let* ((pkg (spacemacs//get-theme-package theme)) (pkg-dir (configuration-layer/load-or-install-package pkg))) (if (or (eq (quote moe-light) theme) (eq (quote moe-dark) theme)) (progn (load-file (concat pkg-dir \"moe-light-theme.el\")) (load-file (concat pkg-dir \"moe-dark-theme.el\")))) (add-to-list (quote custom-theme-load-path) pkg-dir))) (t (let ((pkg (spacemacs//get-theme-package theme))) (configuration-layer/load-or-install-package pkg))))\r\n  (if (or (memq theme (custom-available-themes)) (eq (quote default) theme)) nil (cond ((assq theme spacemacs-theme-name-to-package) (let* ((pkg (spacemacs//get-theme-package theme)) (pkg-dir (configuration-layer/load-or-install-package pkg))) (if (or (eq (quote moe-light) theme) (eq (quote moe-dark) theme)) (progn (load-file (concat pkg-dir \"moe-light-theme.el\")) (load-file (concat pkg-dir \"moe-dark-theme.el\")))) (add-to-list (quote custom-theme-load-path) pkg-dir))) (t (let ((pkg (spacemacs//get-theme-package theme))) (configuration-layer/load-or-install-package pkg)))))\r\n  (progn (if (or (memq theme (quote (zonokai-blue zonokai-red solarized-light solarized-dark doom-one doom-molokai)))) (progn (configuration-layer/load-or-install-package (quote dash)))) (if (or (memq theme (custom-available-themes)) (eq (quote default) theme)) nil (cond ((assq theme spacemacs-theme-name-to-package) (let* ((pkg (spacemacs//get-theme-package theme)) (pkg-dir (configuration-layer/load-or-install-package pkg))) (if (or (eq ... theme) (eq ... theme)) (progn (load-file ...) (load-file ...))) (add-to-list (quote custom-theme-load-path) pkg-dir))) (t (let ((pkg (spacemacs//get-theme-package theme))) (configuration-layer/load-or-install-package pkg))))))\r\n  (condition-case err (progn (if (or (memq theme (quote (zonokai-blue zonokai-red solarized-light solarized-dark doom-one doom-molokai)))) (progn (configuration-layer/load-or-install-package (quote dash)))) (if (or (memq theme (custom-available-themes)) (eq (quote default) theme)) nil (cond ((assq theme spacemacs-theme-name-to-package) (let* ((pkg ...) (pkg-dir ...)) (if (or ... ...) (progn ... ...)) (add-to-list (quote custom-theme-load-path) pkg-dir))) (t (let ((pkg ...)) (configuration-layer/load-or-install-package pkg)))))) ((debug quote error) (setq theme (quote default)) (display-warning (quote spacemacs) (format (concat \"An error occurred while retrieving the \" \"theme, using default theme. (error: %s)\") err) :warning)))\r\n  spacemacs/load-theme(darktooth)\r\n  (let ((default-theme (car dotspacemacs-themes))) (spacemacs/load-theme default-theme) (setq configuration-layer--protected-packages (append (delq nil (mapcar (quote spacemacs//get-theme-package) dotspacemacs-themes)) configuration-layer--protected-packages)) (setq-default spacemacs--cur-theme default-theme) (setq-default spacemacs--cycle-themes (cdr dotspacemacs-themes)))\r\n  spacemacs/init()\r\n  (if (not (version<= spacemacs-emacs-min-version emacs-version)) (message (concat \"Your version of Emacs (%s) is too old. \" \"Spacemacs requires Emacs version %s or above.\") emacs-version spacemacs-emacs-min-version) (load-file (concat (file-name-directory load-file-name) \"core/core-load-paths.el\")) (require (quote core-spacemacs)) (spacemacs/init) (configuration-layer/sync) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (require (quote server)) (if (server-running-p) nil (server-start)))\r\n  eval-buffer(#<buffer  *load*> nil \"/home/wedens/.emacs.d/init.el\" nil t)  ; Reading at buffer position 1270\r\n  load-with-code-conversion(\"/home/wedens/.emacs.d/init.el\" \"/home/wedens/.emacs.d/init.el\" t t)\r\n  load(\"/home/wedens/.emacs.d/init\" t t)\r\n  #[0 \"\b\\205\\266"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/270585694","html_url":"https://github.com/syl20bnr/spacemacs/issues/8090#issuecomment-270585694","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8090","id":270585694,"user":{"login":"wedens","id":697162,"avatar_url":"https://avatars.githubusercontent.com/u/697162?v=3","gravatar_id":"","url":"https://api.github.com/users/wedens","html_url":"https://github.com/wedens","followers_url":"https://api.github.com/users/wedens/followers","following_url":"https://api.github.com/users/wedens/following{/other_user}","gists_url":"https://api.github.com/users/wedens/gists{/gist_id}","starred_url":"https://api.github.com/users/wedens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wedens/subscriptions","organizations_url":"https://api.github.com/users/wedens/orgs","repos_url":"https://api.github.com/users/wedens/repos","events_url":"https://api.github.com/users/wedens/events{/privacy}","received_events_url":"https://api.github.com/users/wedens/received_events","type":"User","site_admin":false},"created_at":"2017-01-05T08:03:51Z","updated_at":"2017-01-05T08:03:51Z","body":"@d12frosted does it work for you after emacs restart?"}}
{"actor":{"display_login":"wedens"}}