uvtool sync is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned |
Bug Description
I am unable to follow the instructions on https:/
ben@prongs:~$ uvt-simplestrea
Traceback (most recent call last):
File "/usr/bin/
uvtool.
File "/usr/lib/
args.func(args)
File "/usr/lib/
args.
File "/usr/lib/
result = re.search(
File "/usr/lib/
return _compile(pattern, flags).
TypeError: expected string or buffer
Hi Ben,
I can't reproduce this. I've tried both Utopic and Trusty on Canonistack as follows:
sudo apt-get update
sudo apt-get -y install uvtool
newgrp libvirtd
uvt-simplestreams sync arch=amd64
The instructions don't seem to mention the newgrp; without this I get a traceback ending in "libvirt. libvirtError: Failed to connect socket to '/var/run/ libvirt/ libvirt- sock': Permission denied" since I don't belong to the libvirtd group - not your error.
With the newgrp, it just works. I just checked the sync - I didn't attempt to create a VM (Canonistack is on a go slow so it would take too long).
This is using the Trusty cloud image release build 20141125 and the Utopic cloud image release build 20150202.
Any idea what you're doing different? Do you have unfirewalled access to cloud-images. ubuntu. com? If you can get a Python debugger to tell us what path_regex and mirror say at the point of failure, this might help.