* Symbol's function definition is void: cancel-timer with maildir Gcc
@ 2005-03-09 20:46 Arcady Genkin
2005-03-10 15:25 ` Reiner Steib
0 siblings, 1 reply; 4+ messages in thread
From: Arcady Genkin @ 2005-03-09 20:46 UTC (permalink / raw)
After upgrade to Xemacs packages SUMO tarball version 2005-03-07 (from
2004-08-18), I am getting the following error message when sending mail
in Gnus (5.10.6 from the said packages tarball):
Symbol's function definition is void: cancel-timer
I traced it down to the following Gcc header:
Gcc: nnmaildir:sent-mail-2005-03
If I remove the header, the error goes away. It also goes away if I
(require 'timer). Perhaps the timer library is not properly loaded
from some Gnus function (e.g. related to nnmaildir)?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Symbol's function definition is void: cancel-timer with maildir Gcc
2005-03-09 20:46 Symbol's function definition is void: cancel-timer with maildir Gcc Arcady Genkin
@ 2005-03-10 15:25 ` Reiner Steib
2005-03-15 18:17 ` Arcady Genkin
0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2005-03-10 15:25 UTC (permalink / raw)
On Wed, Mar 09 2005, Arcady Genkin wrote:
> After upgrade to Xemacs packages SUMO tarball version 2005-03-07 (from
> 2004-08-18), I am getting the following error message when sending mail
> in Gnus (5.10.6 from the said packages tarball):
>
> Symbol's function definition is void: cancel-timer
>
> I traced it down to the following Gcc header:
>
> Gcc: nnmaildir:sent-mail-2005-03
>
> If I remove the header, the error goes away. It also goes away if I
> (require 'timer).
What was the previous version/date of SUMO? Maybe this is related to
the changes Steve mentioned in [1]. Maybe they removed an autoload?
> Perhaps the timer library is not properly loaded from some Gnus
> function (e.g. related to nnmaildir)?
Please do `M-x toggle-debug-on-error RET', repeat the problem and post
the resulting backtrace.
Probably nnmaildir should use `nnheader-cancel-timer' instead of
`cancel-timer'. To test this, please eval this expression:
(defalias 'cancel-timer 'nnheader-cancel-timer) ; <== Press C-x C-e
... and then try to reproduce the error again. Does the error happen
again?
Bye, Reiner.
[1] http://thread.gmane.org/gmane.emacs.gnus.general/59643
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Symbol's function definition is void: cancel-timer with maildir Gcc
2005-03-10 15:25 ` Reiner Steib
@ 2005-03-15 18:17 ` Arcady Genkin
2005-03-15 19:27 ` Reiner Steib
0 siblings, 1 reply; 4+ messages in thread
From: Arcady Genkin @ 2005-03-15 18:17 UTC (permalink / raw)
Reiner Steib <reinersteib+from-uce@imap.cc> writes:
> What was the previous version/date of SUMO?
It was 2004-08-18.
> Please do `M-x toggle-debug-on-error RET', repeat the problem and post
> the resulting backtrace.
Ok, here it goes:
Debugger entered--Lisp error: (void-function cancel-timer)
cancel-timer(("run-with-timer<2>" 86405.009366 nil #<compiled-function nil "...(34)" [cl-struct-nnmaildir--srv-tags tmpfile nnmaildir--cur-server file file-attributes delete-file 0 error "nnmaildir--srv-error storing a non-nnmaildir--srv" 8 "24-hour timer expired" throw return nil] 3> nil t nil (0 0 0)))
byte-code("..." [time cl-struct-nnmaildir--srv-tags group gname file nnmaildir--cur-server 0 error "nnmaildir--srv-error storing a non-nnmaildir--srv" 8 "No such group: " throw return nil "nnmaildir--grp-name accessing a non-nnmaildir--grp" 1 nnmaildir--param nnmaildir--pgname read-only "Read-only group: " "nnmaildir--srv-dir accessing a non-nnmaildir--srv" 4 file-name-as-directory current-time format-time-string "%s." "M" number-to-string "Q" "." nnmaildir--system-name "tmp" "cur" ":2," file-exists-p "File exists: " run-with-timer 86400 #<compiled-function nil "...(34)" [cl-struct-nnmaildir--srv-tags tmpfile nnmaildir--cur-server file file-attributes delete-file 0 error "nnmaildir--srv-error storing a non-nnmaildir--srv" 8 "24-hour timer expired" throw return nil] 3> (add-name-to-file nnmaildir--file tmpfile) ((error ...)) cancel-timer err (add-name-to-file tmpfile curfile) ((error ..
.)) file-attributes delete-file vector cl-struct-nnmaildir--art nnmaildir--grp-add-art ...] 8)
nnmaildir-request-accept-article("sent-mail-2005-03" "" t)
gnus-request-accept-article("nnmaildir:sent-mail-2005-03" "nnmaildir:" t t)
gnus-inews-do-gcc()
gnus-agent-possibly-do-gcc()
run-hooks(gnus-agent-possibly-do-gcc)
message-send(nil)
message-send-and-exit(nil)
call-interactively(message-send-and-exit)
> Probably nnmaildir should use `nnheader-cancel-timer' instead of
> `cancel-timer'. To test this, please eval this expression:
>
> (defalias 'cancel-timer 'nnheader-cancel-timer) ; <== Press C-x C-e
>
> ... and then try to reproduce the error again. Does the error happen
> again?
Using nnheader-cancel-timer makes the problem go away, too.
--
Arcady Genkin : CDF Systems Administrator
http://www.cdf.toronto.edu/~agenkin/contact.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Symbol's function definition is void: cancel-timer with maildir Gcc
2005-03-15 18:17 ` Arcady Genkin
@ 2005-03-15 19:27 ` Reiner Steib
0 siblings, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2005-03-15 19:27 UTC (permalink / raw)
On Tue, Mar 15 2005, Arcady Genkin wrote:
> Reiner Steib <reinersteib+from-uce@imap.cc> writes:
[...]
> Debugger entered--Lisp error: (void-function cancel-timer)
> cancel-timer[...]
> nnmaildir-request-accept-article("sent-mail-2005-03" "" t)
[...]
>> Probably nnmaildir should use `nnheader-cancel-timer' instead of
>> `cancel-timer'. [...]
> Using nnheader-cancel-timer makes the problem go away, too.
Thank for the confirmation. I have fixed it in Gnus' CVS.
--8<---------------cut here---------------start------------->8---
--- nnmaildir.el 20 May 2004 17:55:37 +0200 6.30.2.1
+++ nnmaildir.el 15 Mar 2005 20:19:39 +0100
@@ -1344,7 +1344,7 @@
(write-region (point-min) (point-max) tmpfile nil 'no-message nil
'excl)
(unix-sync))) ;; no fsync :(
- (cancel-timer 24h)
+ (nnheader-cancel-timer 24h)
(condition-case err
(add-name-to-file tmpfile curfile)
(error
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-15 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-09 20:46 Symbol's function definition is void: cancel-timer with maildir Gcc Arcady Genkin
2005-03-10 15:25 ` Reiner Steib
2005-03-15 18:17 ` Arcady Genkin
2005-03-15 19:27 ` Reiner Steib
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 NNTP newsgroup(s).