Bug 1158546

Summary: gnuplot-py is not compatible with Python 2.7
Product: [Fedora] Fedora Reporter: Lars Kellogg-Stedman <lars>
Component: gnuplot-pyAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: sergio.pasra
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnuplot-py-1.8-18.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-13 18:14:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.