Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.5-dev TypeError: 'bytes' object does not support item assignment #82

Closed
sauron3256 opened this issue Feb 1, 2021 · 3 comments
Closed
Labels

Comments

@sauron3256
Copy link

After making the nescessary changes from the diff in #80 and running the scan again using the same drive, I got the following error:

INFO:root:Parsing MFT entries
Traceback (most recent call last):
File "/home/lef/RecuperaBit-1.1.4/main.py", line 374, in
main()
File "/home/lef/RecuperaBit-1.1.4/main.py", line 357, in main
parts.update(scanner.get_partitions())
File "/home/lef/RecuperaBit-1.1.4/recuperabit/fs/ntfs.py", line 695, in get_partitions
parsed = parse_file_record(dump)
File "/home/lef/RecuperaBit-1.1.4/recuperabit/fs/ntfs.py", line 149, in parse_file_record
_apply_fixup_values(header, entry)
File "/home/lef/RecuperaBit-1.1.4/recuperabit/fs/ntfs.py", line 102, in _apply_fixup_values
entry[pos-2:pos] = entry[offset + 2i:offset + 2(i+1)]
TypeError: 'bytes' object does not support item assignment

@Lazza Lazza closed this as completed in 5c8563e Feb 1, 2021
@Lazza Lazza added the bug label Feb 1, 2021
@Lazza
Copy link
Owner

Lazza commented Feb 1, 2021

Alright, my bad. Please kindly test with the latest code.

@sauron3256
Copy link
Author

Thank you. Running the scan again. I'll update if I encounter any errors.

@Lazza
Copy link
Owner

Lazza commented Feb 3, 2021

Thank you. Please also let me know if you end the procedure successfully so I can publish a new release. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants