Bug 700383

Summary: parted.version() throws SystemError
Product: [Fedora] Fedora Reporter: Stijn Hoop <stijn>
Component: pypartedAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 14CC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyparted-3.4-5.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 896024 (view as bug list) Environment:
Last Closed: 2011-08-11 23:28:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 896024    

Description Stijn Hoop 2011-04-28 09:30:27 UTC
Description of problem:

[stijn@pclin250] <~> python
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import parted
>>> parted.version()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 2, in version
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 31, in localeC
    ret = fn(*args, **kwds)
  File "/usr/lib64/python2.7/site-packages/parted/__init__.py", line 306, in version
    ver['pyparted'] = pyparted_version()
SystemError: error return without exception set

Version-Release number of selected component (if applicable):

[stijn@pclin250] <~> rpm -qa \*parted\*
parted-devel-2.3-4.fc14.x86_64
parted-2.3-4.fc14.x86_64
pyparted-3.4-3.fc14.x86_64

How reproducible:

Always

Expected results:

This is with an up-to-date git of pyparted; installed in a separate location:

[stijn@pclin250] </scratch/stijn/usr/lib64/python2.7/site-packages> python
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import parted
>>> parted.version()
{'libparted': '2.3', 'pyparted': (3, 6)}

Comment 1 Fedora Update System 2011-08-05 17:36:56 UTC
pyparted-3.4-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pyparted-3.4-5.fc14

Comment 2 Fedora Update System 2011-08-05 23:55:22 UTC
Package pyparted-3.4-5.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pyparted-3.4-5.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/pyparted-3.4-5.fc14
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-08-11 23:28:46 UTC
pyparted-3.4-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.