Re: Installing Nanny help fails (was:Re: Changes in Nanny project)



On Fri, 2010-02-05 at 18:33 +0100, Mario Blättermann wrote:
> Am Freitag, den 05.02.2010, 17:34 +0100 schrieb Roberto Majadas: 
> > All translations are really welcome, and if you've comments about 
> > translations like "add comments for translators" or "use plural forms" 
> > ... are welcome too. We want to help you in your work if we can :)
> > 
> I want to install Nanny from the current Git content because I want to
> translate the manual, but while running "make" I've got the following
> error message:
> 
> --------------------------------------------------------------------
> 
> Making all in help
> make[2]: Entering directory `/home/mario/Arbeitsfläche/nanny/help'
> xsltproc -o nanny-C.omf --stringparam db2omf.basename nanny
> --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd
> "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C
> --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam
> db2omf.help_dir "/usr/local/share/gnome/help" --stringparam
> db2omf.omf_in "/home/mario/Arbeitsfläche/nanny/help/nanny.omf.in"
> --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config
> --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/bin/pkg-config
> --variable db2omf gnome-doc-utils` C/nanny.xml || { rm -f "nanny-C.omf";
> exit 1; }
> db2omf: Could not construct the OMF subject element.
>   Add a subject element
> to /home/mario/Arbeitsfläche/nanny/help/nanny.omf.in.
> make[2]: *** [nanny-C.omf] Fehler 1
> make[2]: Leaving directory `/home/mario/Arbeitsfläche/nanny/help'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/mario/Arbeitsfläche/nanny'
> make: *** [all] Fehler 2
> 
> --------------------------------------------------------------------
> 
> 
> There is a problem with the subject element in nanny.omf.in. The message
> could mean, the entry
> 
> <subject category="GNOME|System"/>
> 
> doesn't exist for Scrollkeeper. A look in [1] shows the available
> categories. But Scrollkeeper doesn't accept it... Anyway I would
> recommend to use a more general, GNOME-independent category such as
> "Applications|Education|Other". But with this setting, "make" still
> fails in /help. I don't know what the problem is.

It looks like it completely fails with non-ASCII paths, in this
case the "Arbeitsfläche" bit.  The path is being passed to the
XSLT as if it were a URL, but it isn't really.  We should plug
a urlencoder in there.  It's what I do in my Mallard scripts.

Sorry for the crap. :/

-- 
Shaun McCance
http://syllogist.net/



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