emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-odt/org-export errors/paths
@ 2011-07-07 16:55 Matt Price
  2011-07-07 17:26 ` Jambunathan K
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Price @ 2011-07-07 16:55 UTC (permalink / raw)
  To: Org Mode

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

Hi folks,

recently updated to 7.6 (via git) and am trying to follow the directions to
enable org-odt.  I'm having trouble with the exporter, and suspect something
is messed up in my .emacs somewhere, am hoping you guys can help.

My current problem: org-odt export fails with this error (apologies for
gmail's HTMLization of this message):
--------------
Exporting to ODT using org-lparse...
Using vacuous schema [3 times]
File /tmp/odt-10243EXp/content.xml no longer exists!
let*: Wrong number of arguments: #[nil "Ɖ\x18\x19ŠŒ~ˆebˆÇ
ÆÈ#ƒ)
----------------

I seem to have something messed up in my org path, because when I first
tried to enable org-odt, evaluation of org-odt.el failed with a
void-variable error which I fixed by manually loading org-exp.el.  Here are
what I believe to be the relevant parts of my org setup:

;; get current docs
(setq Info-default-directory-list (cons "/home/matt/src/org-mode/doc"
Info-default-directory-list))
;; new load paths
(setq load-path (cons "/home/matt/src/org-mode/contrib/lisp/" load-path))
(setq load-path (cons "/home/matt/src/org-mode/lisp/" load-path))

(require 'org-exp)
(require 'org-odt)

and here are the few org customizations I've made, beside the somewhat
lengthy capture templates:

 '(org-default-notes-file "~/Dropbox/GTD/Collect.org")
 '(org-directory "~/Dropbox/GTD/")
 '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-info
org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-exp org-w3m org-odt
\.\.\.)))
 '(org-startup-folded (quote content))
 '(org-startup-indented t)

Thanks as always guys!
Matt

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

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

* Re: org-odt/org-export errors/paths
  2011-07-07 16:55 org-odt/org-export errors/paths Matt Price
@ 2011-07-07 17:26 ` Jambunathan K
  2011-07-07 20:29   ` Matt Price
  0 siblings, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2011-07-07 17:26 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode


Matt

Happy to hear from you. 

IIRC, You were the first ever user of org-odt. You were having setup
issues last time as well :-).

[http://www.mail-archive.com/emacs-orgmode@gnu.org/msg33276.html]

> Hi folks,
>
> recently updated to 7.6 (via git) and am trying to follow the
> directions to enable org-odt.  I'm having trouble with the exporter,
> and suspect something is messed up in my .emacs somewhere, am hoping
> you guys can help. 
>
> My current problem: org-odt export fails with this error (apologies
> for gmail's HTMLization of this message):
> --------------
> Exporting to ODT using org-lparse...
> Using vacuous schema [3 times]
> File /tmp/odt-10243EXp/content.xml no longer exists!
> let*: Wrong number of arguments: #[nil "Ɖ\x19ŠŒ~ˆebˆÇ
> ÆÈ#ƒ)
> ----------------

Please recreate the crash after doing `M-x toggle-debug-on-error'. It is
easy to debug the crash report if the files are not byte-compiled.

May be you should try loading minimal emacs with:
emacs -Q -L "<lispdir of Org>" -L <contriblispdir of Org>

and then try exporting.

Jambunathan K.

>
> I seem to have something messed up in my org path, because when I
> first tried to enable org-odt, evaluation of org-odt.el failed with a
> void-variable error which I fixed by manually loading org-exp.el. 
> Here are what I believe to be the relevant parts of my org setup:
>
> ;; get current docs
> (setq Info-default-directory-list (cons "/home/matt/src/org-mode/doc"
> Info-default-directory-list))
> ;; new load paths
> (setq load-path (cons "/home/matt/src/org-mode/contrib/lisp/"
> load-path))
> (setq load-path (cons "/home/matt/src/org-mode/lisp/" load-path))
>
> (require 'org-exp)
> (require 'org-odt)
>
> and here are the few org customizations I've made, beside the
> somewhat lengthy capture templates:
>
>  '(org-default-notes-file "~/Dropbox/GTD/Collect.org")
>  '(org-directory "~/Dropbox/GTD/")
>  '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus
> org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-exp
> org-w3m org-odt \.\.\.)))
>  '(org-startup-folded (quote content))
>  '(org-startup-indented t)
>
> Thanks as always guys!
> Matt
>
>

-- 

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

* Re: org-odt/org-export errors/paths
  2011-07-07 17:26 ` Jambunathan K
@ 2011-07-07 20:29   ` Matt Price
  2011-07-07 20:46     ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Price @ 2011-07-07 20:29 UTC (permalink / raw)
  Cc: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 2974 bytes --]

Hi Jambunathan,

I tried emacs -Q -L /home/matt/src/org-mode/lisp -L
/home/matt/src/org-mode/contrib/lisp/
but the exporter still isn't working for me.  The debug log is attached -- I
wanted to leave the escaped characters intact.  C-h v shows that
org-export-backends is in fact defined:

org-export-backends is a variable defined in `org-exp.el'.
Its value is (odt docbook html beamer ascii latex)

but the backtrace looks to me like org doesn't quite understand that.

thanks Jambunathan.
matt

On Thu, Jul 7, 2011 at 1:26 PM, Jambunathan K <kjambunathan@gmail.com>wrote:

>
> Matt
>
> Happy to hear from you.
>
> IIRC, You were the first ever user of org-odt. You were having setup
> issues last time as well :-).
>
> [http://www.mail-archive.com/emacs-orgmode@gnu.org/msg33276.html]
>
> > Hi folks,
> >
> > recently updated to 7.6 (via git) and am trying to follow t
> > directions to enable org-odt.  I'm having trouble with the exporter,
> > and suspect something is messed up in my .emacs somewhere, am hoping
> > you guys can help.
> >
> > My current problem: org-odt export fails with this error (apologies
> > for gmail's HTMLization of this message):
> > --------------
> > Exporting to ODT using org-lparse...
> > Using vacuous schema [3 times]
> > File /tmp/odt-10243EXp/content.xml no longer exists!
> > let*: Wrong number of arguments: #[nil "Ɖ ŠŒ~ˆebˆÇ
> > ÆÈ#ƒ)
> > ----------------
>
> Please recreate the crash after doing `M-x toggle-debug-on-error'. It is
> easy to debug the crash report if the files are not byte-compiled.
>
> May be you should try loading minimal emacs with:
> emacs -Q -L "<lispdir of Org>" -L <contriblispdir of Org>
>
> and then try exporting.
>
> Jambunathan K.
>
> >
> > I seem to have something messed up in my org path, because when I
> > first tried to enable org-odt, evaluation of org-odt.el failed with a
> > void-variable error which I fixed by manually loading org-exp.el.
> > Here are what I believe to be the relevant parts of my org setup:
> >
> > ;; get current docs
> > (setq Info-default-directory-list (cons "/home/matt/src/org-mode/doc"
> > Info-default-directory-list))
> > ;; new load paths
> > (setq load-path (cons "/home/matt/src/org-mode/contrib/lisp/"
> > load-path))
> > (setq load-path (cons "/home/matt/src/org-mode/lisp/" load-path))
> >
> > (require 'org-exp)
> > (require 'org-odt)
> >
> > and here are the few org customizations I've made, beside the
> > somewhat lengthy capture templates:
> >
> >  '(org-default-notes-file "~/Dropbox/GTD/Collect.org")
> >  '(org-directory "~/Dropbox/GTD/")
> >  '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus
> > org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-exp
> > org-w3m org-odt \.\.\.)))
> >  '(org-startup-folded (quote content))
> >  '(org-startup-indented t)
> >
> > Thanks as always guys!
> > Matt
> >
> >
>
> --
>

[-- Attachment #1.2: Type: text/html, Size: 3840 bytes --]

[-- Attachment #2: org_to_odt.debug --]
[-- Type: application/octet-stream, Size: 16627 bytes --]

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

* Re: org-odt/org-export errors/paths
  2011-07-07 20:29   ` Matt Price
@ 2011-07-07 20:46     ` Nick Dokos
  2011-07-07 20:57       ` Nick Dokos
  2011-07-07 21:09       ` Matt Price
  0 siblings, 2 replies; 6+ messages in thread
From: Nick Dokos @ 2011-07-07 20:46 UTC (permalink / raw)
  To: Matt Price; +Cc: nicholas.dokos, Org Mode

Matt Price <moptop99@gmail.com> wrote:

> Hi Jambunathan,
> 
> I tried emacs -Q -L /home/matt/src/org-mode/lisp -L /home/matt/src/org-mode/contrib/lisp/
> but the exporter still isn't working for me.  The debug log is attached -- I wanted to leave the escaped characters intact.  C-h v shows that org-export-backends is in fact defined:
> 
> org-export-backends is a variable defined in `org-exp.el'.
> Its value is (odt docbook html beamer ascii latex)
> 
> but the backtrace looks to me like org doesn't quite understand that. 
> 
> thanks Jambunathan.
> matt
> 

The fault seems to be with org-footnote, not with org-odt, but it's hard
to see where things go wrong because you've loaded compiled code for
that. Can you try again with uncompiled code not only for org-odt but
for everything else as well?

Thanks,
Nick

Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "\306\211\x18\x19\212\214~\210eb\210\307
\306\310#\203)\0\311\306^[\x1c\312\f\v\"*\211\x10\203\v\0\313\301\b\"\210\202\v\0eb\210\307\r\306\310#\203\\\0\314\306^[\x1c\312\f\v\"*\206I\0\311\306^[\x1c\312\f\v\"*\211\x10\203,\0\b\315\232\204,\0\313\301\b\"\210\202,\0*	*\207" [l rtn org-footnote-definition-re string num org-footnote-re nil re-search-forward t 2 match-string-no-properties add-to-list ...] 5 ("/home/matt/src/org-mode/lisp/org-footnote.elc" . 6751)] 1)
  org-footnote-all-labels(with-defs)
  (let* .....)
  org-do-lparse(nil nil nil nil nil nil)

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

* Re: org-odt/org-export errors/paths
  2011-07-07 20:46     ` Nick Dokos
@ 2011-07-07 20:57       ` Nick Dokos
  2011-07-07 21:09       ` Matt Price
  1 sibling, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2011-07-07 20:57 UTC (permalink / raw)
  Cc: nicholas.dokos, Org Mode

Nick Dokos <nicholas.dokos@hp.com> wrote:

> Matt Price <moptop99@gmail.com> wrote:
> 
> > Hi Jambunathan,
> > 
> > I tried emacs -Q -L /home/matt/src/org-mode/lisp -L /home/matt/src/org-mode/contrib/lisp/
> > but the exporter still isn't working for me.  The debug log is attached -- I wanted to leave the escaped characters intact.  C-h v shows that org-export-backends is in fact defined:
> > 
> > org-export-backends is a variable defined in `org-exp.el'.
> > Its value is (odt docbook html beamer ascii latex)
> > 
> > but the backtrace looks to me like org doesn't quite understand that. 
> > 
> > thanks Jambunathan.
> > matt
> > 
> 
> The fault seems to be with org-footnote, not with org-odt, but it's hard
> to see where things go wrong because you've loaded compiled code for
> that. Can you try again with uncompiled code not only for org-odt but
> for everything else as well?
> 

... and maybe try a simpler org file without footnotes and see if that
works.  And maybe post the org-file with footnotes that makes org fail
(suitably sanitized). And if I think of anything else, I'll let you
know :-)

Nick

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

* Re: org-odt/org-export errors/paths
  2011-07-07 20:46     ` Nick Dokos
  2011-07-07 20:57       ` Nick Dokos
@ 2011-07-07 21:09       ` Matt Price
  1 sibling, 0 replies; 6+ messages in thread
From: Matt Price @ 2011-07-07 21:09 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Org Mode

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

On Thu, Jul 7, 2011 at 4:46 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:

> Matt Price <moptop99@gmail.com> wrote:
>
> The fault seems to be with org-footnote, not with org-odt, but it's hard
> to see where things go wrong because you've loaded compiled code for
> that. Can you try again with uncompiled code not only for org-odt but
> for everything else as well?
>
> oh.  oops.  It appears that there were some old .elc files lying around in
my repository.  deleting those got rid of the error.  This will probably
also fix some other small issues I was having...  Thanks everyone!  sorry
for the stupidity.
Matt

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

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

end of thread, other threads:[~2011-07-07 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 16:55 org-odt/org-export errors/paths Matt Price
2011-07-07 17:26 ` Jambunathan K
2011-07-07 20:29   ` Matt Price
2011-07-07 20:46     ` Nick Dokos
2011-07-07 20:57       ` Nick Dokos
2011-07-07 21:09       ` Matt Price

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).