import parted fails with ValueError: Invalid flag provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyparted (Ubuntu) |
Invalid
|
Undecided
|
Rafael David Tinoco | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* This happens on the up-to-date Ubuntu 12.04.
* All those using python-parted will suffer because of the change done in:
https:/
[Test Case]
$ lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04
parted: 2.3-8ubuntu5.2
python-parted: 3.6-4
$ python
Python 2.7.3 (default, Feb 27 2014, 20:00:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import parted
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
from partition import Partition
File "/usr/lib/
partitionFl
ValueError: Invalid flag provided.
>>>
[Regression Potential]
* Just rebuilding the package with new libparted ABI.
* Python-parted is not working right now.
* Users tested public PPA with this fix and said it is good.
[Other Info]
* The symptoms are exactly the same as in bug 669931. However,
the patch from that bug doesn't apply.
Related branches
Changed in pyparted (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
description: | updated |
Changed in pyparted (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in pyparted (Ubuntu): | |
status: | Confirmed → Invalid |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.