FSEventsParser icon indicating copy to clipboard operation
FSEventsParser copied to clipboard

Error

Open huddledfiber opened this issue 2 years ago • 2 comments

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.')?

huddledfiber avatar Jan 23 '23 20:01 huddledfiber

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

pl4nty avatar Feb 25 '23 06:02 pl4nty

Could also try this Python 3 PR: https://github.com/dlcowen/FSEventsParser/pull/9

huyz avatar Aug 13 '23 17:08 huyz