I have app-office/dia-0.94-r1 installed. When I try to open /usr/share/gnome/help/dia/C/dia.xml with yelp I can see the following error: failed to load external entity "/usr/share/gnome/help/dtd/docbookx.dtd" When I press F1 in dia same error in console. As a workaround I've created symlink: ln -s /usr/share/sgml/docbook/xml-dtd-4.3/ dtd so now I can see help. But this is definitely a bug. Reproducible: Always Steps to Reproduce: 1. start help from dia's menu Actual Results: Error from yelp: Error opening selected document. Below is the text I can see in console: peter@camobap ~ $ dia /usr/share/gnome/help/dia/C/dia.xml:39: I/O warning : failed to load external entity "/usr/share/gnome/help/dtd/docbookx.dtd" > ^ /usr/share/gnome/help/dia/C/usage-loadsave.xml:67: parser error : Entity 'mdash' not defined should not try to compress them manually—it will not help. ^ /usr/share/gnome/help/dia/C/usage-loadsave.xml:189: parser error : chunk is not well balanced ^ /usr/share/gnome/help/dia/C/dia.xml:131: error: Failure to process entity LOADING-SAVING &LOADING-SAVING; ^ /usr/share/gnome/help/dia/C/dia.xml:131: parser error : Entity 'LOADING-SAVING' not defined &LOADING-SAVING; ^ /usr/share/gnome/help/dia/C/usage-customization.xml:22: parser error : Entity 'mdash' not defined Reset tools after create — If this button is checked…<!--[TODO ^ /usr/share/gnome/help/dia/C/usage-customization.xml:22: parser error : Entity 'hellip' not defined Reset tools after create — If this button is checked…<!--[TODO ^ /usr/share/gnome/help/dia/C/usage-customization.xml:86: parser error : chunk is not well balanced ^ /usr/share/gnome/help/dia/C/dia.xml:133: error: Failure to process entity CUSTOMIZATION &CUSTOMIZATION; ^ /usr/share/gnome/help/dia/C/dia.xml:133: parser error : Entity 'CUSTOMIZATION' not defined &CUSTOMIZATION; ^ camobap help # emerge --info Portage 2.0.51.22-r1 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -mtune=pentium-m" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -mtune=pentium-m" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.citkit.ru/pub/Linux/gentoo/ ftp://mirror.gentoo.ru/pub/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.pudas.net/gentoo" LANG="ru_RU.UTF-8" LINGUAS="ru" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 X acl alsa arts audiofile avi bitmap-fonts bl bluetooth bzip2 cdparanoia crypt cups dga divx4linux dv dvd dvdread encode erandom extensions flac gif gimpprint glut gnokii gnome gtk gtk2 gtkhtml hal howl imlib irda java jce jpeg jpeg2k kde kdeenablefinal lirc mad matroska mikmod mmx mng mp3 mpeg mppe-mppc nls nojsch nomotif nptl oggvorbis openexr opengl pam pdflib pic plotutils png povray ppds python qt quicktime readline real rtc samba sdl slp sms speex spell sse sse2 ssl svg tetex theora tiff truetype truetype-fonts type1-fonts unicode utf8 wifi wmf xanim xml xml2 xprint xscreensaver xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
This looks like a problem with your XML catalogs. Please remove the symlink you created and: 1. Make sure you have installed the DocBook 4.2 XML DTD: emerge -p =docbook-xml-dtd-4.2* 2. Make sure your catalogs under /etc/xml are valid. /etc/xml/catalog should have a line like this one: <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///etc/xml/docbook"/> And /etc/xml/docbook should have a line like: <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="file:///usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd"/> If this is not the case, make sure you have the DTD as described in (1) and have run 'build-docbook-catalog' (although the ebuild should run this for you). This may be related to the fact that you don't seem to have 'doc' in your USE flags, which could lead to this kind of problems. Please let us know how it goes.
Thank you very much for your help. This is rather strange, but I did not have emerge -p =docbook-xml-dtd-4.2* installed: * app-text/docbook-xml-dtd : [ ] 4.1.2-r4 (4.1.2) [ I] 4.1.2-r5 (4.1.2) [ ] 4.2 (4.2) [ ] 4.2-r1 (4.2) [ I] 4.3 (4.3) I have only 4.1.2-r5 and 4.3 installed. And do not have 4.2-r1. dia do not have such dependency and USE="doc" does not affect dia's ebuild directly (dia does not have USE="doc" at all). But may be if you have doc in USE variable, then some of dia's dependecies install this xml-dtd. Any way, I think dia should have this as a dependency (may be with "doc" USE flag). So IMHO this is a bug. :) And again thank you for your fast response.
Sorry. I've missed my mouse cursor and "reassigned bug to owner of selected component". I'm trying to return assingnment back by myself. Leonardo, you may missed my answer in mail, but I answered above.
Certainly, I will add that dependency if the problem is the one I described. Did you emerge that DTD? Did it fix the problem?
Yes. I removed symlink, I mentioned about above. Then I did emerge =docbook-xml-dtd-4.2* After this help is displayed. I begin to think about this when I looked into /etc/xml/* files and did not found there nothing about dtd-4.2. Only dtd-4.3. But docbook-xml-dtd-4.3 is sloted (4.3), so it can be installed in parallel with docbook-xml-dtd-4.2 and does not appear to be an update to docbook-xml-dtd-4.2. Now help is working.
Good, I've added the DTD as a dependency to dia now. Thanks for your help.