Giter Site home page Giter Site logo

onedrive's Issues

WARNING: Multiple instances of some keys were found in the ObfuscationMap.

Hi @ydkhatri,

Thanks for creating this great script. I have attempted to follow your guidance and test it out on OneDrive account (windows 10); however, I received the following warning and error messages:

WARNING: Multiple instances of some keys were found in the ObfuscationMap.
Read 6494 items from map
Failed to create CSV file: ~/Desktop/odl_output.csv

Any advice that could assist me in parsing OneDrive logs?

Best

mzheader

"ObfuscationStringMap.txt" not found

Receiving this error:

"ObfuscationStringMap.txt" not found in C:\users\moises\Desktop\logsone.
Recovered Unobfuscation key xbdHp7zBHRYKgL1kElvMV367ShkuVyRKaxv0UGmkcN0=, version=1, utf_type=utf16
Failed to create csv file: ~/Desktop/odl_output.csv

I have the general.keystore file instead in the same directory.

Error message

Thank you so much for your python script :)

I am trying to use the script to parse the ODL logs under "Personal", but getting the following error message "did not find 0xCCDDEEFF". Is the ODL that I am using not compatible with the script?

ERROR writing rows: <class 'TypeError'> 'NoneType' object is not iterable
Searching /home/user/Documents/7236_onedrive/logs/Personal/FileCoAuth-2022-09-04.0155.4976.1.odlgz
wrong header! Did not find 0xCCDDEEFF

ModuleNotFoundError: No module named 'construct'

Received the following error:

Traceback (most recent call last):
File "/Users/userdir/Downloads/OneDrive-main/odl.py", line 51, in
from construct import *
ModuleNotFoundError: No module named 'construct'

Any thoughts?

csv Error need to escape, but no escapechar set

Thanks for this very useful tool! I've got it working but am getting this error after each logfile:
ERROR writing rows: <class '_csv.Error'> need to escape, but no escapechar set

Any suggestions for things I can change (or does something need to be changed in your script)?

Thanks in advance!

An error and a path change

Hello, first off thanks for this code.
On my Mac (BigSur, OneDrive for Business), the path to the logs file is
~/Library/Containers/com.microsoft.OneDrive-mac/Data/Library/Logs
You might want to note that in the readme.

I copied the Logs/Business1 folder to the desktop and renamed it testing and ran
python3 odl.py -o ~/Desktop/odl_output.csv ~/Desktop/testing

and I get this:

Traceback (most recent call last):
  File "odl.py", line 50, in <module>
    from construct import *
ModuleNotFoundError: No module named 'construct'

Any ideas?

SyntaxError: invalid syntax

Thanks for your contribution of this tool unfortunately I get the following error when running it.

python3 odl.py -h
  File "odl.py", line 68
    return datetime.datetime(1970, 1, 1) + 
                                          ^
SyntaxError: invalid syntax

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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.