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


[O] Org now failing on HTML export

2017-06-30 Thread Peter Davis


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
  org-element-set-contents(#("org test" 0 8 (:parent (#0
  apply(org-element-set-contents #("org test" 0 8 (:parent (#0))) nil)
  #[257 
"\211\305\306\307#\310\311\211:\204\312\202\"\n@9\203!\nAA\202\"\n)\"\210\313\314
\211:\2043\312\202@\n@9\203?\nAA\202@\n)#\210\315\211 
\n;\203V\316\317\n#\202\\\320\nA@\"*\211;\203n\321\n\312\f$\202z\nA\322\nA@\f#\240\210\n+\210
 AA@\240\210@\240*\207" [new old element property value 
replace-regexp-in-string "\n" " " mapc #[(blob) "\305 
\211;\203\306\f\307\n$\202 \fA\310\fA@\n#\240\210\f+\207" [blob old value 
property element :parent org-add-props nil plist-put] 6] nil apply 
org-element-set-contents :parent get-text-property 0 plist-get org-add-props 
plist-put] 7 "\n\n(fn S)"](#("org test" 0 8 (:parent (#0
  #[257 
"\211\211:\204\211;\205\311\262\202\211@9\205\211@\262?\206\251\301\203-\312\301\313\">\206\251\211\2049\314\310\242\"\202\251\211\315=\203]\314\310\242\211:\204N\316\262\202Y\211@9\203Y\211AA\262\"\202\251\211\304>\203~\300!\211\203}\302\203v\317\320\"\210\202}\307\307\242B\240\210\210\306\321=\203\271;\204\271\211\236A\211\203\270\211@\310\242\211;\203\247\322\323#\266\202\202\257\312A@\"\266\202!\210A\266\202\202\216\210\303\203Q\306\321=\203Q\324!\325=\203Q\211\203P\211@\211@A\211;\203\347\322\323#\266\202\202\357\312A@\"\266\202\211\203G\235\2030\235\203!\326!\211\203\211@\310\242A!\210\310\242@!\210A\266\202\202\210\202G\310\242A!\210\310\242@!\210\202G\235\203B\314\310\242\326!\"\210\202G\310\242!\210\266A\266\202\202\315\210\211\305>\206\251\211:\204c\316\262\202n\211@9\203n\211AA\262?\206\251\306\327=\203\200\211>?\206\251\306\330=\203\216\324!\331=\206\251\314\310\242\211:\204\235\316\262\202\250\211@9\203\250\211AA\262\"\207"
 [#[257 
"\211\305\306\307#\310\311\211:\204\312\202\"\n@9\203!\nAA\202\"\n)\"\210\313\314
   \211:\2043\312\202@\n@9\203?\nAA\202@\n)#\210\315\211 
\n;\203V\316\317\n#\202\\\320\nA@\"*\211;\203n\321\n\312\f$\202z\nA\322\nA@\f#\240\210\n+\210
 AA@\240\210@\240*\207" [new old element property value 
replace-regexp-in-string "\n" " " mapc #[(blob) "\305 
\211;\203\306\f\307\n$\202 \fA\310\fA@\n#\240\210\f+\207" [blob old value 
property element :parent org-add-props nil plist-put] 6] nil apply 
org-element-set-contents :parent get-text-property 0 plist-get org-add-props 
plist-put] 7 "\n\n(fn S)"] nil nil nil (plain-text) nil objects (nil) (#0) 
plain-text plist-get :ignore-list mapc org-data nil throw :--map-first-match 
objects get-text-property 0 org-element-class element reverse greater-elements 
elements object org-element-secondary-value-alist 
org-element--parsed-properties-alist org-element-dual-keywords 
org-element-multiple-keywords org-element-greater-elements] 11 "\n\n(fn 
--DATA)"](#("org test" 0 8 (:parent (#0
  mapc(#[257 
"\211\211:\204\211;\205\311\262\202\211@9\205\211@\262?\206\251\301\203-\312\301\313\">\206\251\211\2049\314\310\242\"\202\251\211\315=\203]\314\310\242\211:\204N\316\262\202Y\211@9\203Y\211AA\262\"\202\251\211\304>\203~\300!\211\203}\302\203v\317\320\"\210\202}\307\307\242B\240\210\210\306\321=\203\271;\204\271\211\236A\211\203\270\211@\310\242\211;\203\247\322\323#\266\202\202\257\312A@\"\266\202!\210A\266\202\202\216\210\303\203Q\306\321=\203Q\324!\325=\203Q\211\203P\211@\211@A\211;\203\347\322\323#\266\202\202\357\312A@\"\266\202\211\203G\235\2030\235\203!\326!\211\203\211@\310\242A!\210\310\242@!\210A\266\202\202\210\202G\310\242A!\210\310\242@!\210\202G\235\203B\314\310\242\326!\"\210\202G\310\242!\210\266A\266\202\202\315\210\211\305>\206\251\211:\204c\316\262\202n\211@9\203n\211AA\262?\206\251\306\327=\203\200\211>?\206\251\306\330=\203\216\324!\331=\206\251\314\310\242\211:\204\235\316\262\202\250\211@9\203\250\211AA\262\"\207"
 [#[257 
"\211\305\306\307#\310\311\211:\204\312\202\"\n@9\203!\nAA\202\"\n)\"\210\313\314
  \211:\2043\312\202@\n@9\203?\nAA\202@\n)#\210\315\211 
\n;\203V\316\317\n#\202\\\320\nA@\"*\211;\203n\321\n\312\f$\202z\nA\322\nA@\f#\240\210\n+\210
 AA@\240\210@\240*\207" [new old element property value 
replace-regexp-in-string "\n" " " mapc #[(blob) "\305 
\211;\203\306\f\307\n$\202 \fA\310\fA@\n#\240\210\f+\207" [blob old value 
property element :parent org-add-props nil plist-put] 6] nil apply 
org-element-set-contents :parent get-text-property 0 plist-get org-add-props 
plist-put] 7 "\n\n(fn S)"] nil nil nil (plain-text