emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-plus-contrib fails to compile


From: Tim Cross
Subject: Re: [O] org-plus-contrib fails to compile
Date: Wed, 02 May 2018 04:00:08 +1000
User-agent: mu4e 0.9.18; emacs 26.1

Glyn Millington <address@hidden> writes:

> Good morning list!
>
> Emacs 25.3.1 on Linux
>
> For many upgrades now (over the last year or so) when I have tried 
> to upgrade org-plus-contrib with the package management system 
> pointed at the Org repository, the package is installed but 
> compilation fails with a massive (23.6MB!) backtrace  which begins 
> like this:
>
>  
> Debugger entered--Lisp error: (void-variable This) 
>   eval-buffer(#<buffer  *load*> nil 
>   "/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t) 
>   ; Reading at buffer position 5 
>   
> load-with-code-conversion("/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org"
>  
>   "/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t) 
>
> None of the lisp files in the package are compiled.
>
> Can anyone point me to likely sources of the problem (my own 
> cluelessness goes without saying! ) ?
>

I found this will most often occur because you have org loaded before
you try to do the upgrade. Basically, org gets confused because of
having an already loaded version while trying to install a new version.

I was seeing this quite often. Once I re-arranged by init file to ensure
that I can do a package upgrade before org is loaded, all works fairly
reliably.

An easy way to 'fix' the problem is to just delete the org-plus-contrib
directory from your ELPA directory, then restart emacs. Your emacs will
probably downlload and install the package during startup. Just make
sure your org setup comes after your package setup. 


-- 
Tim Cross



reply via email to

[Prev in Thread] Current Thread [Next in Thread]