Bug 694348

Summary: [abrt] picard-0.12.1-2.fc14: script.py:150:parse_function:UnknownFunction: Unknown function 'nu'
Product: [Fedora] Fedora Reporter: Robert Hancock <hancockrwd>
Component: picardAssignee: Alex Lancaster <alex>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: alex
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:727f995d
Fixed In Version: picard-0.15.1-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-11 21:50:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Robert Hancock 2011-04-07 03:54:50 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/picard
component: picard
executable: /usr/bin/picard
kernel: 2.6.35.12-88.fc14.x86_64
package: picard-0.12.1-2.fc14
reason: script.py:150:parse_function:UnknownFunction: Unknown function 'nu'
release: Fedora release 14 (Laughlin)
time: 1302148334
uid: 500

backtrace
-----
script.py:150:parse_function:UnknownFunction: Unknown function 'nu'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/picard/ui/options/renaming.py", line 71, in check_formats
    self.update_examples()
  File "/usr/lib64/python2.7/site-packages/picard/ui/options/renaming.py", line 97, in update_examples
    example1 = self._example_to_filename(self.example_1())
  File "/usr/lib64/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/lib64/python2.7/site-packages/picard/file.py", line 228, in _make_filename
    new_filename = self._script_to_filename(format, metadata, settings)
  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 200, in _script_to_filename
    filename = ScriptParser().eval(format, metadata, self)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 236, in eval
    ScriptParser._cache[key] = self.parse(script, True)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 227, in parse
    return self.parse_expression(True)[0]
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 205, in parse_expression
    tokens.append(self.parse_function())
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 150, in parse_function
    raise UnknownFunction("Unknown function '%s'" % name)
UnknownFunction: Unknown function 'nu'

Local variables in innermost frame:
start: 38
self: <picard.script.ScriptParser object at 0x7f27a0150110>
ch: u'('
name: u'nu'

How to reproduce
-----
1. Unsure, happened during use
2.
3.

Comment 1 Robert Hancock 2011-04-07 03:54:52 UTC
Created attachment 490471 [details]
File: backtrace

Comment 2 Fedora Update System 2011-08-21 07:45:46 UTC
picard-0.15.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/picard-0.15.1-1.fc14

Comment 3 Fedora Update System 2011-08-23 04:33:33 UTC
Package picard-0.15.1-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing picard-0.15.1-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/picard-0.15.1-1.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-09-11 21:49:36 UTC
picard-0.15.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.