bbdb: File error: "Cannot open load file", "bbdb-autoloads"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bbdb (Debian) |
Fix Released
|
Unknown
|
|||
bbdb (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #344032 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-id: <email address hidden>
Date: Mon, 19 Dec 2005 16:01:31 +0100
From: Luca Capello <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: bbdb: File error: "Cannot open load file", "bbdb-autoloads"
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-
Package: bbdb
Version: 2.35.cvs20040528-1
Severity: grave
Hello!
Since the latest emacs-snapshot upgrade, I cannot use bbdb anymore:=20
=3D=3D=3D=3D=3D
gismo:~# emacs21 -nw
Loading 20apel (source)...done
Loading 20gnus-init (source)...done
Loading 50auctex (source)...done
Loading 50autoconf (source)...done
Loading 50bbdb (source)...
Error while loading 50bbdb
Loading 50dictionaries-
Loading debian-ispell...
Loading /var/cache/
(source)...done=20
Loading debian-
Loading /var/cache/
(source)...done=20
Loading 50dictionaries-
Loading 50dictionary-el (source)...
Loading dictionary-
Loading 50dictionary-el (source)...done
Loading 50dpkg-dev-el (source)...done
Loading 50emacs-goodies-el (source)...done
Loading 50emacs-wiki (source)...done
Loading 50emms (source)...done
Loading 50erc (source)...
Loading erc-auto...done
Loading 50erc (source)...done
Loading 50flim (source)...done
Loading 50gcl (source)...done
Loading 50gnus-bonus-el (source)...done
Loading 50mmm-mode (source)...done
Loading 50php-elisp (source)...done
Loading 50preview-latex (source)...done
Loading 50psvn (source)...done
Loading 50slime (source)...done
Loading 50vc-svn (source)...done
Loading 50w3m-el (source)...done
Loading 51debian-el (source)...done
Loading 51planner-el (source)...
Loading /usr/lib/
(source)...done=20
Loading 51planner-el (source)...done
Loading 52remember-el (source)...done
Loading 60hyperspec (source)...done
An error has occurred while loading `/root/.emacs':
File error: "Cannot open load file", "bbdb-autoloads"
To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace
gismo:~# emacs21 --debug-init -nw
Debugger entered--Lisp error: (file-error "Cannot open load file"
"bbdb-autoloads")
require(
bbdb-
eval-
load-
load("~/.emacs" t t)
#[nil "^H\205\227^@ =EF=BF=
=EF=BF=
=EF=BF=
=EF=BF=
command-line()
normal-
gismo:~#=20
=3D=3D=3D=3D=3D
The problem is present in both emacs21 and emacs-snapshot and it
worked before (I use the Gnus bbdb-fancy-split and BBDB whenever is
possible, like in Planner/Diary).
Reconfiguring or purging/installing bbdb doesn't change anything :-(
Thx, bye,
Gismo / Luca
=2D- System Information:
Debian Releas...
In Debian Bug tracker #344032, Roland Mas (lolando) wrote : Same here + workaround | #3 |
Just wanted to chime in: I have the same problem. I purged
emacs-snapshot, but apparently that didn't fix anything.
My quick and very dirty workaround: put the following into your .gnus
file.
(setq load-path (cons (concat "/usr/share/
(setq load-path (cons (concat "/usr/share/
(provide 'bbdb/load-path)
(load-library "bbdb")
(provide 'bbdb-autoloads)
(load-library "bbdb-com")
(load-library "bbdb-gnus")
(bbdb-initialize 'gnus 'message)
Roland.
--
Roland Mas
Shyumiribirikku ga susunde imashyou ka ?
-- Le Schmilblick en japonais
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Wed, 21 Dec 2005 20:02:31 +0100
From: Roland Mas <email address hidden>
To: <email address hidden>
Subject: Same here + workaround
Just wanted to chime in: I have the same problem. I purged
emacs-snapshot, but apparently that didn't fix anything.
My quick and very dirty workaround: put the following into your .gnus
file.
(setq load-path (cons (concat "/usr/share/
(setq load-path (cons (concat "/usr/share/
(provide 'bbdb/load-path)
(load-library "bbdb")
(provide 'bbdb-autoloads)
(load-library "bbdb-com")
(load-library "bbdb-gnus")
(bbdb-initialize 'gnus 'message)
Roland.
--
Roland Mas
Shyumiribirikku ga susunde imashyou ka ?
-- Le Schmilblick en japonais
In Debian Bug tracker #344032, Dirk Eddelbuettel (edd) wrote : bbdb also broken with vm under newest emacs | #5 |
As a follow-up to the this bug report, now that this version of emacs21 is in
testing, my mail setup also broke. Thanks to Roland for the snipped of how he
fixed his setup for gnus, the following at the top of ~/.vm did the trick for
me with vm:
; 28 Dec 2005 bbdb breakage after today's emacs upgrade:
(setq load-path (cons (concat "/usr/share/
(setq load-path (cons (concat "/usr/share/
(provide 'bbdb/load-path)
(load-library "bbdb")
(load-library "bbdb-com")
(load-library "bbdb-vm")
(provide 'bbdb-autoloads)
;;
;(bbdb-
(bbdb-initialize 'vm)
Regards, Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Wed, 28 Dec 2005 22:23:11 -0600
From: Dirk Eddelbuettel <email address hidden>
To: <email address hidden>
CC: Luca Capello <email address hidden>, Roland Mas <email address hidden>
Subject: bbdb also broken with vm under newest emacs
As a follow-up to the this bug report, now that this version of emacs21 is in
testing, my mail setup also broke. Thanks to Roland for the snipped of how he
fixed his setup for gnus, the following at the top of ~/.vm did the trick for
me with vm:
; 28 Dec 2005 bbdb breakage after today's emacs upgrade:
(setq load-path (cons (concat "/usr/share/
(setq load-path (cons (concat "/usr/share/
(provide 'bbdb/load-path)
(load-library "bbdb")
(load-library "bbdb-com")
(load-library "bbdb-vm")
(provide 'bbdb-autoloads)
;;
;(bbdb-
(bbdb-initialize 'vm)
Regards, Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
In Debian Bug tracker #344032, Julien Barnier (julien-nozav) wrote : Another fix for this bug ? | #7 |
Hi to all,
I just encountered this bug after an upgrade on testing, and I wonder
if the following could be another quick fix :
- copy every .el files in :
/usr/
to :
/usr/
- byte recompile the second directory (launch emacs and M-x
byte-
I have no more error messages for the moment.
HTH,
Julien
Debian Bug Importer (debzilla) wrote : | #8 |
Message-ID: <email address hidden>
Date: Fri, 30 Dec 2005 23:51:33 +0100
From: Julien Barnier <email address hidden>
To: <email address hidden>
Subject: Another fix for this bug ?
Hi to all,
I just encountered this bug after an upgrade on testing, and I wonder
if the following could be another quick fix :
- copy every .el files in :
/usr/
to :
/usr/
- byte recompile the second directory (launch emacs and M-x
byte-
I have no more error messages for the moment.
HTH,
Julien
In Debian Bug tracker #344032, Erich Waelde (ew-ng116837) wrote : [344032] bugfix for: bbdb: File error: "Cannot open load file", "bbdb-autoloads" | #9 |
Hi all,
1.
The installation of bbdb fails due to a bug in
/usr/share/
The single quotes make the ending backslashes show up in the lisp code passed to emacs.
2.
The real problem is, that the install continues after throwing an error.
fix for 1.
debian:
--- Makefile.dist 2006-01-06 15:47:30.000000000 +0100
+++ Makefile 2006-01-06 15:48:09.000000000 +0100
@@ -154,10 +154,10 @@
bbdb-hooks.elc: bbdb.elc bbdb-hooks.el
- -eval '(and (not (string= "$(VMDIR)" "")) \
- (setq load-path (cons "$(VMDIR)" load-path)) \
- (load "vm" t t) \
- (load "vm-vars" t t))' \
+ -eval "(and (not (string= \"$(VMDIR)\" \"\")) \
+ (setq load-path (cons \"$(VMDIR)\" load-path)) \
+ (load \"vm\" t t) \
+ (load \"vm-vars\" t t))" \
-f batch-byte-compile $(@:.elc=.el)
autoloads: bbdb-autoloads.el
This probably closes #345186 and #345297, too.
For 2. I don't have an answer, but look at this excerpt from
/usr/share/
indented and edited for readability
Generating bbdb-autoloads
cd lisp; make autoloads
make[1]: Entering directory `/usr/share/
...
Generating autoloads for bbdb.el...
Generating autoloads for bbdb.el...done
Wrote /usr/share/
make[1]: Leaving directory `/usr/share/
cd lisp; make rmail
make[1]: Entering directory `/usr/share/
Loading 00debian-vars...
...
Loading 50bbdb (source)...
...
Wrote /usr/share/
...
Loading 50bbdb (source)...
...
Wrote /usr/share/
...
Loading 50bbdb (source)...
...
Symbol's value as variable is void: \
make[1]: *** [bbdb-hooks.elc] Error 255
make[1]: Leaving directory `/usr/share/
make: *** [rmail] Error 2
At this point an error occured, bbdb-hooks.elc is not created, however:
make in this directory stops, but the install-script (? or make) continues ...
...
Loading 50bbdb (source)...
Error while loading 50bbdb
Here the above error shows itself again ? ...
...
Wrote /usr/share/
Wrote /usr/share/
In end of data:
bbdb-
defined: bbdb-address-
Wrote /usr/share/
In bbdb-to-netscape:
bbdb-
In Debian Bug tracker #344032, Roland Mas (lolando) wrote : Re: Bug#344032: [344032] bugfix for: bbdb: File error: "Cannot open load file", "bbdb-autoloads" | #10 |
Erich Waelde (2006-01-06 16:05:53 +0100) :
> Hi all,
>
> 1. The installation of bbdb fails due to a bug in
> /usr/share/
> the ending backslashes show up in the lisp code passed to emacs.
Hmm. So it's still a bug in bbdb (or in its packaging, more
probably), but it was probably triggered by the recent change in make
changing the syntax of makefiles.
Roland.
--
Roland Mas
Bada, bada, ba-da-da-daaa, doudou, doudou, dou-dou-
-- in Song without words #1 (Paul Leavitt)
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 16:05:53 +0100
From: Erich Waelde <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: [344032] bugfix for: bbdb: File error: "Cannot open load file", "bbdb-autoloads"
Hi all,
1.
The installation of bbdb fails due to a bug in
/usr/share/
The single quotes make the ending backslashes show up in the lisp code passed to emacs.
2.
The real problem is, that the install continues after throwing an error.
fix for 1.
debian:
--- Makefile.dist 2006-01-06 15:47:30.000000000 +0100
+++ Makefile 2006-01-06 15:48:09.000000000 +0100
@@ -154,10 +154,10 @@
bbdb-hooks.elc: bbdb.elc bbdb-hooks.el
- -eval '(and (not (string= "$(VMDIR)" "")) \
- (setq load-path (cons "$(VMDIR)" load-path)) \
- (load "vm" t t) \
- (load "vm-vars" t t))' \
+ -eval "(and (not (string= \"$(VMDIR)\" \"\")) \
+ (setq load-path (cons \"$(VMDIR)\" load-path)) \
+ (load \"vm\" t t) \
+ (load \"vm-vars\" t t))" \
-f batch-byte-compile $(@:.elc=.el)
autoloads: bbdb-autoloads.el
This probably closes #345186 and #345297, too.
For 2. I don't have an answer, but look at this excerpt from
/usr/share/
indented and edited for readability
Generating bbdb-autoloads
cd lisp; make autoloads
make[1]: Entering directory `/usr/share/
...
Generating autoloads for bbdb.el...
Generating autoloads for bbdb.el...done
Wrote /usr/share/
make[1]: Leaving directory `/usr/share/
cd lisp; make rmail
make[1]: Entering directory `/usr/share/
Loading 00debian-vars...
...
Loading 50bbdb (source)...
...
Wrote /usr/share/
...
Loading 50bbdb (source)...
...
Wrote /usr/share/
...
Loading 50bbdb (source)...
...
Symbol's value as variable is void: \
make[1]: *** [bbdb-hooks.elc] Error 255
make[1]: Leaving directory `/usr/share/
make: *** [rmail] Error 2
At this point an error occured, bbdb-hooks.elc is not created, however:
make in this directory stops, but the install-script (? or make) continues ...
...
Loading 50bbdb (source)...
Error while loading 50bbdb
Here the above error shows itself again ? ...
...
Wrote /usr/share/
Wrote /usr/share/
In end of data:
bbdb-
defined: bbdb-address-
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 17:03:21 +0100
From: Roland Mas <email address hidden>
To: Erich Waelde <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#344032: [344032] bugfix for: bbdb: File error: "Cannot open load file",
"bbdb-autoloads"
Erich Waelde (2006-01-06 16:05:53 +0100) :
> Hi all,
>
> 1. The installation of bbdb fails due to a bug in
> /usr/share/
> the ending backslashes show up in the lisp code passed to emacs.
Hmm. So it's still a bug in bbdb (or in its packaging, more
probably), but it was probably triggered by the recent change in make
changing the syntax of makefiles.
Roland.
--
Roland Mas
Bada, bada, ba-da-da-daaa, doudou, doudou, dou-dou-
-- in Song without words #1 (Paul Leavitt)
In Debian Bug tracker #344032, Olaf Meeuwissen (olaf.meeuwissen) wrote : | #13 |
I just want to confirm that the patch contributed by Erich Waelde on
January 6, 2006 fixes the bug modulo the following: it also has to be
applied to Makefile.in.
I did the following to make the bug go away, where patch is the file
that contains Erich's patch:
# sed -i 's/Makefile/
# patch -d /usr/share/
# sed -i 's/Makefile\
# patch -d /usr/share/
# /var/lib/
Versions of relevant packages:
bbdb 2.35.cvs20040528-1
emacs21 21.4a-3
emacs21-
emacs21-common 21.4a-3
emacs21-el 21.4a-3
emacsen-common 1.4.16
make 3.80+3.81.b4-1
Hope this helps,
--
Olaf Meeuwissen
FSF Associate Member #1962 sign up at http://
GnuPG key: 30EF893A/2774 815B DE83 06C8 D733 6B5B 033C C857 30EF 893A
Penguin's lib! -- I hack, therefore I am -- LPIC-2
Debian Bug Importer (debzilla) wrote : | #14 |
Message-ID: <email address hidden>
Date: Wed, 11 Jan 2006 21:36:53 +0900
From: Olaf Meeuwissen <email address hidden>
To: <email address hidden>
Subject: Re: bbdb: File error: "Cannot open load file", "bbdb-autoloads"
I just want to confirm that the patch contributed by Erich Waelde on
January 6, 2006 fixes the bug modulo the following: it also has to be
applied to Makefile.in.
I did the following to make the bug go away, where patch is the file
that contains Erich's patch:
# sed -i 's/Makefile/
# patch -d /usr/share/
# sed -i 's/Makefile\
# patch -d /usr/share/
# /var/lib/
Versions of relevant packages:
bbdb 2.35.cvs20040528-1
emacs21 21.4a-3
emacs21-
emacs21-common 21.4a-3
emacs21-el 21.4a-3
emacsen-common 1.4.16
make 3.80+3.81.b4-1
Hope this helps,
--
Olaf Meeuwissen
FSF Associate Member #1962 sign up at http://
GnuPG key: 30EF893A/2774 815B DE83 06C8 D733 6B5B 033C C857 30EF 893A
Penguin's lib! -- I hack, therefore I am -- LPIC-2
In Debian Bug tracker #344032, Paul Smith (psmith-nortel) wrote : Fix for makefile | #15 |
Ouch! Yes, the makefile needs to be fixed as described here.
Note that a simpler fix, conceptually, might be just to do with this
target what is already being done for others like VM, etc., and why
those eval strings don't fail as well; something like:
LOADVM = -eval '(and (not (string= "$(VMDIR)" "")) \
bbdb-hooks.elc: bbdb.elc bbdb-hooks.el
$(LOADVM) \
-f batch-byte-compile $(@:.elc=.el)
--
-------
Paul D. Smith <email address hidden> HASMAT: HA Software Mthds & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------
These are my opinions--Nortel takes no responsibility for them.
In Debian Bug tracker #344032, Joerg Jaspert (joerg) wrote : Bug#344032: fixed in bbdb 2.35.cvs20060204-1 | #16 |
Source: bbdb
Source-Version: 2.35.cvs20060204-1
We believe that the bug you reported is fixed in the latest version of
bbdb, which is due to be installed in the Debian FTP archive:
bbdb_2.
to pool/main/
bbdb_2.
to pool/main/
bbdb_2.
to pool/main/
bbdb_2.
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joerg Jaspert <email address hidden> (supplier of updated bbdb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 4 Feb 2006 16:32:31 +0100
Source: bbdb
Binary: bbdb
Architecture: source all
Version: 2.35.cvs20060204-1
Distribution: unstable
Urgency: low
Maintainer: Joerg Jaspert <email address hidden>
Changed-By: Joerg Jaspert <email address hidden>
Description:
bbdb - The Insidious Big Brother Database (email rolodex) for Emacs
Closes: 192904 279920 296577 308336 344032 345186 345297 350449
Changes:
bbdb (2.35.cvs200602
.
* New CVS co
- Bug fix: "bbdb-news-
* Bug fix: "bbdb: File error: "Cannot open load file",
'bbdb-
* Bug fix: "bbdb does not work with gnus-5.10", (works for me [TM]) (Closes: #192904).
Files:
6177019de726dc
309c587ff2e98e
305d98923e07b6
b68bb0e7a6d6f0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Joerg Jaspert <email address hidden> -- Debian Developer
iD8DBQFD5NRScV7
+EywAiHS0UAS5pN
=/Ulg
-----END PGP SIGNATURE-----
Matt Zimmerman (mdz) wrote : | #17 |
Fixed in version bbdb/2.
Why is this in main anyway?
Barry deFreese (bddebian) wrote : | #18 |
Fixed in Dapper.
Changed in bbdb: | |
status: | Unconfirmed → Fix Released |
Automatically imported from Debian bug report #344032 http:// bugs.debian. org/344032