Jayy001 / codexctl

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

Extract Command not working properly #100

Open KingTuts-00 opened 1 hour ago

KingTuts-00 commented 1 hour ago

This is probably a bit of a noob comment but I am having trouble getting my .signed file to extract properly. I am trying to roll back to a version support by rmHacks and I have read the comments detailing how to do that. My issue is that no matter how I try to enter the argument to extract the .signed file I get the items below.

C:\Users\trace>C:\Users\trace\OneDrive\Documents\windows-latest\codexctl.exe download latest Downloading 3.11.2.5 to downloads folder Warning for 3.11.2.5: This version changes the update mechanism, which codexctl currently does not support. If you install this version, you will not be able to downgrade using codexctl. [==================================================] Done! (3.11.2.5_reMarkable2-qLFGoqPtPL.signed)

C:\Users\trace>C:\Users\trace\OneDrive\Documents\windows-latest\codexctl.exe extract 3.11.2.5_reMarkable2-qLFGoqPtPL.signed Traceback (most recent call last): File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\codexctl.py", line 12, in <module> File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\codexctl\__init__.py", line 808, in main File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\codexctl\__init__.py", line 627, in do_extract File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\codexctl\__init__.py", line 255, in get_update_image File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\remarkable_update_image\image.py", line 393, in __new__ File "C:\Users\trace\AppData\Local\Temp\ONEFIL~3\remarkable_update_image\image.py", line 77, in __init__ FileNotFoundError: [Errno 2] No such file or directory: '3.11.2.5_reMarkable2-qLFGoqPtPL.signed'

The signed file appears in my downloads but then I cannot create the output file. It also does not seem to help if I move the .signed file to a different location or spell out its file path explicitly in the extract command.

What am I doing wrong?

Eeems commented 1 hour ago

You aren't passing the path to the image to extract properly, it's downloaded to your downloads folder by default. What is an example of you trying to "spell out" the file path explicitly and not working.

KingTuts-00 commented 1 hour ago

I’d do something like below where I put the file path to the .signed file.

C:\Users\trace>C:\Users\trace\OneDrive\Documents\windows-latest\codexctl.exe extract C:\Users\trace\downloads\3.11.2.5_reMarkable2-qLFGoqPtPL.signed

But even when I have both codexctl and the .signed file in the same location I’m getting this error.

Eeems commented 1 hour ago

I'm unable to replicate your issue: image