Bug 923188

Summary: [abrt] picard-1.1-1.fc18: script.py:120:__raise_eof:EndOfFile: Unexpected end of script at position 166, line 1
Product: [Fedora] Fedora Reporter: fpasqua <fpasqualetti>
Component: picardAssignee: Alex Lancaster <alex>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: alex
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4622fc3325447644b2608fb56326e221981d9ad2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 20:06:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description fpasqua 2013-03-19 11:52:00 UTC
Version-Release number of selected component:
picard-1.1-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/picard
executable:     /usr/bin/picard
kernel:         3.8.3-201.fc18.x86_64
uid:            1000

Truncated backtrace:
script.py:120:__raise_eof:EndOfFile: Unexpected end of script at position 166, line 1

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/picard/ui/options/renaming.py", line 90, in check_formats
    self.update_examples()
  File "/usr/lib64/python2.7/site-packages/picard/ui/options/renaming.py", line 118, in update_examples
    example1 = self._example_to_filename(self.example_1())
  File "/usr/lib64/python2.7/site-packages/picard/ui/options/renaming.py", line 107, in _example_to_filename
    filename = file._make_filename(file.filename, file.metadata, settings)
  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 280, in _make_filename
    new_filename = self._script_to_filename(format, metadata, settings)
  File "/usr/lib64/python2.7/site-packages/picard/file.py", line 254, in _script_to_filename
    filename = ScriptParser().eval(format, metadata, self)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 251, in eval
    ScriptParser._cache[key] = self.parse(script, True)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 242, in parse
    return self.parse_expression(True)[0]
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 220, in parse_expression
    tokens.append(self.parse_function())
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 166, in parse_function
    return ScriptFunction(name, self.parse_arguments(), self)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 153, in parse_arguments
    result, ch = self.parse_expression(False)
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 216, in parse_expression
    self.__raise_eof()
  File "/usr/lib64/python2.7/site-packages/picard/script.py", line 120, 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 166, line 1

Local variables in innermost frame:
self: <picard.script.ScriptParser object at 0x1be99d0>

Comment 1 fpasqua 2013-03-19 11:52:03 UTC
Created attachment 712603 [details]
File: backtrace

Comment 2 fpasqua 2013-03-19 11:52:06 UTC
Created attachment 712604 [details]
File: core_backtrace

Comment 3 fpasqua 2013-03-19 11:52:08 UTC
Created attachment 712605 [details]
File: environ

Comment 4 fpasqua 2013-03-19 11:52:10 UTC
Created attachment 712606 [details]
File: smolt_data

Comment 5 Fedora End Of Life 2013-12-21 12:17:12 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2014-02-05 20:06:39 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.