** Branch linked: lp:~vmbuilder-dev/vmbuilder/packaging
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
when --part
Merge proposal for trunk:
https://code.launchpad.net/~barry/vmbuilder/bug-612082/+merge/80615
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warn
** Branch linked: lp:~barry/ubuntu/precise/vm-builder/bug-612082
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
wh
** Branch linked: lp:ubuntu/vm-builder
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
when --part is given a nonex
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
when --part is given a nonexistent file)
To manage notific
On further reflection, I think the patch is safe to upload to Precise,
and I will do this. I'm not entirely convinced the bug meets the SRU
guidelines for Lucid
https://wiki.ubuntu.com/StableReleaseUpdates
so I won't prepare an SRU for it. I have however uploaded vm-
builder_0.12.4-0ubuntu0.3~p
This bug was fixed in the package vm-builder - 0.12.4+bzr471-0ubuntu2
---
vm-builder (0.12.4+bzr471-0ubuntu2) precise; urgency=low
[ Daniel Holbert ]
* Fix warning messages when --part is given a nonexistent file.
(LP: #612082)
-- Barry WarsawThu, 27 Oct 2011 15:52:56 -04
I've also uploaded the Precise package to my PPA, which you can enable
with:
$ sudo add-apt-repostory ppa:barry/python
** Also affects: vmbuilder
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ub
Daniel, thanks very much for your contribution to Ubuntu.
I am unable to reproduce this bug because for some reason vm-builder
just hangs for me on both Lucid and Precise. However, from visual
inspection, I think your patch is spot on. Note however that it does
not apply cleanly to Precise.
See
** Branch linked: lp:~barry/vmbuilder/bug-612082
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
when --part is giv
** Changed in: vm-builder (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
wh
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail when
--part is given a nonexistent file)
--
u
Assigning bug to me, since I've attached a fix.
I'm not sure who to ask for code-review from (if needed) or how to get
the patch committed, though -- Soren, could you perhaps help with either
of those?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscr
Here's the patch as described above. Just passes the "optparser"
variable to set_disk_layout, and uses it to print the error instead of
using the nonexistent "self.optparser" & "hypervisor.optparser".
I've confirmed that this works locally (i.e. it makes vmbuilder print
the warning message instea
that didn't work -- reading the file slightly more intelligently, I see
that "optparser" is a local variable initialized in "main" and passed to
its helper functions. It's not passed to set_disk_layout, though (but
it should be).
--
You received this bug notification because you are a member of
self.optparser didn't work -- tried that because there was one other usage of
that in the file, but it gives me
>AttributeError: 'CLI' object has no attribute 'optparser
So the existing "self.optparser" line is probably just as busted as this bug's
"hypervisor.optparser" line. :)
Trying just pla
> hypervisor.optparser.error("%s parsing --part option: %s" % (errno,
strerror))
My python-fu is not strong, but from looking at the rest of the cli.py
file, I think we want "self.optparser", not "hypervisor.optparser".
Testing that to see if that fixes it locally...
--
You received this bug n
I had this exact problem, and I just figured out what was going wrong.
It turned out to be that I'd passed a nonexistent file to "--part" in my
vmbuilder command. (In the bug-reporter's case -- I'm not sure whether
--part accepts relative paths or not, but if you're sure that
vmbuilder.partition e
** Changed in: vm-builder (Ubuntu)
Importance: Undecided => Medium
--
optparser attribute missing in cli.py
https://bugs.launchpad.net/bugs/612082
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bug
19 matches
Mail list logo