_ped.partition_flag_get_name(__flag) fails when __flag is 15. But 15 should be allowed, it's PED_PARTITION_MSFT_DATA in /usr/include/parted/disk.h. I believe python-parted wasn't rebuilt when parted was updated. Indeed, requilding python-parted_3.6-4_i386.deb fixed the problem for me.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1350946 Title: import parted fails with ValueError: Invalid flag provided To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pyparted/+bug/1350946/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
