FSEventsParser
FSEventsParser copied to clipboard
Error
I'm using this script with Python for Windows 3.8. Here is the syntax I'm using: C:\Python\FSEventsParser-master>python FSEParser_V4.0.py -s D:\FB-23-0005\fseventsd -t folder -o C:\output -q C:\Python\FSEventsParser-master\report_queries.json
This is the error I'm getting. File "FSEParser_V4.0.py", line 187 print '[Info]: Report queries file not specified using the -q option. Custom reports will not be generated.' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('[Info]: Report queries file not specified using the -q option. Custom reports will not be generated.')?
It's only supported on Python 2. I ended up using a container:
docker run -it --rm -v ${PWD}:/app -w /app python:2 python FSEParser_V4.0.py -s .fseventsd -o /app -t folder
Could also try this Python 3 PR: https://github.com/dlcowen/FSEventsParser/pull/9