Difference between revisions of "Fail2ban talk:Community Portal"

From Fail2ban
Jump to: navigation, search
Line 19: Line 19:
 
----
 
----
 
I installed 2.5.1 and still the same problem.
 
I installed 2.5.1 and still the same problem.
 +
----
 +
Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later.
 +
Thanks

Revision as of 16:46, 8 May 2007

I am finding this error a few times on different scripts when installing on CentOS

byte-compiling /usr/share/fail2ban/server/mytime.py to mytime.pyc

 File "/usr/share/fail2ban/server/mytime.py", line 49
   @staticmethod
   ^

SyntaxError: invalid syntax

Any ideas


Are you sure that you have Python 2.4? Annotations are available since Python 2.4. --Lostcontrol 15:53, 8 May 2007 (CEST)


I got 2.4.3 root@usa2 [~]# python -V Python 2.4.3


I installed 2.5.1 and still the same problem.


Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later. Thanks