Re: [O] Org now failing on HTML export

2017-06-30 Thread Michael Ax

>> You have the classic case of mixed Org installations, would be my guess.
> Aha! I think you've hit the nail on the head.

Aha.. ran into this last night also, discovering then that i had both 
(require 'org) AND (require 'org-plus-contrib) in use, breaking capture.
(rewriting my init to use-package while zapping elpa a few times really 
helped get some kinks out which sped up loading too)


maybe one day either package could recognize when the other is loaded 
and complain?



I'm not sure how this happened, but org-reload does seem to correct the problem.

Thank you, Kaushal!

-pd






Re: [O] Org now failing on HTML export

2017-06-30 Thread Peter Davis
Kaushal Modi  writes:

> On Fri, Jun 30, 2017 at 2:07 PM Peter Davis  wrote:
>
>  I've been using org 9.0.7/GNU Emacs 25.1.1 on Mac OS X for a while, and 
> successfully exporting HTML to copy and paste into my blog.
>  However, in the last day or so, this started failing. I'm unaware of having 
> changed anything in my configuration.
>
>  The error is ...
>
>  Here's the entire file I'm using ...
>
>  +
>  Does this work at all?
>  +
>
>  Here's the debug traceback ...
>
>  +
>  Debugger entered--Lisp error: (wrong-type-argument listp #("org test" 0 8 
> (:parent (#1
>
> You have the classic case of mixed Org installations, would be my guess.
>
> I haven't seen this issue myself but it's a well-known issue with mixed Org 
> installations.
>
> Best way that I have seen to work is to delete (M)Elpa installed Org 
> completely and install it again, but in an emacs -Q session, or do C-u M-x 
> org-reload, and then delete->reinstall Org.

Aha! I think you've hit the nail on the head.

I'm not sure how this happened, but org-reload does seem to correct the problem.

Thank you, Kaushal!

-pd



Re: [O] Org now failing on HTML export

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 2:07 PM Peter Davis  wrote:

>
> I've been using org 9.0.7/GNU Emacs 25.1.1 on Mac OS X for a while, and
> successfully exporting HTML to copy and paste into my blog.
> However, in the last day or so, this started failing. I'm unaware of
> having changed anything in my configuration.
>
> The error is ...
>
> Here's the entire file I'm using ...
>
> +
> Does this work at all?
> +
>
> Here's the debug traceback ...
>
> +
> Debugger entered--Lisp error: (wrong-type-argument listp #("org test" 0 8
> (:parent (#1
>

You have the classic case of mixed Org installations, would be my guess.

I haven't seen this issue myself but it's a well-known issue with mixed Org
installations.

Best way that I have seen to work is to delete (M)Elpa installed Org
completely and install it again, but in an emacs -Q session, or do C-u M-x
org-reload, and then delete->reinstall Org.

Reference[1]

[1]:https://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00318.html

More references: [2]. [3], [4], [5]

[2]: https://emacs.stackexchange.com/a/16616/115
[3]:
https://www.reddit.com/r/emacs/comments/6jeu74/getting_error_exporting_org_doc_because_it_has/
[4]: https://github.com/syl20bnr/spacemacs/issues/3246
[5]: https://github.com/yjwen/org-reveal/issues/148
-- 

Kaushal Modi