[Debian-l10n-devel] Bug#916287: po2oo unusable

Mechtilde Stehmann mechtilde at debian.org
Wed Dec 12 17:33:21 GMT 2018


Package: translate-toolkit
Version: 2.3.1-2
Severity: grave

I try to convert *.po files from Pootle to *.sdf files

It fails with error message:

Traceback (most recent call last):
  File "/usr/bin/po2oo", line 11, in <module>
    load_entry_point('translate-toolkit==2.3.1', 'console_scripts',
'po2oo')()
  File "/usr/lib/python3/dist-packages/translate/convert/po2oo.py", line
264, in main
    parser.run(argv)
  File "/usr/lib/python3/dist-packages/translate/convert/convert.py",
line 181, in run
    self.recursiveprocess(options)
  File "/usr/lib/python3/dist-packages/translate/convert/convert.py",
line 422, in recursiveprocess
    self.templatearchive = self.openarchive(options.template, 'template')
  File "/usr/lib/python3/dist-packages/translate/convert/convert.py",
line 312, in openarchive
    return archiveclass(archivefilename, **archiveoptions)
  File "/usr/lib/python3/dist-packages/translate/storage/oo.py", line
360, in __init__
    self.createsubfileindex()
  File "/usr/lib/python3/dist-packages/translate/storage/oo.py", line
366, in createsubfileindex
    subfile = self.getsubfilename(line)
  File "/usr/lib/python3/dist-packages/translate/storage/oo.py", line
375, in getsubfilename
    raise ValueError("invalid tab-delimited line: %r" % line)
ValueError: invalid tab-delimited line: '#\n'


This still worked at 2018-12-07 in Testing


I use daily updated testing system

I will try to downgrade to version 2.3.1-1 now

Kind regards


-- 
Mechtilde Stehmann
## Debian Developer
## Loook, tbsync, libreoffice-canzeley-client
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-l10n-devel/attachments/20181212/747a729c/attachment.sig>


More information about the Debian-l10n-devel mailing list