RHInception / jsonstats

system stats over rest in json (buzzzzwords here)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unexpected keyword argument 'epilog' on EL 5 systems

themurph opened this issue · comments

On EL 5 systems, jsonstats will not start because of the following parser error.

[tools01.example.com] [07:14:50 PM]
[root@tools01 ~]# jsonstatsd -h
Traceback (most recent call last):
File "/usr/bin/jsonstatsd", line 209, in ?
parser = OptionParser(epilog=epilog)
TypeError: init() got an unexpected keyword argument 'epilog'

Well that's lame. Will fix tomorrow.
On May 7, 2014 7:22 PM, "Chris Murphy" notifications@github.com wrote:

On EL 5 systems, jsonstats will not start because of the following parser
error.

[tools01.example.com] [07:14:50 PM]
[root@tools01 ~]# jsonstatsd -h
Traceback (most recent call last):
File "/usr/bin/jsonstatsd", line 209, in ?
parser = OptionParser(epilog=epilog)
TypeError: init() got an unexpected keyword argument 'epilog'


Reply to this email directly or view it on GitHubhttps://github.com//issues/36
.

Found this thread:

http://stackoverflow.com/a/1857374/263969

To quote: epilog appears to have been added after 2.4 :( – CarpeNoctem Dec 16 '09 at 11:07

I'll wrap this in an 'if lame version' then 'else'....

Closed in 78f7c4d