RHInception / jsonstats

system stats over rest in json (buzzzzwords here)
MIT License
22 stars 8 forks source link

unexpected keyword argument 'epilog' on EL 5 systems #36

Closed themurph closed 10 years ago

themurph commented 10 years ago

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'

tbielawa commented 10 years ago

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/RHInception/jsonstats/issues/36 .

tbielawa commented 10 years ago

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'....

tbielawa commented 10 years ago

Closed in 78f7c4d0f46a4efeb27d6ca60906b89e5da3b28d