shelly-firmware icon indicating copy to clipboard operation
shelly-firmware copied to clipboard

An error has occurred

Open askarkurymbayev opened this issue 1 year ago • 0 comments

When trying to compile it gives the following error

INFO: Shelly firmware binary download tool. Version 0.1 INFO: Downloading firmware binary file for device SHSW-1 INFO: Output file is set to: firmware.bin INFO: Found platform switch1 in firmware package Traceback (most recent call last): File "/home/ak/shelly-firmware/./shelly_firmware.py", line 306, in main() File "/home/ak/shelly-firmware/./shelly_firmware.py", line 297, in main download_and_build_firmware(firmware_url, args.output) File "/home/ak/shelly-firmware/./shelly_firmware.py", line 116, in download_and_build_firmware build_firmware(fw_pkg.content, output_file) File "/home/ak/shelly-firmware/./shelly_firmware.py", line 91, in build_firmware part_data = fs_inject_hwinfo(part_data, platform_name) File "/home/ak/shelly-firmware/./shelly_firmware.py", line 141, in fs_inject_hwinfo if cmd.exit_code: AttributeError: 'str' object has no attribute 'exit_code'

askarkurymbayev avatar Jul 07 '23 18:07 askarkurymbayev