You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand the script should automatically detect and unzip these? It doesn't like my *.gz Apache logs. Can be reproduced with an empty gzipped file (literally gzip empty with a 0 byte empty file).
Parsing log empty.gz...
Traceback (most recent call last):
File "import_logs.py", line 2674, in <module>
main()
File "import_logs.py", line 2640, in main
parser.parse(filename)
File "import_logs.py", line 2378, in parse
data = file.read(100)
UnboundLocalError: local variable 'file' referenced before assignment
Edit: I also had to apply #281 before the script even ran