Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion loghetti SyntaxError: invalid syntax
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kent Johnson  
View profile  
 More options Apr 9 2008, 9:59 am
From: Kent Johnson <ken...@tds.net>
Date: Wed, 09 Apr 2008 09:59:42 -0400
Local: Wed, Apr 9 2008 9:59 am
Subject: Re: loghetti SyntaxError: invalid syntax
Perhaps you could figure this one out? What does this error have in
common with the previous one?

Kent

vikrant wrote:
> I now get the following error :(

> loghetti.py --code=Mozilla /var/log/httpd/access_log
>   File "/usr/local/bin/loghetti.py", line 29
>     class Filter():
>                  ^
> SyntaxError: invalid syntax

> On Apr 9, 6:35 pm, Kent Johnson <ken...@tds.net> wrote:
>> vikrant wrote:
>>> I just downloaded and installed loghetti on my rhel 4 x86_64 machine,
>>> when i try to run it it gives the below error:
>>> loghetti.py --ip=125.24.59.75
>>>   File "/usr/local/bin/loghetti.py", line 12
>>>     class Rule():
>>>                ^
>>> SyntaxError: invalid syntax
>> It should be
>>    class Rule(object):

>> It is fixed in SVN.

>> Kent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.