[Scratchy-user] Error (bug?) in Scratchy 0.8
Status: Beta
Brought to you by:
phil_schwartz
|
From: GeckoX <ge...@ke...> - 2005-03-06 01:36:21
|
I am parsing some log files and suddenly am having problems. I was able to parse log files under 1MB ok, but now that I'm trying to parse a larger log file (1.3MB), I am getting this output, with an error: xxxx@hermes:/scratchy# ./parse.py -c config_old_eocto >> Parsing log: /test-temp/templeofolympus.org-access_log.3 >> Disabling keys for all tables .. [ completion time: 0 seconds ] >> Parsing date: 8/2004 local variable 'op_sys_id' referenced before assignment .. [ completion time: 0 seconds ] >> Inserting log table chunks: .. [ completion time: 0.00 seconds ] >> Enabling keys for all tables .. [ completion time: 1 seconds ] >> Processing summary: .. Parsed lines : 1 .. Parse time : 0.52 .. Parsed lines/sec : 1.92 .. Completion time (seconds): 1.91 .. Lines per second : 0.52 >> Compiling session information .. Deleting sessions for 8/2004 .. Getting session data from log .. inserting session data into session table >> CREATING REPORTS >> Creating file: /var/www/htdocs/scratchy/reports/scratchy_eocto/082004/scratchy_eocto.css >> Creating report for: 8/2004 >> Creating file: /var/www/htdocs/scratchy/reports/scratchy_eocto/082004/index.html >> Creating hourly chart >> Creating day_of_week chart >> Creating daily chart >> Creating Operating Systems chart >> Creating File Types chart >> Creating Browsers chart >> Creating Countries chart >> Creating summary >> Creating file: /var/www/htdocs/scratchy/reports/scratchy_eocto/scratchy_eocto.css >> Creating summary chart xxxx@hermes:/scratchy# --------- I attached a .bz2 file of the log file, in case it's a problem with the file itself. I'm not sure it's really the size, since I was able to parse a 1.8MB log file. It did give this error with that file too, but when I ran parse.py again, it worked the second time. Now, with the attached file, it's not working even with repeated attempts. Is it a bug in parse.py or is it my file? Thanks. :GeckoX -- -------------------------------- Freedom is slavery. Ignorance is strength. War is peace. -- George Orwell |