Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just stop working after updating #297

Closed
ram535 opened this issue Apr 14, 2020 · 6 comments
Closed

Just stop working after updating #297

ram535 opened this issue Apr 14, 2020 · 6 comments

Comments

@ram535
Copy link

ram535 commented Apr 14, 2020

Vterm just stop working after update.
I use straight. So after straight-pull-all like I normally do to update my packages, it stop working.
When I do M-x vterm, I get this:
image

@Sbozzolo
Copy link
Collaborator

Try deleting the package and reinstalling it? We just changed something to improve the compatibility with straight.

@ram535
Copy link
Author

ram535 commented Apr 14, 2020

I delete everything. And when I installed it again. There is a vterm directory in ~/.emacs.d/straight/build/vterm/ but there is not vterm directory in ~/.emacs.d/straight/repos/.

@Sbozzolo
Copy link
Collaborator

Thanks. Unfortunately, I am not familiar with straight.el. We will need help on their side to fix this.

@drot
Copy link

drot commented Apr 15, 2020

Keep in mind the repository name is emacs-libvterm so you will find your directory in ~/.emacs.d/straight/repos/emacs-libvterm, also make sure you're testing with the straight development branch. You can do this by including (setq straight-repository-branch "develop") in your init-file before the bootstrap snippet.

@raxod502
Copy link

@ram535 If it's not working for you, you should check:

  • the Git revision of repos/straight.el
  • the Git revision of repos/emacs-libvterm
  • the Git revision of repos/melpa
  • what happens if you delete the entire build directory and build-cache.el and restart Emacs, forcing a clean compilation of everything

@ram535
Copy link
Author

ram535 commented Apr 15, 2020

It works now. Thanks.
As suggested I:

  • deleted ~/.emacs.d/straight/build-cache.el
  • deleted ~/.emacs.d/straight/repos/emacs-libvterm
  • deleted ~/.emacs.d/straight/build/vterm
  • added (setq straight-repository-branch "develop") to ~/.emacs.d/init.el

Final configuration.

(defvar bootstrap-version)
(setq straight-repository-branch "develop")
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(setq straight-use-package-by-default t)

(use-package vterm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants