Hide Forgot
abrt version: 1.1.18 architecture: i686 cmdline: /usr/bin/python /usr/bin/picard component: picard executable: /usr/bin/picard kernel: 2.6.35.14-96.fc14.i686.PAE package: picard-0.15.1-1.fc14 reason: script.py:310:func_num:ValueError: invalid literal for int() with base 10: '.2' release: Fedora release 14 (Laughlin) How to reproduce: Trying to change how files are named from tags ("file naming"), under options. I was typing in different values and got this crash report (though the prog is still running). time: 1318281551 uid: 500 backtrace ----- script.py:310:func_num:ValueError: invalid literal for int() with base 10: '.2' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/picard/ui/options/renaming.py", line 71, in check_formats self.update_examples() File "/usr/lib/python2.7/site-packages/picard/ui/options/renaming.py", line 98, in update_examples example1 = self._example_to_filename(self.example_1()) File "/usr/lib/python2.7/site-packages/picard/ui/options/renaming.py", line 89, in _example_to_filename filename = file._make_filename(file.filename, file.metadata, settings) File "/usr/lib/python2.7/site-packages/picard/file.py", line 234, in _make_filename new_filename = self._script_to_filename(format, metadata, settings) File "/usr/lib/python2.7/site-packages/picard/file.py", line 207, in _script_to_filename filename = ScriptParser().eval(format, metadata, self) File "/usr/lib/python2.7/site-packages/picard/script.py", line 237, in eval return ScriptParser._cache[key].eval(self) File "/usr/lib/python2.7/site-packages/picard/script.py", line 80, in eval result.append(item.eval(state)) File "/usr/lib/python2.7/site-packages/picard/script.py", line 70, in eval return function(parser, *args) File "/usr/lib/python2.7/site-packages/picard/script.py", line 310, in func_num format = "%%0%dd" % int(length) ValueError: invalid literal for int() with base 10: '.2' Local variables in innermost frame: text: '7' length: u'.2' parser: <picard.script.ScriptParser object at 0x8831cac>
Created attachment 527330 [details] File: backtrace
If it's a problem with a particular file, can you post a link to the file (or an extract)?
picard-1.0-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/picard-1.0-1.fc17
picard-1.0-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/picard-1.0-1.fc16
Package picard-1.0-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing picard-1.0-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8916/picard-1.0-1.fc17 then log in and leave karma (feedback).
picard-1.0-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
picard-1.0-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.