abrt 1.1.1 detected a crash. architecture: x86_64 cmdline: /usr/bin/python /usr/bin/oo2po full_DEV300_m84_2010-06-30_11-50-31.sdf component: translate-toolkit executable: /usr/bin/oo2po kernel: 2.6.33.6-147.2.4.fc13.x86_64 package: translate-toolkit-1.7.0-2.fc13 reason: oo2po.py:106:verifyoptions:ValueError: You must specify the target language unless generating POT files (-P) release: Fedora release 13 (Goddard) backtrace ----- oo2po.py:106:verifyoptions:ValueError: You must specify the target language unless generating POT files (-P) Traceback (most recent call last): File "/usr/bin/oo2po", line 27, in <module> oo2po.main() File "/usr/lib/python2.6/site-packages/translate/convert/oo2po.py", line 151, in main parser.run(argv) File "/usr/lib/python2.6/site-packages/translate/convert/convert.py", line 129, in run self.verifyoptions(options) File "/usr/lib/python2.6/site-packages/translate/convert/oo2po.py", line 106, in verifyoptions raise ValueError("You must specify the target language unless generating POT files (-P)") ValueError: You must specify the target language unless generating POT files (-P) Local variables in innermost frame: options: <Values at 0x17f85a8: {'outputoptions': {('sdf', None): ('po', <function convertoo at 0x179b398>), ('oo', None): ('po', <function convertoo at 0x179b398>)}, 'manpage': False, 'input': 'full_DEV300_m84_2010-06-30_11-50-31.sdf', 'errorlevel': 'message', 'sourcelanguage': None, 'duplicatestyle': 'msgctxt', 'pot': False, 'multifilestyle': 'single', 'output': None, 'inputformats': ['oo', 'sdf'], 'progress': 'bar', 'allowrecursiveinput': True, 'exclude': ['CVS', '.svn', '_darcs', '.git', '.hg', '.bzr'], 'targetlanguage': None}> How to reproduce ----- 1. run oo2po on SDF file 2. 3.
Created attachment 435717 [details] File: backtrace
Thanks for the report, I'll upstream this so that we don't create the traceback. But the error is valid you need to run oo2po as follows oo2po -P some.sdf pot Or oo2po --language=de some.sdf po/
Reported upstream http://bugs.locamotion.org/show_bug.cgi?id=1572
translate-toolkit-1.8.0-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/translate-toolkit-1.8.0-1.fc13
translate-toolkit-1.8.0-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update translate-toolkit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/translate-toolkit-1.8.0-1.fc13
translate-toolkit-1.8.0-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.