Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Can't run abootool-TypeError: __init__() takes exactly 1 argument (2 given) #149

@bene2929

Description

@bene2929

Upon running the script, it finds the device and immdiately throws an error and stops. The following output is produced:
python abootool.py INFO: Welcome to abootool by Aleph Research, HCL technologies INFO: fastboot connected to 710KPRW0428622 Traceback (most recent call last): File "abootool.py", line 95, in <module> sys.exit(main()) File "abootool.py", line 73, in main name = dev.device() File "/home/dakantz/abootool/device.py", line 272, in device return Config.bootloader_names[self.bootloader_name()] File "/home/dakantz/abootool/device.py", line 260, in bootloader_name p = self.product() File "/home/dakantz/abootool/device.py", line 248, in product return self.getvar("product") File "/home/dakantz/abootool/device.py", line 241, in getvar self.data[k] = self.wait_for_fb_command("Getvar", False, False, k) File "/home/dakantz/abootool/device.py", line 189, in wait_for_fb_command self.resolve_fb_error() File "/home/dakantz/abootool/device.py", line 304, in resolve_fb_error self.fb_error = self.do_fb_command("Oem", True, Config.oem_error_cmd) File "/home/dakantz/abootool/device.py", line 158, in do_fb_command getattr(self.fastboot(), func)(info_cb=self.last_output, *args, **kargs) File "/home/dakantz/abootool/device.py", line 140, in fastboot return fastboot.FastbootCommands(self.usbdev) TypeError: __init__() takes exactly 1 argument (2 given)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions