Bug 623517 - [abrt] crash in picard-0.12.1-1.fc12: script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 66, line 1
Summary: [abrt] crash in picard-0.12.1-1.fc12: script.py:105:__raise_eof:EndOfFile: Un...
Alias: None
Product: Fedora
Classification: Fedora
Component: picard
Version: 12
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Alex Lancaster
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:d5b76fde
: 623521 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-12 02:20 UTC by jason.prokopowich
Modified: 2010-12-03 12:51 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2010-12-03 12:51:31 UTC

Attachments (Terms of Use)
File: backtrace (1.98 KB, text/plain)
2010-08-12 02:20 UTC, jason.prokopowich
no flags Details

Description jason.prokopowich 2010-08-12 02:20:35 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/picard
component: picard
executable: /usr/bin/picard
package: picard-0.12.1-1.fc12
reason: script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 66, line 1
release: Fedora release 12 (Constantine)

script.py:105:__raise_eof:EndOfFile: Unexpected end of script at position 66, line 1

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/picard/ui/options/renaming.py", line 71, in check_formats
  File "/usr/lib64/python2.6/site-packages/picard/ui/options/renaming.py", line 97, in update_examples
    example1 = self._example_to_filename(self.example_1())
  File "/usr/lib64/python2.6/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.6/site-packages/picard/file.py", line 228, in _make_filename
    new_filename = self._script_to_filename(format, metadata, settings)
  File "/usr/lib64/python2.6/site-packages/picard/file.py", line 200, in _script_to_filename
    filename = ScriptParser().eval(format, metadata, self)
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 236, in eval
    ScriptParser._cache[key] = self.parse(script, True)
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 227, in parse
    return self.parse_expression(True)[0]
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 205, in parse_expression
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 151, in parse_function
    return ScriptFunction(name, self.parse_arguments())
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 138, in parse_arguments
    result, ch = self.parse_expression(False)
  File "/usr/lib64/python2.6/site-packages/picard/script.py", line 201, in parse_expression
  File "/usr/lib64/python2.6/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 66, line 1

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

How to reproduce
1.changing directory/file naming options

Comment 1 jason.prokopowich 2010-08-12 02:20:37 UTC
Created attachment 438325 [details]
File: backtrace

Comment 2 Alex Lancaster 2010-08-25 06:54:32 UTC
Can you generate a reproducible test-case, in particular, it would be useful to know the filename etc.  Ideally add a file (or a fragment of a file) that could allow me to reproduce. It's difficult to debug without being able to reliably reproduce. 

It would also probably be useful to file this upstream:


and post a link back to this bug here.

Comment 3 Alex Lancaster 2010-08-25 06:55:52 UTC
*** Bug 623521 has been marked as a duplicate of this bug. ***

Comment 4 Bug Zapper 2010-11-03 11:02:14 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  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 '12'.

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 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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.

The process we are following is described here: 

Comment 5 Bug Zapper 2010-12-03 12:51:31 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 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.

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

Note You need to log in before you can comment on or make changes to this bug.