test pyparted in 1.4 or bigger

Issue #31 resolved
Rodrigo Bistolfi created an issue

In light 1.2 we are seeing:

root:# vinstall
Traceback (most recent call last):
  File "/usr/bin/vinstall", line 8, in <module>
    load_entry_point('vinstall==0.1a', 'console_scripts', 'vinstall')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2221, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-i686/egg/vinstall/installer.py", line 11, in <module>
  File "build/bdist.linux-i686/egg/vinstall/backend/installmedia.py", line 8, in <module>
  File "build/bdist.linux-i686/egg/vinstall/backend/media.py", line 13, in <module>
  File "/usr/lib/python2.7/site-packages/parted/__init__.py", line 60, in <module>
    from partition import Partition
  File "/usr/lib/python2.7/site-packages/parted/partition.py", line 260, in <module>
    partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.

Comments (6)

  1. roarde

    Reinstalled pyparted from repo. Vinstall now starts normally. Still on RC1.2.

    Reinstalled pyparted (upgradepkg --reinstall) from RC1.4 iso. Vinstall still starts normally.

    Reinstalled pyparted from RC1.2 iso. Failure returned.

    Once again, reinstalled pyparted from RC1.4 (again still on RC1.2). Vinstall starts normally.

    There was a large swath of package rebuilding prior to the RC1.3 release, and a bit more just before RC1.4. 1.4 probably has the same packages (if present) that STD RC4 has.

  2. Moises Henriquez

    The installer runs fine on STD RC4.1 which makes me think a rebuild of the light iso should produce a working install environment. let's keep this one open until we find out if that's the case

  3. roarde

    Want to make sure we're thinking of the same environment. This is not a booted install initrd; that works fine. This happens when installing vinstall to a Light RC1.2 installation and starting it from, for example, an xterm.

  4. Log in to comment