Bug 766806

Summary: invalid syntax in /usr/share/dstat/dstat_mysql5_conn.py
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Popelka <jpopelka>
Component: dstatAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: low Docs Contact:
Priority: low    
Version: 6.2CC: psklenar, todoleza, toracat
Target Milestone: rcKeywords: FastFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dstat-0.7.0-3.el6 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 09:34:12 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: 1356056    
Attachments:
Description Flags
Patch none

Description Jiri Popelka 2011-12-12 16:20:51 UTC
Building dstat package on RHEL-6.2 shows:

/usr/lib/rpm/brp-python-bytecompile
Compiling /home/jpopelka/rpmbuild/BUILDROOT/dstat-0.7.0-2.el6.x86_64/usr/share/dstat/dstat_mysql5_conn.py ...
SyntaxError: ('invalid syntax', ('/usr/share/dstat/dstat_mysql5_conn.py', 39, 74, "                self.set2['Threads'] = float(thread[1] / float(max[1]) 1.0 * 100)\n"))


Additional info:
I don't know whether this could influence how the mysql5 plugin works but it's certainly a regression because I don't see such a problem on RHEL-6.1

Comment 1 Jiri Popelka 2011-12-12 16:22:12 UTC
Created attachment 545822 [details]
Patch

Comment 3 Suzanne Logcher 2012-02-14 23:24:11 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 RHEL Program Management 2012-09-07 05:01:32 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 Akemi Yagi 2014-06-01 00:17:14 UTC
This issue is now reported in the CentOS bug tracker:

http://bugs.centos.org/view.php?id=7142

Comment 16 errata-xmlrpc 2017-03-21 09:34:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0619.html