* Gnus registry error after upgrade, using emacs23
@ 2011-08-30 15:17 Dan Christensen
2011-09-05 0:33 ` Dan Christensen
2011-09-10 21:34 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 8+ messages in thread
From: Dan Christensen @ 2011-08-30 15:17 UTC (permalink / raw)
To: ding
I just upgraded to today's git Gnus from the Feb 21 version. Using emacs23,
I get the following error when starting Gnus:
Error: Not a lambda list: #[(db)
"\305\b\306\"\x19\307\305\b\310\"\311\b!\305\b\312\"_Z]\x1a\313^[\314\315 \"\210\v\237)\x1c
\f+D\207" [db data limit --cl-var-- candidates eieio-oref :data 0 :max-hard
registry-size :prune-factor nil maphash #[(k --cl-var--) "\b B\211\x11\207" [k
--cl-var--] 2]] 6 "Collects pruning candidates from the registry-db object THIS.
Proposes any entries over the max-hard limit minus size * prune-factor."]
It's in a *Compile-Log* buffer.
If I enable backtraces, I get:
Debugger entered--Lisp error: (void-function registry-reindex)
registry-reindex([object registry-db "Gnus Registry"
"~/Gnus/.gnus.registry.eioio" 0.1 10000 268435455 0.1 (subject sender
recipient mark group keyword) (mark) #<hash-table 'eql nil 0/100 0x8399c58>
#<hash-table 'equal nil 0/10000 0x8aecc40>])
gnus-registry-fixup-registry([object registry-db "Gnus Registry"
"~/Gnus/.gnus.registry.eioio" 0.1 10000 268435455 0.1 (subject sender
recipient mark group keyword) (mark) #<hash-table 'eql nil 0/100 0x8399c58>
#<hash-table 'equal nil 0/10000 0x8aecc40>])
gnus-registry-make-db()
(defvar gnus-registry-db (gnus-registry-make-db)
("/home/jdc/emacs/gnus/lisp/gnus-registry.elc" . -7162))
gnus-registry-initialize()
byte-code(...)
load("~/Gnus/.gnus" nil t)
gnus-read-init-file()
gnus-1(2 t nil)
gnus(2 t)
jdc-gnus-no-server()
[Sorry about the line breaks/control characters. Posting via the gmane web
interface.]
This is using the eieio fallback lib. The one in my version of Ubuntu is
too old.
Any suggestions?
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-08-30 15:17 Gnus registry error after upgrade, using emacs23 Dan Christensen
@ 2011-09-05 0:33 ` Dan Christensen
2011-09-10 21:34 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 8+ messages in thread
From: Dan Christensen @ 2011-09-05 0:33 UTC (permalink / raw)
To: ding
Dan Christensen <jdc@uwo.ca> writes:
> I just upgraded to today's git Gnus from the Feb 21 version. Using emacs23,
> I get the following error when starting Gnus:
>
> Error: Not a lambda list: #[(db)
> [...]
>
> This is using the eieio fallback lib. The one in my version of Ubuntu is
> too old.
I've now tested this with both 23.1 and 23.2, and still get the same
error (using the eieio from git Gnus).
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-08-30 15:17 Gnus registry error after upgrade, using emacs23 Dan Christensen
2011-09-05 0:33 ` Dan Christensen
@ 2011-09-10 21:34 ` Lars Magne Ingebrigtsen
2011-09-11 5:32 ` Dan Christensen
1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-10 21:34 UTC (permalink / raw)
To: Dan Christensen; +Cc: ding
Dan Christensen <jdc@uwo.ca> writes:
> Debugger entered--Lisp error: (void-function registry-reindex)
So is that function not defined? Even if you `(require 'registry)'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-09-10 21:34 ` Lars Magne Ingebrigtsen
@ 2011-09-11 5:32 ` Dan Christensen
2011-09-12 4:38 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: Dan Christensen @ 2011-09-11 5:32 UTC (permalink / raw)
To: ding
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Dan Christensen <jdc@uwo.ca> writes:
>
>> Debugger entered--Lisp error: (void-function registry-reindex)
>
> So is that function not defined? Even if you `(require 'registry)'?
That's right. In registry.el, it's defined using defmethod, which is
something from eieio.el, so maybe the version of eieio.el shipped with
gnus is too old?
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-09-11 5:32 ` Dan Christensen
@ 2011-09-12 4:38 ` Lars Magne Ingebrigtsen
2011-09-13 1:49 ` Dan Christensen
0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-12 4:38 UTC (permalink / raw)
To: ding
Dan Christensen <jdc@uwo.ca> writes:
> That's right. In registry.el, it's defined using defmethod, which is
> something from eieio.el, so maybe the version of eieio.el shipped with
> gnus is too old?
I'm unable to reproduce this with Emacs 23. Are you sure you don't have
bits of older versions of registry/Gnus loaded?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-09-12 4:38 ` Lars Magne Ingebrigtsen
@ 2011-09-13 1:49 ` Dan Christensen
2011-09-13 8:42 ` David Engster
0 siblings, 1 reply; 8+ messages in thread
From: Dan Christensen @ 2011-09-13 1:49 UTC (permalink / raw)
To: ding
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Dan Christensen <jdc@uwo.ca> writes:
>
>> That's right. In registry.el, it's defined using defmethod, which is
>> something from eieio.el, so maybe the version of eieio.el shipped with
>> gnus is too old?
>
> I'm unable to reproduce this with Emacs 23. Are you sure you don't have
> bits of older versions of registry/Gnus loaded?
I don't think so. I checked `M-x list-load-path-shadows' and only found
the expected things, e.g. that the git gnus in my home directory shadows
files from emacs 23.2, and that gnus-fallback-lib/eieio/* shadows files
from emacs 23.2.
I just did another test. I created a new user, started emacs with
"emacs -q --no-site-file" and then evaluated each of these lines
in the *scratch* buffer:
(add-to-list 'load-path "/tmp/emacs/gnus/lisp")
(add-to-list 'load-path "/tmp/emacs/gnus/lisp/gnus-fallback-lib/eieio/")
(require 'registry)
where /tmp/emacs/gnus is a copy of git gnus as of a couple of weeks ago.
When I evaluated the last one, I got a *Compile-Log* buffer containing:
Error: Not a lambda list: #[(db) "[lots of 8-bit things deleted]"
[db data limit --cl-var-- candidates eieio-oref :data 0 :max-hard
registry-size :prune-factor nil maphash #[(k --cl-var--) "[more deleted]"
[k --cl-var--] 2]] 6 "Collects pruning candidates from the registry-db object THIS.
Proposes any entries over the max-hard limit minus size * prune-factor."]
Here are the eieio files I have:
-rw-rw-r-- 1 jdc jdc 12617 2011-02-21 09:38 eieio-base.el
-rw-rw-r-- 1 jdc jdc 5113 2011-08-30 10:38 eieio-comp.el
-rw-rw-r-- 1 jdc jdc 15808 2011-08-30 10:38 eieio-custom.el
-rw-rw-r-- 1 jdc jdc 4862 2011-02-21 09:38 eieio-datadebug.el
-rw-rw-r-- 1 jdc jdc 117129 2011-08-30 10:38 eieio.el
-rw-rw-r-- 1 jdc jdc 21950 2011-08-30 10:38 eieio-opt.el
-rw-rw-r-- 1 jdc jdc 15789 2011-02-21 09:38 eieio-speedbar.el
And registry.el:
-rw-rw-r-- 1 jdc jdc 18702 2011-08-30 10:38 registry.el
And I'm using
emacs23 23.2+1-4ubuntu1~ppa3
from
https://launchpad.net/~ubuntu-elisp/+archive/ppa
Any ideas?
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-09-13 1:49 ` Dan Christensen
@ 2011-09-13 8:42 ` David Engster
2011-09-13 12:05 ` Dan Christensen
0 siblings, 1 reply; 8+ messages in thread
From: David Engster @ 2011-09-13 8:42 UTC (permalink / raw)
To: ding
Dan Christensen writes:
> (add-to-list 'load-path "/tmp/emacs/gnus/lisp/gnus-fallback-lib/eieio/")
Don't do that. You're using Emacs 23.2, which ships with EIEIO and Gnus
will use the Emacs-version during compilation. Using different EIEIO's
for byte-compilation and during runtime is bound to create problems.
You don't need the fallback-libs at all; they're only for Emacs 23.1 and
older.
-David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gnus registry error after upgrade, using emacs23
2011-09-13 8:42 ` David Engster
@ 2011-09-13 12:05 ` Dan Christensen
0 siblings, 0 replies; 8+ messages in thread
From: Dan Christensen @ 2011-09-13 12:05 UTC (permalink / raw)
To: ding
David Engster <deng@randomsample.de> writes:
> Dan Christensen writes:
>> (add-to-list 'load-path "/tmp/emacs/gnus/lisp/gnus-fallback-lib/eieio/")
>
> Don't do that. You're using Emacs 23.2, which ships with EIEIO and Gnus
> will use the Emacs-version during compilation. Using different EIEIO's
> for byte-compilation and during runtime is bound to create problems.
> You don't need the fallback-libs at all; they're only for Emacs 23.1 and
> older.
Ah, thanks! I *had* tried the system eieio as well, but that was with
23.1 which I couldn't get working with either the ubuntu provided eieio
or the fallback libs. Then I upgraded to emacs 23.2, but forgot to
recompile gnus, so I still had trouble with the system provided eieio.
After a fresh compile, it works!
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-09-13 12:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 15:17 Gnus registry error after upgrade, using emacs23 Dan Christensen
2011-09-05 0:33 ` Dan Christensen
2011-09-10 21:34 ` Lars Magne Ingebrigtsen
2011-09-11 5:32 ` Dan Christensen
2011-09-12 4:38 ` Lars Magne Ingebrigtsen
2011-09-13 1:49 ` Dan Christensen
2011-09-13 8:42 ` David Engster
2011-09-13 12:05 ` Dan Christensen
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).