Codexctl restore when run on device errors
- Dominant language
- Python
- Stars
- 186
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Device: rm2
Version out of the box: 3.19.9.82
Goal: downgrade to 3.3.2.1666 in order to be able to install toltec
Because I am downgrading from 3.11.2.5 or greater to a version less than 3.11.2.5, I follow [these](https://github.com/Jayy001/codexctl/issues/95#issuecomment-2305529048) steps:
1. I use codexctl (on Ubuntu) to download .signed
2. Use codexctl (on Ubuntu) to extract .signed to .img
3. I copy the .img from laptop (Ubuntu) to the rm2 using scp
4. I copy the .img to the fallback partition `dd if=/home/root/3.3.2.1666.img of=/dev/mmcblk2p2`
5. I run codexctl restore (on the device).
Nothing happens for 17 minutes. Then I get the following traceback:
```
new: 3
fallback: 2
Traceback (most recent call last):
File "/tmp/onefile_886_1749601848_444105/main.py", line 12, in
File "/tmp/onefile_886_1749601848_444105/codexctl/__init__.py", line 480, in main
File "/tmp/onefile_886_1749601848_444105/codexctl/__init__.py", line 219, in call_func
File "/tmp/onefile_886_1749601848_444105/codexctl/device.py", line 267, in get_device_status
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.