Bug 1158546 - gnuplot-py is not compatible with Python 2.7
Summary: gnuplot-py is not compatible with Python 2.7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnuplot-py
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-29 15:41 UTC by Lars Kellogg-Stedman
Modified: 2014-11-15 09:20 UTC (History)
1 user (show)

Fixed In Version: gnuplot-py-1.8-18.fc19
Clone Of:
Environment:
Last Closed: 2014-11-13 18:14:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2014-10-29 15:41:57 UTC
gnuplot-py (1.8-14.fc20) is incompatible with Python 2.7.  The Gnuplot modules attempts to raise string exceptions, like this:

    raise 'option %s is not supported' % (k,)

This results in the following exception:

    TypeError: exceptions must be old-style classes or derived from BaseException, not str

Comment 1 Sergio Pascual 2014-10-29 16:03:06 UTC
Yes, it seems there are some places where it is raising str, instead of Errors.OptionError. I'll see if I can make a patch.

Notice that this package is largely unmaintained upstream (last release ~ 2012)

Comment 2 Fedora Update System 2014-10-30 10:46:22 UTC
gnuplot-py-1.8-17.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnuplot-py-1.8-17.fc20

Comment 3 Fedora Update System 2014-10-30 10:49:50 UTC
gnuplot-py-1.8-17.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gnuplot-py-1.8-17.fc21

Comment 4 Fedora Update System 2014-10-30 11:07:36 UTC
gnuplot-py-1.8-17.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gnuplot-py-1.8-17.fc19

Comment 5 Fedora Update System 2014-11-01 01:31:59 UTC
Package gnuplot-py-1.8-17.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnuplot-py-1.8-17.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14002/gnuplot-py-1.8-17.fc19
then log in and leave karma (feedback).

Comment 6 Sergio Pascual 2014-11-05 09:24:35 UTC
Please test this one

https://admin.fedoraproject.org/updates/FEDORA-2014-14006/gnuplot-py-1.8-18.fc20

Comment 7 Fedora Update System 2014-11-13 18:14:50 UTC
gnuplot-py-1.8-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-11-13 18:20:55 UTC
gnuplot-py-1.8-18.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-11-15 09:20:35 UTC
gnuplot-py-1.8-18.fc21 has been pushed to the Fedora 21 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.