Restore Crashes with AttributeError: 'tuple' object has no attribute 'lower'

Bug #1045323 reported by Sascha
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Griffith
Fix Committed
High
Michael
griffith (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I created a Backup with Griffith 0.13 an an Ubuntu 10 System and tried to Restore this Backup on an Ubuntu 12 System also running Griffith 0.13.

However, the restore crashes with:

2012-09-03T15:06:30: E: Griffith(backup:291):
Traceback (most recent call last):
  File "/usr/share/griffith/lib/backup.py", line 215, in restore
    if filename.lower().endswith('.zip'):
AttributeError: 'tuple' object has no attribute 'lower'
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1014, in restore
    restore(self)
  File "/usr/share/griffith/lib/backup.py", line 215, in restore
    if filename.lower().endswith('.zip'):
AttributeError: 'tuple' object has no attribute 'lower'

The Filename is backup.zip

Linux 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux

Python is Version 2.7.3

The Collection contains 912 Movies. Filesize of the ZIP-File is 96 MB

Revision history for this message
Michael (mikej06) wrote :

Fix committed with rev. 1610.
Please update the file backup.py with the newest one from the source code repository.
http://svn.berlios.de/svnroot/repos/griffith/trunk/lib/backup.py

Changed in griffith:
assignee: nobody → Michael (mikej06)
importance: Undecided → High
milestone: none → 0.13.1
status: New → Fix Committed
Revision history for this message
Sascha (sascha-kaempf) wrote :

Works now. Thanks!!!

Changed in griffith:
status: Fix Committed → Confirmed
Michael (mikej06)
Changed in griffith:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in griffith (Ubuntu):
status: New → Confirmed
Revision history for this message
Logan Rosen (logan) wrote :

This was fixed in griffith 0.13-2, which is now available in Raring.

Changed in griffith (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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