Fwd: [qubes-users] Error using Qubes Manager backup/restore after migrating to 3.0-RC1

30 views
Skip to first unread message

wy...@riseup.net

unread,
Jul 27, 2015, 2:47:52 PM7/27/15
to qubes...@googlegroups.com
Hi - I sent this to the qubes-users list, but I think it is more
appropriate for qubes-devel.



-------- Original Message --------
Subject: [qubes-users] Error using Qubes Manager backup/restore after
migrating to 3.0-RC1
Date: 2015-07-26 18:06
From: wy...@riseup.net
To: qubes...@googlegroups.com

Hi all,

I encountered an error while trying to restore my appvms after migrating
to 3.0-RC1. After selecting my backup file and entering my
decryption/verification password, I get an error from Qubes Manager :

Whoops. A critical error has occured. This is most likely a bug in Qubes
Manager.

AttributeError: 'NoneType' object has no attribute 'endswith'
at line 220
of file /usr/lib64/python2.7/site-packages/qubesmanager/restore.py.


In the "Show Details" I have:

----
line: elif path == or path.endswith(/):
func: join
line no.: 77
file: /usr/lib64/python2.7/posixpath.py
----
line: return os.path.join(self.dir_path, (arg if arg is not None else
default))
func: absolute_path
line no.: 373
file: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py
----
line: ".conf"),
func: <lambda>
line no.: 110
file: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py
----
line: setattr(self, attr, attr_config[func](value))
func: __init__
line no.: 287
file: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py
----
line: super(QubesDisposableVm, self).__init__(**kwargs)
func: __init__
line no.: 100
file:
/usr/lib64/python2.7/site-packages/qubes/modules/01QubesDisposableVm.py
----
line: vm = vm_class(xml_element=element, collection=self)
func: load
line no.: 813
file: /usr/lib64/python2.7/site-packages/qubes/qubes.py
----
line: backup_collection.load()
func: backup_restore_prepare
line no.: 1784
file: /usr/lib64/python2.7/site-packages/qubes/backup.py
----
line: appvm=self.target_appvm)
func: __fill_vms_list__
line no.: 140
file: /usr/lib64/python2.7/site-packages/qubesmanager/restore.py
----
line: self.__fill_vms_list__()
func: current_page_changed
line no.: 220
file: /usr/lib64/python2.7/site-packages/qubesmanager/restore.py

wy...@riseup.net

unread,
Aug 1, 2015, 1:40:54 AM8/1/15
to qubes...@googlegroups.com
On 2015-07-27 18:47, wy...@riseup.net wrote:

>
> Hi all,
>
> I encountered an error while trying to restore my appvms after
> migrating to 3.0-RC1. After selecting my backup file and entering my
> decryption/verification password, I get an error from Qubes Manager :
>
> Whoops. A critical error has occured. This is most likely a bug in
> Qubes Manager.
>
> AttributeError: 'NoneType' object has no attribute 'endswith'
> at line 220
> of file /usr/lib64/python2.7/site-packages/qubesmanager/restore.py.
>
>


I started following the manual rescue procedure described here:
https://www.qubes-os.org/doc/BackupEmergencyRestoreV3/

I verified the integrity of the backup-header. Then I noticed that the
time names of the archive seem a bit off. Some read like this:

vm38/private.img.000
vm38/private.img.000.hmac
vm38/icon.png.000
vm38/icon.png.000.hmac
vm38/apps.templates.000
vm38/apps.templates.000.hmac
vm38/root.img.000
vm38/root.img.000.hmac
vm38/root.img.001
vm38/root.img.001.hmac


But others read like this:

vm25/..000
vm25/..000.hmac
vm25/..001
vm25/..001.hmac
vm25/..002
vm25/..002.hmac
vm25/..003
vm25/..003.hmac
vm25/..004
vm25/..004.hmac

Could this be causing the error?

-wyory
Reply all
Reply to author
Forward
0 new messages