After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650037 - Install itstool on progress
Install itstool on progress
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Packages
unspecified
Other Linux
: Normal major
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
: 645416 650600 (view as bug list)
Depends on:
Blocks: 650600
 
 
Reported: 2011-05-12 12:27 UTC by Claude Paroz
Modified: 2012-03-05 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Claude Paroz 2011-05-12 12:27:20 UTC
Due to the new proposed toolchain for GNOME documentation in 3.2 [1], we need some new tools installed on progress (l10n.gnome.org).

At least itstool (http://itstool.org/) is required. I don't know yet if yelp-* packages are required for what we need on l10n.gnome.org.

[1] http://mail.gnome.org/archives/gnome-doc-list/2011-May/msg00018.html
Comment 1 Shaun McCance 2011-05-12 18:05:32 UTC
I built an RPM against Fedora 14. The spec file and SRPM are on bugzilla.redhat.com:

https://bugzilla.redhat.com/show_bug.cgi?id=702989

I'll see if I can figure out how to create a deb package.
Comment 2 Shaun McCance 2011-05-18 21:32:16 UTC
*** Bug 645416 has been marked as a duplicate of this bug. ***
Comment 3 Claude Paroz 2011-05-19 15:53:52 UTC
*** Bug 650600 has been marked as a duplicate of this bug. ***
Comment 4 Olav Vitters 2012-03-01 09:19:58 UTC
hmm, andrea, could you handle this one?
Comment 5 Andrea Veri 2012-03-01 11:01:12 UTC
av@progress:~$ sudo dpkg -i itstool_1.1.2-1ubuntu0_all.deb 
Selecting previously deselected package itstool.
(Reading database ... 100868 files and directories currently installed.)
Unpacking itstool (from itstool_1.1.2-1ubuntu0_all.deb) ...
Setting up itstool (1.1.2-1ubuntu0) ...
Processing triggers for man-db ...

Done.
Comment 6 Claude Paroz 2012-03-03 09:10:01 UTC
Thanks a lot, Andrea!
Comment 7 Daniel Mustieles 2012-03-05 12:33:16 UTC
It seems that gnome-help's POT file is not benn generated properly:

Error regenerating POT file for document gnome-help:

cd "<scratchdir>/git/gnome-user-docs/gnome-help" && itstool -o [...]

Traceback (most recent call last):
  • File "/usr/bin/itstool", line 949 in doc
  • File "/usr/bin/itstool", line 298 in __init__
    ctxt = libxml2.createFileParserCtxt(filename)
  • File "/usr/lib/pymodules/python2.6/libxml2.py", line 1394 in createFileParserCtxt
    if ret is None:raise parserError('xmlCreateFileParserCtxt() failed')
libxml2.parserError: xmlCreateFileParserCtxt() failed

(error taken from http://l10n.gnome.org/module/gnome-user-docs/)

I've installed itstool 1.1.2 under Ubuntu Lucid 10.04 up-to-date and I've been able to generate POT file.

Should I reopen this bug or open a new one?

Thanks
Comment 8 Claude Paroz 2012-03-05 12:57:18 UTC
No, that's another bug. The following commit is missing the documents-list.page file:
http://git.gnome.org/browse/gnome-user-docs/commit/?id=474d1c7
Comment 9 Daniel Mustieles 2012-03-05 13:05:31 UTC
Many thanks Claude. I'll open a new bug to report it.