system-config-lvm crashes with "TypeError: unpack non-sequence"

Solution Verified - Updated -

Issue

  • traceback error when trying to run system-config-lvm:

    # system-config-lvm
    Traceback (most recent call last):
      File "/usr/sbin/system-config-lvm", line 173, in ?
        runFullGUI()
      File "/usr/sbin/system-config-lvm", line 158, in runFullGUI
        blvm = baselvm(glade_xml, app)
      File "/usr/sbin/system-config-lvm", line 108, in __init__
        self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win)
      File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 133, in __init__
        self.prepare_tree()
      File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 214, in prepare_tree
        self.model_factory.reload()
      File "/usr/share/system-config-lvm/lvm_model.py", line 164, in reload
        self.__PVs = self.__query_partitions()
      File "/usr/share/system-config-lvm/lvm_model.py", line 275, in __query_partitions
        pv.setPartition(old_pv.getPartition())
      File "/usr/share/system-config-lvm/PhysicalVolume.py", line 135, in setPartition
        def setPartition(self, (devname, part)):
    TypeError: unpack non-sequence
    

Environment

  • Red Hat Enterprise Linux version 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.