hgview #209472 description.css [validation pending]

hgview 1.8.0 added description.css, introduced in c0da7ddcfdea http://www.logilab.org/141803 .

By default (when updating the Fedora package it installs) /usr/share/hgview/description.css . That might be correct but seems odd.

Strace shows hgview never looks in /usr/share/hgview on runtime. So either it is installed in the wrong place or the functionality is broken.

It do however look for
stat("qrc:/resources/description.css", 0x7fff27bfd920) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/site-packages/docutils/writers/html4css1/qrc:/resources/description.css", 0x7fff27bfd920) = -1 ENOENT (No such file or directory)

It also doesn't read the file when running from source, so it is not simple to experiment to find the right location.

hgview seems to work ok anyway, so the problem might just be that it is installing the file. I guess it only is used at build time to generate some resources?

done in1.8.1
load left0.000
closed by#b8aaf6d1bbaa [qt] install description.css as a example file