nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.
http://www.nkrode.com/article/real-time-dashboard-for-redis
MIT License
3.07k stars 644 forks source link

File "./redis-monitor.py", line 141 #98

Open c-s-t-z opened 6 years ago

c-s-t-z commented 6 years ago

I am getting SyntaxError: invalid syntax when run on ubuntu with this command redis-monitor.py --duration=120

The specific exception information is as follows

File "./redis-monitor.py", line 141

except Exception, e: ^ SyntaxError: invalid syntax

The specific exception information is as follows How to solve it

suxiaojin commented 6 years ago

redislive use python 2.x

Azleal commented 5 years ago

File "./redis-monitor.py", line 141 except Exception, e: ^ SyntaxError: invalid syntax the same problem, using python 3.6.7

Azleal commented 5 years ago

File "./redis-monitor.py", line 141 except Exception, e: ^ SyntaxError: invalid syntax the same problem, using python 3.6.7

solved by changing the python version to 2.7