Jayy001 / codexctl

Automated update managment for the ReMarkable tablet
GNU General Public License v3.0
107 stars 13 forks source link

'extract' CLI option error #74

Closed Captain-Barge closed 6 months ago

Captain-Barge commented 6 months ago

From my Ubuntu 22.04 laptop I downloaded a firmware with codexctl download 2.15.1.1189 and then attempted to extract the resulting file with codexctl extract 2.15.1.1189_reMarkable2-wVbHkgKisg-.signed. On extraction I got the error below.

Traceback (most recent call last): File "/tmp/onefile_74378_1715172312_590096/codexctl.py", line 4, in File "/tmp/onefile_74378_1715172312_590096/codexctl/init.py", line 733, in main File "/tmp/onefile_74378_1715172312_590096/codexctl/init.py", line 565, in do_extract File "/tmp/onefile_74378_1715172312_590096/remarkable_update_fuse/init.py", line 1, in File "/tmp/onefile_74378_1715172312_590096/remarkable_update_fuse/fuse.py", line 14, in File "/tmp/onefile_74378_1715172312_590096/remarkable_update_fuse/image.py", line 14, in File "/tmp/onefile_74378_1715172312_590096/remarkable_update_fuse/update_metadata_pb2.py", line 6, in ImportError: cannot import name 'descriptor' from 'google.protobuf' (/tmp/onefile_74378_1715172312_590096/google/protobuf/init.py)

I am using the 2024-05-08 01:42 release of codexctl.

I'll add that I was able to workaround the issue by extracting with remarkable-update's extractor script.