vmbuilder throws exception if it doesn't find a helper program
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If vmbuilder misses any of its dependent helper programs like grub or qemu it throws an exception of type OSError like this one:
Traceback (most recent call last):
File "/home/
VMBuilder.run()
File "/home/
frontend.run()
File "/home/
vm.create()
File "/home/
self.install()
File "/home/
self.
File "/home/
EOT''')
File "/home/
proc = subprocess.
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
This exception should be catched and vmbuilder should print an error message to stderr that tells the user which program is missing.
Related branches
- Soren Hansen: Needs Information
- Diff: None lines
Changed in vmbuilder: | |
status: | New → Confirmed |
Changed in vmbuilder: | |
status: | Confirmed → Fix Released |