You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/mongodb.py to mongodb.pyc
File "build/bdist.linux-x86_64/egg/amon/backends/mongodb.py", line 10
class MongoBackend():
Then, fails on every "if" afterwards:
byte-compiling build/bdist.linux-x86_64/egg/amon/web/template.py to template.pyc
File "build/bdist.linux-x86_64/egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax
Extracting amon-0.6_dev-py2.4.egg to /usr/lib/python2.4/site-packages
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/system/collector.py", line 61
with open('/proc/meminfo', 'r') as lines:
^
The text was updated successfully, but these errors were encountered:
Just tried to install this on CentOS 5
works up to this point:
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/mongodb.py to mongodb.pyc
File "build/bdist.linux-x86_64/egg/amon/backends/mongodb.py", line 10
class MongoBackend():
Then, fails on every "if" afterwards:
byte-compiling build/bdist.linux-x86_64/egg/amon/web/template.py to template.pyc
File "build/bdist.linux-x86_64/egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax
Extracting amon-0.6_dev-py2.4.egg to /usr/lib/python2.4/site-packages
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/system/collector.py", line 61
with open('/proc/meminfo', 'r') as lines:
^
The text was updated successfully, but these errors were encountered: