Description
Environment:
• OS: macOS
• Python Version: 3.13.2
• flash-shelly Version: 3.0.0
Error:
./flash-shelly.py -la
Scanning for Shelly devices...
flash-shelly version: 3.0.0
Try to update your script, maybe the bug is already fixed!
Traceback (most recent call last):
File "/Users/itai/Documents/shelly-homekit-master/tools/./flash-shelly.py", line 1200, in run_app
self.device_scan()
~~~~~~~~~~~~~~~~^^
File "/Users/itai/Documents/shelly-homekit-master/tools/./flash-shelly.py", line 1703, in device_scan
self.probe_device(device)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "/Users/itai/Documents/shelly-homekit-master/tools/./flash-shelly.py", line 1646, in probe_device
self.parse_info(device, hk_flash_fw_version) # main convert run, or update stock to the latest firmware if an update or color mode is required.
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/itai/Documents/shelly-homekit-master/tools/./flash-shelly.py", line 1404, in parse_info
download_url_request = requests.head(download_url)
File "/Users/itai/.pyenv/versions/3.13.2/lib/python3.13/site-packages/requests/api.py", line 100, in head
return request("head", url, **kwargs)
File "/Users/itai/.pyenv/versions/3.13.2/lib/python3.13/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/itai/.pyenv/versions/3.13.2/lib/python3.13/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/Users/itai/.pyenv/versions/3.13.2/lib/python3.13/site-packages/requests/sessions.py", line 697, in send
adapter = self.get_adapter(url=request.url)
File "/Users/itai/.pyenv/versions/3.13.2/lib/python3.13/site-packages/requests/sessions.py", line 792, in get_adapter
raise InvalidSchema(f"No connection adapters were found for {url!r}")
requests.exceptions.InvalidSchema: No connection adapters were found for 'file://invalid'
Devices found: 1 Upgradeable: 0