emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Compile error in org-odt.el in latest master
@ 2012-07-11 18:38 Rainer Stengele
  2012-07-11 19:29 ` Rainer Stengele
  2012-07-11 19:35 ` Jambunathan K
  0 siblings, 2 replies; 8+ messages in thread
From: Rainer Stengele @ 2012-07-11 18:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

compiling the current master I get


Compiling /cygdrive/c/Dokumente und Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...

In org-export-as-odt-and-open:
org-odt.el:462:4:Warning: `(quit error)' is a malformed function
org-odt.el:462:4:Warning: reference to free variable `err'

In org-export-as-odt:
org-odt.el:495:4:Warning: `(quit error)' is a malformed function
org-odt.el:495:4:Warning: reference to free variable `err'

In org-export-as-odf:
org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
org-odt.el:2812:26:Warning: reference to free variable `err'

In end of data:
org-odt.el:2843:1:Warning: the following functions are not known to be
    defined: condition-case-unless-debug, clear-image-cache, image-size


Please help!

Cheers,
Rainer

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 18:38 Compile error in org-odt.el in latest master Rainer Stengele
@ 2012-07-11 19:29 ` Rainer Stengele
  2012-07-11 19:36   ` Jambunathan K
  2012-07-11 19:35 ` Jambunathan K
  1 sibling, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2012-07-11 19:29 UTC (permalink / raw)
  Cc: emacs-orgmode

Am 11.07.2012 20:38, schrieb Rainer Stengele:
> Hi all,
> 
> compiling the current master I get
> 
> 
> Compiling /cygdrive/c/Dokumente und Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
> 
> In org-export-as-odt-and-open:
> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
> org-odt.el:462:4:Warning: reference to free variable `err'
> 
> In org-export-as-odt:
> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
> org-odt.el:495:4:Warning: reference to free variable `err'
> 
> In org-export-as-odf:
> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
> org-odt.el:2812:26:Warning: reference to free variable `err'
> 
> In end of data:
> org-odt.el:2843:1:Warning: the following functions are not known to be
>     defined: condition-case-unless-debug, clear-image-cache, image-size
> 
> 
> Please help!
> 
> Cheers,
> Rainer
> 
> 
> 
Hi again,

yes I see now, these are only warnings.
I was misled by trying to do an odt export and getting hit by the debugger here:


I get this error:

call-interactively: Symbol's value as variable is void: err

Switching toggle-debug-on-error to true I get:

Debugger entered--Lisp error: (void-variable err)
  org-export-as-odt-and-open(nil)
  call-interactively(org-export-as-odt-and-open)
  org-export(nil)
  call-interactively(org-export nil nil)


I saw "err" in the debugger and "err" in the compiler messages and overloked the "warning".
Anyway, something is wrong. Can anybody see what?

Rainer

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 18:38 Compile error in org-odt.el in latest master Rainer Stengele
  2012-07-11 19:29 ` Rainer Stengele
@ 2012-07-11 19:35 ` Jambunathan K
  1 sibling, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2012-07-11 19:35 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


> org-odt.el:2843:1:Warning: the following functions are not known to be
>     defined: condition-case-unless-debug, clear-image-cache,
>     image-size

I have pushed a fix for `condition-case-unless-debug'.  If you are using
Emacs >= 23.1 you will have no further issues.

As for other 2 functions, I am not sure why they are not defined.  What
version of Emacs are you using?
-- 

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 19:29 ` Rainer Stengele
@ 2012-07-11 19:36   ` Jambunathan K
  2012-07-11 20:04     ` Rainer Stengele
  0 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2012-07-11 19:36 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


See my earlier message.  This should be fixed.

Rainer Stengele <rainer.stengele@online.de> writes:

> Am 11.07.2012 20:38, schrieb Rainer Stengele:
>> Hi all,
>> 
>> compiling the current master I get
>> 
>> 
>> Compiling /cygdrive/c/Dokumente und
>> Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
>> 
>> In org-export-as-odt-and-open:
>> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
>> org-odt.el:462:4:Warning: reference to free variable `err'
>> 
>> In org-export-as-odt:
>> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
>> org-odt.el:495:4:Warning: reference to free variable `err'
>> 
>> In org-export-as-odf:
>> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
>> org-odt.el:2812:26:Warning: reference to free variable `err'
>> 
>> In end of data:
>> org-odt.el:2843:1:Warning: the following functions are not known to be
>>     defined: condition-case-unless-debug, clear-image-cache, image-size
>> 
>> 
>> Please help!
>> 
>> Cheers,
>> Rainer
>> 
>> 
>> 
> Hi again,
>
> yes I see now, these are only warnings.
> I was misled by trying to do an odt export and getting hit by the debugger here:
>
>
> I get this error:
>
> call-interactively: Symbol's value as variable is void: err
>
> Switching toggle-debug-on-error to true I get:
>
> Debugger entered--Lisp error: (void-variable err)
>   org-export-as-odt-and-open(nil)
>   call-interactively(org-export-as-odt-and-open)
>   org-export(nil)
>   call-interactively(org-export nil nil)
>
>
> I saw "err" in the debugger and "err" in the compiler messages and
> overloked the "warning".
> Anyway, something is wrong. Can anybody see what?
>
> Rainer
>
>

-- 

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 19:36   ` Jambunathan K
@ 2012-07-11 20:04     ` Rainer Stengele
  2012-07-11 20:11       ` Jambunathan K
  2012-07-11 20:33       ` Jambunathan K
  0 siblings, 2 replies; 8+ messages in thread
From: Rainer Stengele @ 2012-07-11 20:04 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Am 11.07.2012 21:36, schrieb Jambunathan K:
> 
> See my earlier message.  This should be fixed.
> 
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Am 11.07.2012 20:38, schrieb Rainer Stengele:
>>> Hi all,
>>>
>>> compiling the current master I get
>>>
>>>
>>> Compiling /cygdrive/c/Dokumente und
>>> Einstellungen/rainer/Anwendungsdaten/.emacs.d/org/lisp/org-odt.el...
>>>
>>> In org-export-as-odt-and-open:
>>> org-odt.el:462:4:Warning: `(quit error)' is a malformed function
>>> org-odt.el:462:4:Warning: reference to free variable `err'
>>>
>>> In org-export-as-odt:
>>> org-odt.el:495:4:Warning: `(quit error)' is a malformed function
>>> org-odt.el:495:4:Warning: reference to free variable `err'
>>>
>>> In org-export-as-odf:
>>> org-odt.el:2815:33:Warning: `(quit error)' is a malformed function
>>> org-odt.el:2812:26:Warning: reference to free variable `err'
>>>
>>> In end of data:
>>> org-odt.el:2843:1:Warning: the following functions are not known to be
>>>     defined: condition-case-unless-debug, clear-image-cache, image-size
>>>
>>>
>>> Please help!
>>>
>>> Cheers,
>>> Rainer
>>>
>>>
>>>
>> Hi again,
>>
>> yes I see now, these are only warnings.
>> I was misled by trying to do an odt export and getting hit by the debugger here:
>>
>>
>> I get this error:
>>
>> call-interactively: Symbol's value as variable is void: err
>>
>> Switching toggle-debug-on-error to true I get:
>>
>> Debugger entered--Lisp error: (void-variable err)
>>   org-export-as-odt-and-open(nil)
>>   call-interactively(org-export-as-odt-and-open)
>>   org-export(nil)
>>   call-interactively(org-export nil nil)
>>
>>
>> I saw "err" in the debugger and "err" in the compiler messages and
>> overloked the "warning".
>> Anyway, something is wrong. Can anybody see what?
>>
>> Rainer
>>
>>
> 
Thanks, export starts but stops here:


Debugger entered--Lisp error: (error "Unable to create odt file (8)")
  signal(error ("Unable to create odt file (8)"))
  error("Unable to create odt file (%S)" 8)
  #[(cmd) "\304\305\306\307\b\310#\"\210\311\312\313!!\x19\314\216	\x19\315\316\b@\317	\317\bA&\x06\x12)r	q\210\320 +\x13\321\n!\206;
\317\304\322\v\"\210\206; ..
 [cmd standard-output exitcode err-string message "Running %s" mapconcat identity " " get-buffer-create generate-new-buffer-name " *string-output*" ((kill-buffer standard-output))
apply call-process nil buffer-string zerop "%s" error "Unable to create odt file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
  mapc(#[(cmd)


The rest of the message I cannot copy to my thunderbird buffer.
I cannot find the file to be zipped "DIPLAN.odt".
zip.exe is installed.

Any idea?

Rainer

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 20:04     ` Rainer Stengele
@ 2012-07-11 20:11       ` Jambunathan K
  2012-07-11 20:34         ` Rainer Stengele
  2012-07-11 20:33       ` Jambunathan K
  1 sibling, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2012-07-11 20:11 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

> Thanks, export starts but stops here:
>
>
> Debugger entered--Lisp error: (error "Unable to create odt file (8)")
>   signal(error ("Unable to create odt file (8)"))
>   error("Unable to create odt file (%S)" 8)
>   #[(cmd) "\304\305\306\307\b\310#\"\210\311\312\313!!\314\216	\315\316\b@\317	\317\bA&\x12)r	q\210\320 +\321\n!\206;
> \317\304\322\v\"\210\206; ..
>  [cmd standard-output exitcode err-string message "Running %s" mapconcat identity " " get-buffer-create generate-new-buffer-name " *string-output*" ((kill-buffer standard-output))
> apply call-process nil buffer-string zerop "%s" error "Unable to create odt file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
>   mapc(#[(cmd)
>
>
> The rest of the message I cannot copy to my thunderbird buffer.
> I cannot find the file to be zipped "DIPLAN.odt".
> zip.exe is installed.

Could please post the error message from *Messages* buffer.  This should
tell why zip is failing.

> Any idea?
>
> Rainer

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 20:04     ` Rainer Stengele
  2012-07-11 20:11       ` Jambunathan K
@ 2012-07-11 20:33       ` Jambunathan K
  1 sibling, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2012-07-11 20:33 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


> Debugger entered--Lisp error: (error "Unable to create odt file (8)")

According to `man zip', error code 8 (seen above) corresponds to

,----
|                 8      zip -T failed or out of memory
`----

Does this ring any bell?

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

* Re: Compile error in org-odt.el in latest master
  2012-07-11 20:11       ` Jambunathan K
@ 2012-07-11 20:34         ` Rainer Stengele
  0 siblings, 0 replies; 8+ messages in thread
From: Rainer Stengele @ 2012-07-11 20:34 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Am 11.07.2012 22:11, schrieb Jambunathan K:
>> Thanks, export starts but stops here:
>>
>>
>> Debugger entered--Lisp error: (error "Unable to create odt file (8)")
>>   signal(error ("Unable to create odt file (8)"))
>>   error("Unable to create odt file (%S)" 8)
>>   #[(cmd) "\304\305\306\307\b\310#\"\210\311\312\313!!\314\216	\315\316\b@\317	\317\bA&\x12)r	q\210\320 +\321\n!\206;
>> \317\304\322\v\"\210\206; ..
>>  [cmd standard-output exitcode err-string message "Running %s" mapconcat identity " " get-buffer-create generate-new-buffer-name " *string-output*" ((kill-buffer standard-output))
>> apply call-process nil buffer-string zerop "%s" error "Unable to create odt file (%S)"] 7](("zip" "-rmTq" "DIPLAN.odt" "."))
>>   mapc(#[(cmd)
>>
>>
>> The rest of the message I cannot copy to my thunderbird buffer.
>> I cannot find the file to be zipped "DIPLAN.odt".
>> zip.exe is installed.
> 
> Could please post the error message from *Messages* buffer.  This should
> tell why zip is failing.
> 

Excellent, I found it, I missed the unzip.exe and now it works! Excellent output!
Thank you very much for taking the time to help!

Best,
Rainer


>> Any idea?
>>
>> Rainer
> 
> 

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

end of thread, other threads:[~2012-07-11 20:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11 18:38 Compile error in org-odt.el in latest master Rainer Stengele
2012-07-11 19:29 ` Rainer Stengele
2012-07-11 19:36   ` Jambunathan K
2012-07-11 20:04     ` Rainer Stengele
2012-07-11 20:11       ` Jambunathan K
2012-07-11 20:34         ` Rainer Stengele
2012-07-11 20:33       ` Jambunathan K
2012-07-11 19:35 ` Jambunathan K

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