Bug 768781

Summary: [abrt] picard-0.16-1.fc16: script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 87, line 1
Product: [Fedora] Fedora Reporter: pavol.ondercin
Component: picardAssignee: Alex Lancaster <alex>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: alex, lionelfelicite, paulo.ferreira25
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ac0f975fd792cf2e45cb5c14c1201a8f8984a5ac
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 19:28:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description pavol.ondercin 2011-12-18 20:33:25 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/picard
executable:     /usr/bin/picard
kernel:         3.1.5-2.fc16.x86_64
reason:         script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 87, line 1
time:           Ne 18. prosinec 2011, 19:42:40 CET
uid:            1000
username:       pavol

backtrace:
:script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 87, line 1
:
: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 99, in update_examples
:    example2 = self._example_to_filename(self.example_2())
:  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 229, in _make_filename
:    new_filename = self._script_to_filename(format, metadata, settings)
:  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 202, 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 151, in parse_function
:    return ScriptFunction(name, self.parse_arguments())
:  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 138, in parse_arguments
:    result, ch = self.parse_expression(False)
:  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 201, in parse_expression
:    self.__raise_eof()
:  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 105, in __raise_eof
:    raise EndOfFile("Unexpected end of script at position %d, line %d" % (self._x, self._y))
:EndOfFile: Unexpected end of script at position 87, line 1
:
:Local variables in innermost frame:
:self: <picard.script.ScriptParser object at 0x2ab4210>

Comment 1 Alex Lancaster 2012-05-08 18:49:50 UTC
Can you describe exactly the set of steps you used to reproduce this?  If it's
a problem with a particular file, can you post a link to the file (or an
extract)?

Comment 2 Alex Lancaster 2012-05-08 18:54:04 UTC
*** Bug 819515 has been marked as a duplicate of this bug. ***

Comment 3 Alex Lancaster 2012-05-08 18:54:45 UTC
*** Bug 815876 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2012-06-04 19:23:48 UTC
picard-1.0-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/picard-1.0-1.fc17

Comment 5 Fedora Update System 2012-06-04 19:52:54 UTC
picard-1.0-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/picard-1.0-1.fc16

Comment 6 Fedora Update System 2012-06-07 02:38:02 UTC
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).

Comment 7 Fedora Update System 2012-06-20 19:28:45 UTC
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.

Comment 8 Fedora Update System 2012-06-20 19:30:18 UTC
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.