Public bug reported:

Ubuntu Version: Maverick
Arch: i386
Summery:

According changelog, no_PED_PARTITION_DIAG.patch is for parted 2.2, but
in Maverick, the parted is 2.3.

Packages:

ii  libparted0debian1                  2.3-2ubuntu1                             
         The GNU Parted disk partitioning shared library
ii  parted                                    2.3-2ubuntu1                      
                The GNU Parted disk partition resizing program
ii  python-parted                        3.4-2ubuntu1                           
           Python interface for libparted

Step to reproduce:

Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) 
[GCC 4.4.5] 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/pymodules/python2.6/parted/__init__.py", line 53, in <module>
    from partition import Partition
  File "/usr/lib/pymodules/python2.6/parted/partition.py", line 249, in <module>
    partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.

Test:

python-parted package from Debian archive works in Maverick

** Affects: pyparted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
raise ValueError:" Invalid flag provided."  when import parted module in pyhon
https://bugs.launchpad.net/bugs/669931
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to