Re: [O] org-odt/org-export errors/paths

2011-07-07 Thread Matt Price
On Thu, Jul 7, 2011 at 4:46 PM, Nick Dokos  wrote:

> Matt Price  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


Re: [O] org-odt/org-export errors/paths

2011-07-07 Thread Matt Price
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 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 "" -L 
>
> 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
> >
> >
>
> --
>


org_to_odt.debug
Description: Binary data


Re: [O] org-odt/org-export errors/paths

2011-07-07 Thread Nick Dokos
Matt Price  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\212\214~\210eb\210\307
\306\310#\203)\311\306\312\"*\211\203\313\301\"\210\202eb\210\307
\306\310#\203\\\314\306\312\"*\206I\311\306\312
\"*\211\203,\315\232\204,\313\301\"\210\202,**\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)



Re: [O] org-odt/org-export errors/paths

2011-07-07 Thread Nick Dokos
Nick Dokos  wrote:

> Matt Price  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



Re: [O] org-odt/org-export errors/paths

2011-07-07 Thread Jambunathan K

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 "ƉŠŒ~ˆ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 "" -L 

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

-- 



[O] org-odt/org-export errors/paths

2011-07-07 Thread Matt Price
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 "ƉŠŒ~ˆ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