pyrenamer crashes when trying to start

Bug #397108 reported by Götz Christ
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyrenamer (Debian)
Fix Released
Unknown
pyrenamer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pyrenamer

When I try to run pyrenamer 0.6.0-1 it crashes with this traceback:

WARNING: python-hachoir-metadata not found.
Traceback (most recent call last):
  File "/usr/bin/pyrenamer", line 89, in <module>
    main()
  File "/usr/bin/pyrenamer", line 84, in main
    py = pyrenamer.pyRenamer(rootdir, startdir)
  File "/var/lib/python-support/python2.6/pyrenamer/pyrenamer.py", line 223, in __init__
    "on_add_recursive_toggled": self.prefs.on_add_recursive_toggled,
AttributeError: pyRenamer instance has no attribute 'prefs'

After installing the package python-hachoir-metadata, pyrenamer crashes with:

Traceback (most recent call last):
  File "/usr/bin/pyrenamer", line 89, in <module>
    main()
  File "/usr/bin/pyrenamer", line 84, in main
    py = pyrenamer.pyRenamer(rootdir, startdir)
  File "/var/lib/python-support/python2.6/pyrenamer/pyrenamer.py", line 223, in __init__
    "on_add_recursive_toggled": self.prefs.on_add_recursive_toggled,
AttributeError: pyRenamer instance has no attribute 'prefs'

This crash doesn't happen in version 0.5.0

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: pyrenamer 0.6.0-1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pyrenamer
Uname: Linux 2.6.30-10-generic x86_64

Revision history for this message
Götz Christ (g-christ) wrote :
Revision history for this message
Götz Christ (g-christ) wrote :

This bug can be solved installing the package python-gconf.

This dependency should be added to the package to avoid such crashed.

Revision history for this message
Götz Christ (g-christ) wrote :

In the control file, there is the python-gconf dependency, but in the deb package it is not.

Control file:
Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.4), python-glade2, python-hachoir-metadata | python-eyed3, python-gconf

pyrenamer_0.6.0-1_all.deb:
Depends: gconf2 (>= 2.10.1-2), python (>= 2.4), python-support (>= 0.7.1), python-gtk2 (>=
         2.4), python-glade2, python-hachoir-metadata | python-eyed3

Why is it not there?

Götz Christ (g-christ)
Changed in pyrenamer (Ubuntu):
status: New → Fix Released
Changed in pyrenamer (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.