Fork me on GitHub
#spacemacs
<
2022-04-28
>
murtaza5211:04:49

I updated my packages yesterday (manjaro linux), my emacs version is 28.1, and now spacemacs no longer works - the error I get is No such file or directory use-package I tried reinstalling spacemacs, did not work, any leads on how to debug this ?

practicalli-johnny11:04:12

Was the .spacemacs file or .spacemac.d/ directory moved out of the way? If they were, sounds like a manjaro issue. it could be a bad packaging of Emacs. Or maybe something important was split into another package If using an earlier version of Emacs, the main difference is probably native compilation, so maybe some of those libraries are causing the issue. I assumed you rebooted manjaro after updating its packages. I'm using Spacemacs with Emacs 29.0.50 on Linux (Ubuntu) without any issues.

murtaza5213:04:43

thanks, installed 29.0.5 and everything again, seems to be working now

practicalli-johnny15:04:18

SPC f e e should open the .spacemacs.env file, environment variables can be added to that file for use in Emacs

practicalli-johnny16:04:06

SPC f e E will reload the variables in that file and pick up any new variables from the file or the Operating System environment. However, the Clojure REPL (or any Java Process) will need to be restarted to pick up an environment variables added (after that java process started).

practicalli-johnny16:04:51

I am not sure if this will work for DISPLAY environment variable though, its not clear to me from the link provided as what is actually requiring I usually add something like DISPLAY to .bashrc for bash (and source .bashrc from .profile , or for Zsh I would add environment variables to .zshenv

Ho0man13:04:07

It worked. I added export DISPLAY= to .spacemacs.env Thanks a lot @U05254DQM

👍 1