Bug 700383 - parted.version() throws SystemError
Summary: parted.version() throws SystemError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyparted
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 896024
TreeView+ depends on / blocked
 
Reported: 2011-04-28 09:30 UTC by Stijn Hoop
Modified: 2013-01-16 13:46 UTC (History)
1 user (show)

Fixed In Version: pyparted-3.4-5.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 896024 (view as bug list)
Environment:
Last Closed: 2011-08-11 23:28:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.