No Doc! (error "Cannot open doc string file...")

Bug #1003928 reported by N. Raghavendra
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Emacs-snapshot
Fix Released
High
Damien Cassou

Bug Description

In emacs-snapshot 2:20120523-1~ppa1~precise1 on Ubuntu 12.04, invoking help for some things, e.g, "C-h f cons" produces an error like this:

---------------------------

cons is a built-in function in `C source code'.

(cons ARG1 ARG2)

No Doc! (error "Cannot open doc string file \"/usr/share/emacs/24.1.50/etc/DOC-24.1.50.1\"")

---------------------------

(emacs-version)

returns

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on doubah, modified by Debian"

Revision history for this message
Damien Cassou (cassou) wrote :

Thank you for your report, I asked the author of the debian packages on which the ubuntu packages are built.

Revision history for this message
Damien Cassou (cassou) wrote :

Julien Danjou (author of the Debian packages) reports: "Working on it, today release should be fixed".

I'm preparing an Ubuntu release, you will have to wait for PPA to build it.

Sorry to all who had this problem.

Revision history for this message
N. Raghavendra (raghu-f) wrote :

Many thanks.

Revision history for this message
Damien Cassou (cassou) wrote :

Ok, most packages are now built. Please try to update and keep us informed.

Revision history for this message
N. Raghavendra (raghu-f) wrote :

No change, the error still occurs as described.

 (emacs-version) =>

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on lansones, modified by Debian"

Revision history for this message
Andrea Piga (andrea-piga) wrote :

I have the same error, already updated half hour ago -Ubuntu '12.04

Thanks

Andrea

Revision history for this message
Tim Crews (tcrews) wrote :

Either way, it looks like maybe only the i386 packages were updated, not amd64? For example, on my 12.04 (precise) machine, emacs-snapshot (i386) is now at version 2.20120524-1, but emacs-snapshot is still at 2.20120523-1. There are some dependencies from the top package to emacs-snapshot-common and emacs-snapshot-bin-common that are now impossible to satisfy, so I cannot install emacs-snapshot at all.

Revision history for this message
wilk (j-cubizolles) wrote :

Same problem here, emacs-snapshot and emacs-snapshot-bin-common are still at 2.20120523-1. for amd64

Revision history for this message
Damien Cassou (cassou) wrote :

Hi,

could you please try again?

Revision history for this message
Damien Cassou (cassou) wrote :

To make my comment clearer:

- it looks like all packages are correctly built (at least for precise/amd64). Could you please check that you can now update/install emacs-snapshot properly?

- I confirm the documentation problem. A workaround is to create a symlink:

$ cd /usr/share/emacs/24.1.50/etc
$ sudo ln -s DOC-24.1.50.2 DOC-24.1.50.1

Revision history for this message
Tim Crews (tcrews) wrote :

I am now able to re-install emacs-snapshot on precise amd64.

I symlinked the documentation directory as you suggested, and I am back up and running.

Thank you!

Revision history for this message
vita (kovanovic) wrote :

All my packages are not at 24 and it still fails..the workaround solved the problem though...

Revision history for this message
Damien Cassou (cassou) wrote :

@vita, I advise you and other users in your situation to follow these simple steps:

$ sudo apt-get update
$ sudo apt-get install
$ sudo apt-get purge emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid
$ sudo apt-get install emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot

Revision history for this message
scytlae (scytale-gmail) wrote :

dependency problems seem to have been resolved - I just successfully reinstalled emacs-snapshot
the DOC file problem still exists but the workround... works

Revision history for this message
flashingpumpkin (flashingpumpkin) wrote :

Yep, I second the workaround working.

Revision history for this message
N. Raghavendra (raghu-f) wrote :

Sorry for the delay in reporting back. I have symlinked the said files, and the error doesn't occur now.

(emacs-version) =>

"GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)\n of 2012-05-24 on lansones, modified by Debian"

Revision history for this message
Andrea Piga (andrea-piga) wrote :

Solved by workaround, I successfully reinstalled but DOC problems still exists, anyway working perfectly with symlink - thanks

Revision history for this message
wilk (j-cubizolles) wrote :

Soved by the workaround for me too. Thanks.

Revision history for this message
Adi Ratiu (adirat) wrote :

Tha problem still exists, the symlink fix works for me also, thank you!

Revision history for this message
Damien Cassou (cassou) wrote :

This bug has been fixed and pushed to the PPA. Please update.

Changed in emacs-snapshot:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Damien Cassou (cassou)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.