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 510128 - xml2po fails to generate gnect manual POT file
xml2po fails to generate gnect manual POT file
Status: RESOLVED DUPLICATE of bug 437371
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-01-17 09:15 UTC by Gil Forcada
Modified: 2008-01-17 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gil Forcada 2008-01-17 09:15:02 UTC
Please describe the problem:
doing a full update (i.e. removing ALL source code and emptying the database) everything seems fine, but gnome-games fails to show the stats (i.e. $webdir/module/gnome-games) but it shows partial stats in release views (i.e. $webdir/languages/ca/gnome-games)

here goes the output from xml2po:

xurrasco C # xml2po -o /home/damned-lies/svn/gnome-games.HEAD/gnect/help/C/gnect.HEAD.pot -e  gnect.xml
Traceback (most recent call last):
  • File "/usr/bin/xml2po", line 856 in ?
    doSerialize(doc)
  • File "/usr/bin/xml2po", line 589 in doSerialize
    outtxt += doSerialize(child)
  • File "/usr/bin/xml2po", line 583 in doSerialize
    (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
  • File "/usr/bin/xml2po", line 525 in processElementTag
    translation = translation.replace('<placeholder-%d/>' % (i), replacement)
ValueError: invalid literal for int(): grep: /home/damned-lies/POT/gnome-games.HEAD/docs/gnect.HEAD.pot: No such file or directory 0
      args = ('invalid literal for int(): grep: /home/damned-li.../docs/gnect.HEAD.pot: No such file or directory\n0',)

Expected results:


Does this happen every time?
Yes

Other information:
if you point your browser to:
http://badall.net:81/damned-lies/module/gnome-games you will see the complete stack trace
Comment 1 Gil Forcada 2008-01-17 09:24:09 UTC
that box (badall.net:81) is a gentoo one and xml2po -v says: 0.12.0
in my laptop (with ubuntu) the same xml2po command fails the same way and has the same version of xml2po

hope it helps
Comment 2 Claude Paroz 2008-01-17 13:01:54 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 437371 ***