GNOME Bugzilla – Bug 311796
sabayon-apply doesn't work with profiles that have spaces in them
Last modified: 2005-07-29 10:18:33 UTC
In userdb.py, the get_profile() method calls __profile_name_to_location() with the profile name as an argument, e.g. "Desktop Users". But __profile_name_to_location expects the profile name to be encoded as a URI fragment, e.g. "Desktop%20Users" so it throws an exception on libxml2.parseURI. The net effect is that profile names that have spaces in them (probably going to be common) silently fail to apply.
Sounds like one for DV
I tried to fix it in CVs but could not confirm at this point it is fixed. Daniel
I managed to reproduce it before your fix and don't see the problem now with your fix applied.
Actually, my bad. I now see: (22015) storage: Profile file '/etc/desktop-profiles/Foo%20Bar.zip' doesn't exist when running sabayon-apply
Okay I commited the unescaping if the resulting composed URI is a local path, this should fix that, hopefully this now work okay :-) Daniel