ydkhatri / OneDrive

OneDrive log .ODL reader
https://swiftforensics.com
MIT License
108 stars 23 forks source link

Python with error odl.py:2: SyntaxWarning: invalid escape sequence '\A' and missing Crypto library #11

Open Alexeijn opened 1 week ago

Alexeijn commented 1 week ago

Python is complaining about 2 things: 1) Invalid escape sequence \A %userprofile%\Downloads\odl.py:2: SyntaxWarning: invalid escape sequence '\A' """

2) No lib Crypto Traceback (most recent call last): File "%useprofile%\Downloads\odl.py", line 53, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

Iusing Oficial Python, not the Microsoft python in the store. Ive tested with Microsoft Store python version and the result is the same.

Beercow commented 1 week ago

Sounds like the dependencies are not met. Did you install construct and pycryptodome?

Alexeijn commented 1 week ago

Oh, my mistake, I didn`t installed pycryptodome.

But after doing it, the first error is shown as a SyntaxWarning: %userprofile%\Downloads\odl.py:2: SyntaxWarning: invalid escape sequence '\A' """