Python3 compatibility
gilgamezh opened this issue · comments
isn't working 😞
copying build/lib/logster/parsers/__init__.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/ErrorLogLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/stats_helper.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/Log4jLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/SquidLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/PostfixLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/MetricLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
copying build/lib/logster/parsers/SampleLogster.py -> build/bdist.linux-x86_64/egg/logster/parsers
byte-compiling build/bdist.linux-x86_64/egg/logster/__init__.py to __init__.cpython-32.pyc
byte-compiling build/bdist.linux-x86_64/egg/logster/logster_helper.py to logster_helper.cpython-32.pyc
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/__init__.py to __init__.cpython-32.pyc
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/ErrorLogLogster.py to ErrorLogLogster.cpython-32.pyc
File "build/bdist.linux-x86_64/egg/logster/parsers/ErrorLogLogster.py", line 55
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/stats_helper.py to stats_helper.cpython-32.pyc
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/Log4jLogster.py to Log4jLogster.cpython-32.pyc
File "build/bdist.linux-x86_64/egg/logster/parsers/Log4jLogster.py", line 80
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/SquidLogster.py to SquidLogster.cpython-32.pyc
File "build/bdist.linux-x86_64/egg/logster/parsers/SquidLogster.py", line 89
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/PostfixLogster.py to PostfixLogster.cpython-32.pyc
File "build/bdist.linux-x86_64/egg/logster/parsers/PostfixLogster.py", line 61
except Exception, e:
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/MetricLogster.py to MetricLogster.cpython-32.pyc
byte-compiling build/bdist.linux-x86_64/egg/logster/parsers/SampleLogster.py to SampleLogster.cpython-32.pyc
File "build/bdist.linux-x86_64/egg/logster/parsers/SampleLogster.py", line 72
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.2/logster -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/logster to 755
copying logster.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying logster.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying logster.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying logster.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying logster.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/logster-0.0.1-py3.2.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing logster-0.0.1-py3.2.egg
removing '/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg' (and everything under it)
creating /opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg
Extracting logster-0.0.1-py3.2.egg to /opt/logster/vev/lib/python3.2/site-packages
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/logster/parsers/ErrorLogLogster.py", line 55
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/logster/parsers/Log4jLogster.py", line 80
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/logster/parsers/SquidLogster.py", line 89
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/logster/parsers/PostfixLogster.py", line 61
except Exception, e:
^
SyntaxError: invalid syntax
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/logster/parsers/SampleLogster.py", line 72
raise LogsterParsingException, "regmatch failed to match"
^
SyntaxError: invalid syntax
logster 0.0.1 is already the active version in easy-install.pth
Installing logster script to /opt/logster/vev/bin
Installed /opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg
Processing dependencies for logster==0.0.1
Finished processing dependencies for logster==0.0.1
(vev)[soporte@v455uprod logster]$ logster
Traceback (most recent call last):
File "/opt/logster/vev/bin/logster", line 5, in <module>
pkg_resources.run_script('logster==0.0.1', 'logster')
File "/opt/logster/vev/lib/python3.2/site-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/opt/logster/vev/lib/python3.2/site-packages/pkg_resources.py", line 1434, in run_script
execfile(script_filename, namespace, namespace)
File "/opt/logster/vev/lib/python3.2/site-packages/pkg_resources.py", line 55, in execfile
exec(compile(open(fn).read(), fn, 'exec'), globs, locs)
File "/opt/logster/vev/lib/python3.2/site-packages/logster-0.0.1-py3.2.egg/EGG-INFO/scripts/logster", line 194
print "%s %s %s" %(metric.timestamp, metric_name, metric.value)
^
SyntaxError: invalid syntax