AttributeError: 'str' object has no attribute 'decode'.
Hej! I wanted to upgrade my RM2 from 3.10.2.2063 (rM Hacks v0.0.9) to 3.11.3.3 (the last supported today from the rM Hacks).
I downloaded the pre-compiled binaries of codexctl, unzipped and scp to my RM (and made the file executable). I have downloaded the RM firmware (./codexctl download 3.11.3.3 --hardware rm2).
When I run the install, I get the following error:
reMarkable: ~/ ./codexctl install ./Downloads/remarkable-production-memfault-image-3.11.3.3-reMarkable-2.0-public
Traceback (most recent call last):
File "/tmp/onefile_588_1749641619_821314/main.py", line 12, in
What am I doing wrong? Thanks for the support
ps: same kind of error for the status option:
reMarkable: ~/ ./codexctl status
Traceback (most recent call last):
File "/tmp/onefile_576_1749641493_143616/main.py", line 12, in
Seeing this as well on my rM2 attempting to install 3.20.0.92, using release 1748370626
reMarkable: ~/ ./codexctl install 3.20.0.92
Traceback (most recent call last):
File "/tmp/onefile_628_1751927034_465570/main.py", line 12, in <module>
File "/tmp/onefile_628_1751927034_465570/codexctl/__init__.py", line 480, in main
File "/tmp/onefile_628_1751927034_465570/codexctl/__init__.py", line 248, in call_func
File "/tmp/onefile_628_1751927034_465570/codexctl/device.py", line 267, in get_device_status
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
Probably a duplicate of #135
Probably a duplicate of #135
not in my case: trying from 3.10 to 3.11
Probably a duplicate of #135
not in my case: trying from 3.10 to 3.11
In your case, yes as well. The stack trace is the same, so it's the same underlying error.
Also seeing this issue when trying to downgrade my RM2 from 3.20 to 3.3