emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* wrong type argument listp... org-element-set-contents
@ 2015-08-08  3:11 Peter Salazar
  2015-08-08  7:27 ` Kyle Meyer
  2015-08-08  7:29 ` Nicolas Goaziou
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Salazar @ 2015-08-08  3:11 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

I'm getting a strange error whenever I try to export an org file,
and I'm not sure how to track down the cause. It seemed to start when I
upgraded to org 8.3.1, but it's hard to tell because this is the first
time I've exported anything in a week or so.

The error says:
(wrong-type-argument listp #("Test document" 0 13 (:parent (#1))))
  org-element-set-contents(#("Test document" 0 13 (:parent (#0))))

I was able to figure out that the error only occurs when I have an org file
with document data, e.g. a line like:

#+TITLE: Test document

When I remove that line as well as #+AUTHOR etc, then it exports fine. With
that line it, it won't export to HTML, LaTeX, or text.

Any suggestions on how to figure out what part of my configuration is
causing the problem? Here's the complete Backtrace:
https://gist.github.com/fe45c4d42d52f0ce0e42

Thanks!

[-- Attachment #2: Type: text/html, Size: 1170 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08  3:11 wrong type argument listp... org-element-set-contents Peter Salazar
@ 2015-08-08  7:27 ` Kyle Meyer
  2015-08-08  7:29 ` Nicolas Goaziou
  1 sibling, 0 replies; 10+ messages in thread
From: Kyle Meyer @ 2015-08-08  7:27 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Hello,

Peter Salazar <cycleofsong@gmail.com> wrote:
[...]
> The error says:
> (wrong-type-argument listp #("Test document" 0 13 (:parent (#1))))
>   org-element-set-contents(#("Test document" 0 13 (:parent (#0))))

Is this the same issue as here?

  http://permalink.gmane.org/gmane.emacs.orgmode/99535?

Things may have gone wrong when compiling during the update, so it is
worth trying to uninstall and reinstall.

--
Kyle

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08  3:11 wrong type argument listp... org-element-set-contents Peter Salazar
  2015-08-08  7:27 ` Kyle Meyer
@ 2015-08-08  7:29 ` Nicolas Goaziou
  2015-08-08 12:55   ` Peter Salazar
  1 sibling, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2015-08-08  7:29 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Hello,

Peter Salazar <cycleofsong@gmail.com> writes:

> I'm getting a strange error whenever I try to export an org file,
> and I'm not sure how to track down the cause. It seemed to start when I
> upgraded to org 8.3.1, but it's hard to tell because this is the first
> time I've exported anything in a week or so.
>
> The error says:
> (wrong-type-argument listp #("Test document" 0 13 (:parent (#1))))
>   org-element-set-contents(#("Test document" 0 13 (:parent (#0))))
>
> I was able to figure out that the error only occurs when I have an org file
> with document data, e.g. a line like:
>
> #+TITLE: Test document
>
> When I remove that line as well as #+AUTHOR etc, then it exports fine. With
> that line it, it won't export to HTML, LaTeX, or text.
>
> Any suggestions on how to figure out what part of my configuration is
> causing the problem? Here's the complete Backtrace:
> https://gist.github.com/fe45c4d42d52f0ce0e42

I cannot reproduce the problem. Could you provide a backtrace using an
uncompiled Org? (i.e., using `org-reload' with an argument).


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08  7:29 ` Nicolas Goaziou
@ 2015-08-08 12:55   ` Peter Salazar
  2015-08-08 13:27     ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Salazar @ 2015-08-08 12:55 UTC (permalink / raw)
  To: org-mode, mail

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

Sure, I'll try that. I'm not quite sure how to figure out what
argument org-export-dispatch takes. Something like this? (org-reload
(org-export-dispatch 'html))


On Sat, Aug 8, 2015 at 3:29 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > I'm getting a strange error whenever I try to export an org file,
> > and I'm not sure how to track down the cause. It seemed to start when I
> > upgraded to org 8.3.1, but it's hard to tell because this is the first
> > time I've exported anything in a week or so.
> >
> > The error says:
> > (wrong-type-argument listp #("Test document" 0 13 (:parent (#1))))
> >   org-element-set-contents(#("Test document" 0 13 (:parent (#0))))
> >
> > I was able to figure out that the error only occurs when I have an org
> file
> > with document data, e.g. a line like:
> >
> > #+TITLE: Test document
> >
> > When I remove that line as well as #+AUTHOR etc, then it exports fine.
> With
> > that line it, it won't export to HTML, LaTeX, or text.
> >
> > Any suggestions on how to figure out what part of my configuration is
> > causing the problem? Here's the complete Backtrace:
> > https://gist.github.com/fe45c4d42d52f0ce0e42
>
> I cannot reproduce the problem. Could you provide a backtrace using an
> uncompiled Org? (i.e., using `org-reload' with an argument).
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 2163 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 12:55   ` Peter Salazar
@ 2015-08-08 13:27     ` Nicolas Goaziou
  2015-08-08 15:30       ` Peter Salazar
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2015-08-08 13:27 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Peter Salazar <cycleofsong@gmail.com> writes:

> Sure, I'll try that. I'm not quite sure how to figure out what
> argument org-export-dispatch takes. Something like this? (org-reload
> (org-export-dispatch 'html))

I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L).

Regards,

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 13:27     ` Nicolas Goaziou
@ 2015-08-08 15:30       ` Peter Salazar
  2015-08-08 15:59         ` Kyle Meyer
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Salazar @ 2015-08-08 15:30 UTC (permalink / raw)
  To: org-mode, mail

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Yes! That worked. What does this mean?

I tried going to package-list-packages and uninstalling and reinstalling
org, but that didn't help. What's my next step?

On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Sure, I'll try that. I'm not quite sure how to figure out what
> > argument org-export-dispatch takes. Something like this? (org-reload
> > (org-export-dispatch 'html))
>
> I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L).
>
> Regards,
>

[-- Attachment #2: Type: text/html, Size: 1003 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 15:30       ` Peter Salazar
@ 2015-08-08 15:59         ` Kyle Meyer
  2015-08-08 16:53           ` Peter Salazar
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle Meyer @ 2015-08-08 15:59 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode, mail

Peter Salazar <cycleofsong@gmail.com> wrote:
> Yes! That worked. What does this mean?
>
> I tried going to package-list-packages and uninstalling and reinstalling
> org, but that didn't help. What's my next step?
>
> On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
> wrote:
>
>> Peter Salazar <cycleofsong@gmail.com> writes:
>>
>> > Sure, I'll try that. I'm not quite sure how to figure out what
>> > argument org-export-dispatch takes. Something like this? (org-reload
>> > (org-export-dispatch 'html))
>>
>> I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L).

Nicolas might have a better suggestion of what to do next, but I think
it means the state of your Emacs session was interfering with the
correct compilation.  Since 'C-u M-x org-reload' forced an uncompiled
reload, you could try uninstalling/installing the package again.  Or you
try Ista's snippet[1] for installing in a fresh session:

    Since it doesn't work for you I suggest removing org-plus-contrib
    (or org), starting emacs with 'emacs -Q' and running something like

    (require 'package)
    (add-to-list 'package-archives
                 '("org" . "http://orgmode.org/elpa/") t)
    (package-initialize)
    (package-install 'org-plus-contrib)
    ;; or (package-install 'org)


[1] http://permalink.gmane.org/gmane.emacs.orgmode/99708

--
Kyle

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 15:59         ` Kyle Meyer
@ 2015-08-08 16:53           ` Peter Salazar
  2015-08-08 17:09             ` Kyle Meyer
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Salazar @ 2015-08-08 16:53 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org-mode, mail

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

Yes, that worked! Thank you so much!

On Sat, Aug 8, 2015 at 11:59 AM, Kyle Meyer <kyle@kyleam.com> wrote:

> Peter Salazar <cycleofsong@gmail.com> wrote:
> > Yes! That worked. What does this mean?
> >
> > I tried going to package-list-packages and uninstalling and reinstalling
> > org, but that didn't help. What's my next step?
> >
> > On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
> > wrote:
> >
> >> Peter Salazar <cycleofsong@gmail.com> writes:
> >>
> >> > Sure, I'll try that. I'm not quite sure how to figure out what
> >> > argument org-export-dispatch takes. Something like this? (org-reload
> >> > (org-export-dispatch 'html))
> >>
> >> I meant C-u M-x org-reload. Then regular export (e.g., C-c C-e l L).
>
> Nicolas might have a better suggestion of what to do next, but I think
> it means the state of your Emacs session was interfering with the
> correct compilation.  Since 'C-u M-x org-reload' forced an uncompiled
> reload, you could try uninstalling/installing the package again.  Or you
> try Ista's snippet[1] for installing in a fresh session:
>
>     Since it doesn't work for you I suggest removing org-plus-contrib
>     (or org), starting emacs with 'emacs -Q' and running something like
>
>     (require 'package)
>     (add-to-list 'package-archives
>                  '("org" . "http://orgmode.org/elpa/") t)
>     (package-initialize)
>     (package-install 'org-plus-contrib)
>     ;; or (package-install 'org)
>
>
> [1] http://permalink.gmane.org/gmane.emacs.orgmode/99708
>
> --
> Kyle
>

[-- Attachment #2: Type: text/html, Size: 2482 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 16:53           ` Peter Salazar
@ 2015-08-08 17:09             ` Kyle Meyer
  2015-08-09  3:43               ` Peter Salazar
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle Meyer @ 2015-08-08 17:09 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Peter Salazar <cycleofsong@gmail.com> wrote:
> Yes, that worked! Thank you so much!

Great.  Just for future reference, these were the steps that worked?

- C-u M-x org-reload
- Uninstall and then reinstall from package-list-packages menu.

--
Kyle

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wrong type argument listp... org-element-set-contents
  2015-08-08 17:09             ` Kyle Meyer
@ 2015-08-09  3:43               ` Peter Salazar
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Salazar @ 2015-08-09  3:43 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org-mode

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

Yes. In my case, I installed org-plus-contrib.

On Sat, Aug 8, 2015 at 1:09 PM, Kyle Meyer <kyle@kyleam.com> wrote:

> Peter Salazar <cycleofsong@gmail.com> wrote:
> > Yes, that worked! Thank you so much!
>
> Great.  Just for future reference, these were the steps that worked?
>
> - C-u M-x org-reload
> - Uninstall and then reinstall from package-list-packages menu.
>
> --
> Kyle
>

[-- Attachment #2: Type: text/html, Size: 783 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-08-09  3:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08  3:11 wrong type argument listp... org-element-set-contents Peter Salazar
2015-08-08  7:27 ` Kyle Meyer
2015-08-08  7:29 ` Nicolas Goaziou
2015-08-08 12:55   ` Peter Salazar
2015-08-08 13:27     ` Nicolas Goaziou
2015-08-08 15:30       ` Peter Salazar
2015-08-08 15:59         ` Kyle Meyer
2015-08-08 16:53           ` Peter Salazar
2015-08-08 17:09             ` Kyle Meyer
2015-08-09  3:43               ` Peter Salazar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).