Skip to content

UnicodeDecodeError #45

@CyberTrents

Description

@CyberTrents

I'm trying to run this against a DriveFS folder on a Mac and got this error on execution. I can't tell if this is an error in a module or an error in my data as I have no path to the offending file.

🚀 Starting DriveFS Sleuth...

🔄 Processing Path: /Users/trents/pycrap/DriveFS... [IN PROGRESS]
Traceback (most recent call last):
File "/Users/trents/pycrap/DriveFS-Sleuth-main/./drivefs_sleuth.py", line 11, in
execute()
File "/Users/trents/pycrap/DriveFS-Sleuth-main/drivefs_sleuth/executor.py", line 197, in execute
setup = Setup(drivefs_path, args.accounts)
File "/Users/trents/pycrap/DriveFS-Sleuth-main/drivefs_sleuth/setup.py", line 352, in init
for account_id, account_info in get_accounts(drivefs_path).items():
File "/Users/trents/pycrap/DriveFS-Sleuth-main/drivefs_sleuth/tasks.py", line 31, in get_accounts
'email': lookup_account_id(drivefs_path, account_id)
File "/Users/trents/pycrap/DriveFS-Sleuth-main/drivefs_sleuth/utils.py", line 40, in lookup_account_id
logs = logs_file.read()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 4100: invalid start byte

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions