jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.89k stars 259 forks source link

Recursive load error #1702

Open rakanalh opened 4 years ago

rakanalh commented 4 years ago

Summary

It's been like this for a while where whenever i update elpy i get this error when elpy mode is activated:

File mode specification error: (error Recursive load /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy-rpc.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy-rpc.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy-rpc.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy-rpc.elc /home/rakan/.emacs.d/elpa/elpy-20191017.2348/elpy.elc)

The solution for me is to rm -rf ~/.emacs.d/elpa/elpy-*** and then reinstall it.

Is this a known issue?

galaunay commented 4 years ago

thanks for the feedback, It has never been reported yet.

I double checked those files dependencies, and it is fine. The fact that doing a full reinstall fixed the problem make me think that it coud be a problem with un-properly updated byte-compiled files (not sure though).

I will keep an eye on it.