Re: Yelp fails to display DocBook files



From: "Red Blue" <red_blue hotmail com>
To: gnome-list gnome org
Subject: Re: Yelp fails to display DocBook files
Date: Mon, 10 Apr 2006 14:10:13 +0300

My understanding is that Yelp should do an XML->HTML conversion using the XSLT style sheets from gnome-doc-utils, but this step is not happening for either of us, and there apparently are no detailed error messages or logs available from Yelp to help in pinpointing where the failure occurs.

I ran strace on Yelp trying to open "/usr/share/gnome/help/accessx-status/C/accessx-status.xml" and to figure out where it fails but the results are thus far inconclusive. I speculate that xml2po should be called instead of Mozilla directly and that there is some mime registration problem, but I would need a similar trace (complete) from a working Yelp to compare. I would much apprechiate if someone zipped up one and emailed to me (preferably with -s100 at least, which takes about 2MB in text and 100kB packed).

Here a snippet of my strace:

lstat("/usr/share/gnome/help/accessx-status/C/accessx-status.xml", {st_mode=S_IFREG|0644, st_size=8917, ...}) = 0 open("/usr/share/gnome/help/accessx-status/C/accessx-status.xml", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=8917, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab3ec9000 read(22, "<?xml version=\"1.0\"?>\n<!DOCTYPE article PUBLIC \"-//OASIS//DTD DocBook XML V4.3//EN\" \n\"http://www.oas";..., 4096) = 4096
close(22)                               = 0
munmap(0x2aaab3ec9000, 4096)            = 0
open("/usr/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_db.so.2", O_RDONLY) = 22
read(22, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\25\0\0\0\0\0\0 \0\0\0\0\0\0\0\260S\0\0\0\0\0\0\0\0\0\0@\0008\0\5\0 \0\31\0\30\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 640) = 640
fstat(22, {st_mode=S_IFREG|0644, st_size=23024, ...}) = 0
mmap(NULL, 1070424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 22, 0) = 0x2aaab3ec9000
mprotect(0x2aaab3ece000, 1049944, PROT_NONE) = 0
mmap(0x2aaab3fce000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 22, 0x5000) = 0x2aaab3fce000
close(22)                               = 0
open("/usr/lib/tls/libdb-4.3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdb-4.3.so", O_RDONLY) = 22
read(22, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\f\2\0\0\0\0\0 \0\0\0\0\0\0\00003\17\0\0\0\0\0\0\0\0\0@\0008\0\5\0 \0\32\0\31\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 640) = 640
fstat(22, {st_mode=S_IFREG|0644, st_size=997808, ...}) = 0
mmap(NULL, 2045488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 22, 0) = 0x2aaab3fcf000
mprotect(0x2aaab40be000, 1066544, PROT_NONE) = 0
mmap(0x2aaab41be000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 22, 0xef000) = 0x2aaab41be000
close(22)                               = 0
open("/etc/mtab", O_RDONLY)             = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=335, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000 read(22, "/dev/hdb3 / ext3 rw,errors=remount-ro 0 0\nproc /proc proc rw 0 0\nsysfs /sys sysfs rw 0 0\nusbfs /proc"..., 4096) = 335
close(22)                               = 0
munmap(0x2aaab41c3000, 4096)            = 0
open("/proc/stat", O_RDONLY)            = 22
fstat(22, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000 read(22, "cpu 28458 1613351 5833 1183 1572 85 2077 0\ncpu0 28458 1613351 5833 1183 1572 85 2077 0\nintr 5579142"..., 1024) = 662
read(22, "", 1024)                      = 0
close(22)                               = 0
munmap(0x2aaab41c3000, 4096)            = 0
open("/var/lib/misc/rpc.db", O_RDWR) = -1 ENOENT (No such file or directory) open("/var/lib/misc/rpc.db", O_RDWR) = -1 ENOENT (No such file or directory) open("/var/lib/misc/rpc.db", O_RDWR) = -1 ENOENT (No such file or directory) stat("/var/lib/misc/rpc.db", 0x7fffffb07850) = -1 ENOENT (No such file or directory)
open("/etc/rpc", O_RDONLY)              = 22
fcntl(22, F_GETFD)                      = 0
fcntl(22, F_SETFD, FD_CLOEXEC)          = 0
fstat(22, {st_mode=S_IFREG|0644, st_size=887, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000 read(22, "# This file contains user readable names that can be used in place of rpc\n# program numbers.\n\nportma"..., 4096) = 887
close(22)                               = 0
munmap(0x2aaab41c3000, 4096)            = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 22
bind(22, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 connect(22, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
futex(0x2aaaace18200, FUTEX_WAKE, 2147483647) = 0
write(22, "\200\0\0(\33\2679^\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 44) = 44
poll([{fd=22, events=POLLIN, revents=POLLIN}], 1, 60000) = 1
read(22, "\200\0\0\200\33\2679^\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\1\206\240\0\0\0\2\0\0\0\6\0\0\0o\0\0\0\1\0\1\206\240\0\0\0\2\0\0\0\21\0\0\0o\0\0\0\1\0\5\367Z\0\0\0\2\0\0\0\6\0\0\3\217"..., 500) = 132
close(22)                               = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 22
connect(22, {sa_family=AF_INET, sin_port=htons(911), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getegid()                               = 1000
geteuid()                               = 1000
write(22, "\0\0\0\34N0 1000 1000 sockmeister\0000\n\0", 32) = 32
read(22, "\0\0\0\20", 4)                = 4
read(22, "/tmp/.famEzTwhS\0", 16)       = 16
socket(PF_FILE, SOCK_STREAM, 0)         = 23
connect(23, {sa_family=AF_FILE, path="/tmp/.famEzTwhS"}, 110) = 0
close(22)                               = 0
getegid()                               = 1000
geteuid()                               = 1000
write(23, "\0\0\0\35", 4)               = 4
write(23, "N0 1000 1000 gnome-vfs user\n\0", 29) = 29
fstat(23, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl(23, F_GETFL)                      = 0x2 (flags O_RDWR)
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0V", 4)                 = 4
write(23, "W1 1000 20 /home/jere/.local/share/applications/mimeinfo.cache\n\0006 24 25 29 44 46 1000\0", 86) = 86
munmap(0x2aaab41c3000, 266240)          = 0
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0008e1 /home/jere/.local/share/applications/mimeinfo.cache\n\0\0\0\0008P1 /home/jere/.local/share/applicati"..., 3000) = 120
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0U", 4)                 = 4
write(23, "W2 1000 20 /home/jere/.local/share/applications/defaults.list\n\0006 24 25 29 44 46 1000\0", 85) = 85
munmap(0x2aaab41c3000, 266240)          = 0
stat("/home/jere/.local/share/applications/mimeinfo.cache", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
open("/home/jere/.local/share/applications/mimeinfo.cache", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
read(22, "[MIME Cache]\napplication/docbook+xml=Mozilla-usercustom.desktop;epiphany-usercustom.desktop;yelp-use"..., 4096) = 118
read(22, "", 4096)                      = 0
close(22)                               = 0
stat("/home/jere/.local/share/applications/defaults.list", 0x7fffffb08000) = -1 ENOENT (No such file or directory)
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0007A2 /home/jere/.local/share/applications/defaults.list\n\0\0\0\0007P2 /home/jere/.local/share/applicatio"..., 3000) = 118
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0O", 4)                 = 4
write(23, "W3 1000 20 /usr/share/gnome/applications/mimeinfo.cache\n\0006 24 25 29 44 46 1000\0", 79) = 79
munmap(0x2aaab41c3000, 266240)          = 0
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0001A3 /usr/share/gnome/applications/mimeinfo.cache\n\0\0\0\0001P3 /usr/share/gnome/applications/mimeinfo.c"..., 3000) = 106
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0N", 4)                 = 4
write(23, "W4 1000 20 /usr/share/gnome/applications/defaults.list\n\0006 24 25 29 44 46 1000\0", 78) = 78
munmap(0x2aaab41c3000, 266240)          = 0
stat("/usr/share/gnome/applications/mimeinfo.cache", 0x7fffffb08000) = -1 ENOENT (No such file or directory) stat("/usr/share/gnome/applications/defaults.list", {st_mode=S_IFREG|0644, st_size=5645, ...}) = 0
open("/usr/share/gnome/applications/defaults.list", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=5645, ...}) = 0
read(22, "[Default Applications]\napplication/msword=abiword.desktop\napplication/rtf=abiword.desktop\napplicatio"..., 4096) = 4096 read(22, "vision.writer=ooo-writer.desktop\napplication/ogg=totem.desktop\napplication/vnd.rn-realmedia=totem.de"..., 4096) = 1549
read(22, "", 4096)                      = 0
close(22)                               = 0
brk(0x9a2000)                           = 0x9a2000
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0000e4 /usr/share/gnome/applications/defaults.list\n\0\0\0\0000P4 /usr/share/gnome/applications/defaults.li"..., 3000) = 104
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0O", 4)                 = 4
write(23, "W5 1000 20 /usr/local/share/applications/mimeinfo.cache\n\0006 24 25 29 44 46 1000\0", 79) = 79
munmap(0x2aaab41c3000, 266240)          = 0
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0001A5 /usr/local/share/applications/mimeinfo.cache\n\0\0\0\0001P5 /usr/local/share/applications/mimeinfo.c"..., 3000) = 106
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0N", 4)                 = 4
write(23, "W6 1000 20 /usr/local/share/applications/defaults.list\n\0006 24 25 29 44 46 1000\0", 78) = 78
munmap(0x2aaab41c3000, 266240)          = 0
stat("/usr/local/share/applications/mimeinfo.cache", 0x7fffffb08000) = -1 ENOENT (No such file or directory) stat("/usr/local/share/applications/defaults.list", 0x7fffffb08000) = -1 ENOENT (No such file or directory)
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0000A6 /usr/local/share/applications/defaults.list\n\0\0\0\0000P6 /usr/local/share/applications/defaults.li"..., 3000) = 104
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0I", 4)                 = 4
write(23, "W7 1000 20 /usr/share/applications/mimeinfo.cache\n\0006 24 25 29 44 46 1000\0", 73) = 73
munmap(0x2aaab41c3000, 266240)          = 0
select(24, [23], NULL, NULL, {0, 0})    = 1 (in [23], left {0, 0})
read(23, "\0\0\0+e7 /usr/share/applications/mimeinfo.cache\n\0\0\0\0+P7 /usr/share/applications/mimeinfo.cache\n\0", 3000) = 94
select(24, [23], NULL, NULL, {0, 0})    = 0 (Timeout)
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 22
read(22, "65536\n", 31)                 = 6
close(22)                               = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab41c3000
getgroups(65536, [20, 24, 25, 29, 44, 46, 1000]) = 7
geteuid()                               = 1000
write(23, "\0\0\0H", 4)                 = 4
write(23, "W8 1000 20 /usr/share/applications/defaults.list\n\0006 24 25 29 44 46 1000\0", 72) = 72
munmap(0x2aaab41c3000, 266240)          = 0
stat("/usr/share/applications/mimeinfo.cache", {st_mode=S_IFREG|0644, st_size=8232, ...}) = 0
open("/usr/share/applications/mimeinfo.cache", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=8232, ...}) = 0
read(22, "[MIME Cache]\nimage/jpeg=gimp-2.2.desktop;eog.desktop;kde-kview.desktop;kde-kuickshow.desktop;kde-kic"..., 4096) = 4096 read(22, "ole=kde-konsolesu.desktop\napplication/x-zoo=file-roller.desktop;kde-ark.desktop;\ntext/javascript=blu"..., 4096) = 4096
read(22, "ge/x-gray=gimp-2.2.desktop;eog.desktop;\n", 4096) = 40
read(22, "", 4096)                      = 0
close(22)                               = 0
stat("/usr/share/applications/defaults.list", 0x7fffffb08000) = -1 ENOENT (No such file or directory) open("/home/jere/.local/share/applications/Mozilla-usercustom.desktop", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=642, ...}) = 0
read(22, "[Desktop Entry]\nEncoding=UTF-8\nName=Mozilla Web Browser\nName[ru]=\320\222\320\265\320\261-\320\261\321\200\320\260\321\203\320\267\320\265\321\200 Mozilla\nName["..., 4096) = 642
read(22, "", 4096)                      = 0
close(22)                               = 0
open("/home/jere/.local/share/applications/epiphany-usercustom.desktop", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=7678, ...}) = 0
read(22, "[Desktop Entry]\nEncoding=UTF-8\nName=Epiphany Web Browser\nName[am]=\341\214\245\341\210\235\341\211\200\341\211\265 \341\213\250\341\213\214\341\211\245 \341\210\230\341\211\203\341\212\233"..., 4096) = 4096 read(22, "\215\340\244\250\340\245\201\340\244\271\340\245\213\340\244\270\nGenericName[nl]=Webbrowser\nGenericName[nn]=Nettlesar\nGenericName[no]=Nettleser\nGene"..., 4096) = 3582
read(22, "", 4096)                      = 0
close(22)                               = 0
open("/home/jere/.local/share/applications/yelp-usercreated.desktop", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
read(22, "[Desktop Entry]\nEncoding=UTF-8\nName=yelp\nMimeType=application/docbook+xml;\nExec=yelp\nType=Applicatio"..., 4096) = 132
read(22, "", 4096)                      = 0
close(22)                               = 0
open("/home/jere/.local/share/applications/Mozilla-usercustom.desktop", O_RDONLY) = 22
fstat(22, {st_mode=S_IFREG|0644, st_size=642, ...}) = 0
read(22, "[Desktop Entry]\nEncoding=UTF-8\nName=Mozilla Web Browser\nName[ru]=\320\222\320\265\320\261-\320\261\321\200\320\260\321\203\320\267\320\265\321\200 Mozilla\nName["..., 4096) = 642
read(22, "", 4096)                      = 0
close(22)                               = 0
pipe([22, 24])                          = 0
pipe([25, 26])                          = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2aaab04b2b40) = 5344
close(24)                               = 0
close(26)                               = 0
wait4(5344, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5344
read(22, "", 8)                         = 0
read(25, "\341\24\0\0", 4)              = 4
read(25, "", 0)                         = 0
close(22)                               = 0
close(25)                               = 0





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]