martinrusev/amon — Issue #53: installer
Author: mcdl
Created: 2012-02-06 07:27:46+00:00
State: open

I get a lot of errors on the install for CentOS 5.7 (64 bit)

curl install.amon.cx | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833 100 833 0 0 6088 0 --:--:-- --:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5381 100 5381 0 0 64613 0 --:--:-- --:--:-- --:--:-- 243k
--2012-02-06 08:20:31-- http://install.amon.cx/amon-0.7.tar.gz
Resolving install.amon.cx... 178.236.6.68
Connecting to install.amon.cx|178.236.6.68|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 212306 (207K) [application/x-tar]
Saving to: `amon-0.7.tar.gz'

100%[==================================================================================>] 212,306 --.-K/s in 0.1s

2012-02-06 08:20:31 (1.85 MB/s) - `amon-0.7.tar.gz' saved [212306/212306]

File "build/bdist.linux-x86_64/egg/amon/api/models.py", line 27
other_type = 'logs' if type == 'exceptions' else 'exceptions'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/system/_linux.py", line 14
with open('/proc/meminfo', 'r') as lines:
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/views/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/models.py", line 20
page = 1 if page == None else int(page)
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/template.py", line 115
variable = float(variable) if not isinstance(variable, float) else variable
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/api/models.py", line 27
other_type = 'logs' if type == 'exceptions' else 'exceptions'
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/system/_linux.py", line 14
with open('/proc/meminfo', 'r') as lines:
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/models.py", line 20
page = 1 if page == None else int(page)
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/template.py", line 115
variable = float(variable) if not isinstance(variable, float) else variable
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/views/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "generate_config.py", line 31
with open(generated_config_path,'w+') as f:
^
SyntaxError: invalid syntax