samir-araujo / apache-scalp

Automatically exported from code.google.com/p/apache-scalp
0 stars 0 forks source link

cannot be compiled properly issue #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Python 2.7.3
2. scalp-0.4
3. RHEL4

What is the expected output? This is my first time using this tools.  What do 
you see instead?  Loading XML file './default_filter.xml'...
The rule 
'(?:union\s*(?:all|distinct|[(!@]*)?\s*[([]*\s*select)|(?:\w\s+like\s+\")|(?:lik
e\s*"\%)|(?:"\s*like\W*["\d])|(?:"\s*(?:n?and|x?or|not 
|\|\||\&\&)\s+[\s\w]+=\s*\w+\s*having)|(?:"\s*\*\s*\w+\W+")|(?:"\s*[^?\w\s=.,;)(
]+\s*[(@"]*\s*\w+\W+\w)|(?:select\s*[\[\]()\s\w\.,"-]+from)|(?:find_in_set\s*\()
' cannot be compiled properly

Original issue reported on code.google.com by cjbidw...@gmail.com on 25 Sep 2012 at 7:22

GoogleCodeExporter commented 9 years ago
Sorry command run is:
/usr/local/python2.7/bin/python scalp-0.4.py -l 
/var/log/apache/httpd-access.log.2012-09-25 -f ./default_filter.xml -o 
server.html

Original comment by cjbidw...@gmail.com on 25 Sep 2012 at 7:23

GoogleCodeExporter commented 9 years ago
I noticed this is run with Python 2.5.  I will run against that and see how it 
fairs.

Original comment by cjbidw...@gmail.com on 25 Sep 2012 at 7:27

GoogleCodeExporter commented 9 years ago
Okay, I get the same results with Python 2.5.

Original comment by cjbidw...@gmail.com on 25 Sep 2012 at 7:34

GoogleCodeExporter commented 9 years ago
You can close this.  I found it's the same as Issue 6.  I've commented out Rule 
45 and Rule 73 and it appears to be working now.

Original comment by cjbidw...@gmail.com on 25 Sep 2012 at 7:37