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

python 3.9 :: 'Blob' object has no attribute 'dual_rom' #29

Closed
adriansev opened this issue Dec 31, 2020 · 1 comment
Closed

python 3.9 :: 'Blob' object has no attribute 'dual_rom' #29

adriansev opened this issue Dec 31, 2020 · 1 comment

Comments

@adriansev
Copy link

Hi! while trying to look into a cap file for ASUS PRIME B550-PLUS i got this:

psptool PRIME-B550-PLUS-ASUS-1216.CAP
Traceback (most recent call last):
File "/usr/local/bin/psptool", line 33, in <module>
sys.exit(load_entry_point('psptool==2.2', 'console_scripts', 'psptool')())
File "/home/adrian/.local/lib/python3.9/site-packages/psptool/__main__.py", line 80, in main
psp = PSPTool.from_file(args.file, verbose=args.verbose)
File "/home/adrian/.local/lib/python3.9/site-packages/psptool/psptool.py", line 31, in from_file
pt = PSPTool(rom_bytes, verbose=verbose)
File "/home/adrian/.local/lib/python3.9/site-packages/psptool/psptool.py", line 39, in __init__
self.blob = Blob(rom_bytes, len(rom_bytes), self)
File "/home/adrian/.local/lib/python3.9/site-packages/psptool/blob.py", line 48, in __init__
self._find_entry_table()
File "/home/adrian/.local/lib/python3.9/site-packages/psptool/blob.py", line 87, in _find_entry_table
if self.dual_rom:
AttributeError: 'Blob' object has no attribute 'dual_rom'

is anything know? or just incompatible with 3.9?
Thanks a lot for your great work!

@cwerling
Copy link
Member

cwerling commented Jan 1, 2021

Hi Adrian, thanks for your bug report. Nice catch!

This was just a normal bug, didn't have anything to do with Python 3.9.

Happy new year! :)

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

No branches or pull requests

2 participants