[Edgy]hubackup will not start

Bug #64566 reported by Michael
This bug report is a duplicate of:  Bug #43941: KeyError: 'storage.cdrom.cdr'. Edit Remove
2
Affects Status Importance Assigned to Milestone
hubackup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: hubackup

When clicking on the icon for hubackup a window with the title Backup appears for 1 second then disapears. Other than the title, it is a blank window. If I start hubackup from the terminal, I get the following errors:

michael@ws1:~$ hubackup
Traceback (most recent call last):
  File "/usr/bin/hubackup", line 36, in ?
    main_backup = MainBackup(path=glade_dir + "/hubackup.glade")
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hubackup.py", line 58, in __init__
    SimpleGladeApp.__init__(self, path, root, domain, **kwargs)
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/SimpleGladeApp.py", line 108, in __init__
    self.new()
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hubackup.py", line 71, in new
    self.updateDeviceLists()
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hubackup.py", line 94, in updateDeviceLists
    self.populateDeviceList("save_backup_to_combo_box", True, True, [_('Type'),_('Name'),_('Free'),_('Capacity')], 1, 1)
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hubackup.py", line 97, in populateDeviceList
    firstRoundDevList = HUBDeviceDict(rwOnly,rmvOnly)
  File "/usr/lib/python2.4/site-packages/HUBackup/backend/DeviceInfo.py", line 107, in __init__
    StorageDeviceDict.__init__(self)
  File "/usr/lib/python2.4/site-packages/HUBackup/backend/DeviceInfo.py", line 60, in __init__
    ReadWrite = 1 and Type == "disk" or Type == "floppy" or \
KeyError: 'storage.cdrom.cdr'

Revision history for this message
Michael (mike984) wrote :

Attached is my lshal output

Revision history for this message
Sivan Greenberg (sivan) wrote :

Could you please tell me about the following:
 1) Which hubackup package version you have installed (you should have 0.0.4)
 2) How many and what type of optical media devices you have attached to the system, do you have any ones as such that are connected through USB rather then integrated in the system?

Revision history for this message
Michael (mike984) wrote :

1) It is version 0.0.4
2) I have 1 external USB hard drive (Western Digital 120GB).
My monitor (Dell 2505fpw) has a 9-in-1 media card reader and so does my computer. I have no cards currently plugged into any of them.

I've attached my dmesg output and lspci -vv output as well.

Hope this helps.

Revision history for this message
Michael (mike984) wrote :

attaching lspci -vv output

Revision history for this message
Michael (mike984) wrote :

Also, the WD120 external drive is formatted NTFS. I do not write to it from Ubuntu.

Revision history for this message
Michael (mike984) wrote :

Thank you Sivan for the recent fix to hubackup. HUBackup is working fine. However, now that it's working, I was able to create a backup and I tried restoring it and I get the following error when trying to hurestore:

michael@ws1:~$ hurestore
Traceback (most recent call last):
  File "/usr/bin/hurestore", line 37, in ?
    main_restore = MainRestore(path=glade_dir + "/hurestore.glade")
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hurestore.py", line 50, in __init__
    MainBackup.__init__(self, path,root,domain, **kwargs)
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hubackup.py", line 58, in __init__
    SimpleGladeApp.__init__(self, path, root, domain, **kwargs)
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/SimpleGladeApp.py", line 108, in __init__
    self.new()
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hurestore.py", line 63, in new
    self.updateDeviceLists()
  File "/usr/lib/python2.4/site-packages/HUBackup/GUI/hurestore.py", line 70, in updateDeviceLists
    self.prob_progress.set_fraction(0.5)
AttributeError: MainRestore instance has no attribute 'prob_progress'
michael@ws1:~$

Revision history for this message
Sivan Greenberg (sivan) wrote :

sure, this is another bug - hurestore hasn't yet implemeted in the new gui workflow, closing this as fixed.

Changed in hubackup:
status: Unconfirmed → 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.