res load with infinitime 1.11.0 stuck on "Removing" #57

Closed
opened 2023-04-01 23:14:13 +00:00 by GuyWithLinuxPhone · 4 comments

Attempting to update my Pinetime with the latest infinitime and itctl is stuck on "Removing"

purism@pureos:~/Downloads$ itctl res load infinitime-resources-1.11.0.zip 
Removing    

Before running, I connected itd to my pinetime using systemctl --user start itd and my pinetime shows "Successfully connected" in its notifications.

Versions

Librem 5 phone running PureOS 10 Byzantium
itd 1.0.0
Pinetime currently running Infinitime 1.0.0 (Build date: April 21st 2021, 18:20:54)

journalctl output
Apr 01 19:01:22 pureos systemd[965]: Started InfiniTime Daemon (itd).
Apr 01 19:01:22 pureos itd[3044]: 7:01PM INF Connected to InfiniTime version=1.0.0
Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Initialized InfiniTime music controls
Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Relaying calls to InfiniTime
Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Relaying notifications to InfiniTime
Apr 01 19:01:23 pureos itd[3044]: 7:01PM WRN Error getting BLE filesystem error="characteristic adaf0200-4669-6c65-5472-616e73666572 (Filesystem Transfer) not available"
Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Started control socket path=/tmp/itd/socket
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding temperature event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding precipitation event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding wind event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding clouds event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding humidity event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"
Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding pressure event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available"

Attempting to update my Pinetime with the [latest infinitime](https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.11.0) and itctl is stuck on "Removing" ``` purism@pureos:~/Downloads$ itctl res load infinitime-resources-1.11.0.zip Removing ``` Before running, I connected itd to my pinetime using `systemctl --user start itd` and my pinetime shows "Successfully connected" in its notifications. ##### Versions Librem 5 phone running PureOS 10 Byzantium itd 1.0.0 Pinetime currently running Infinitime 1.0.0 (Build date: April 21st 2021, 18:20:54) ##### journalctl output ``` Apr 01 19:01:22 pureos systemd[965]: Started InfiniTime Daemon (itd). Apr 01 19:01:22 pureos itd[3044]: 7:01PM INF Connected to InfiniTime version=1.0.0 Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Initialized InfiniTime music controls Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Relaying calls to InfiniTime Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Relaying notifications to InfiniTime Apr 01 19:01:23 pureos itd[3044]: 7:01PM WRN Error getting BLE filesystem error="characteristic adaf0200-4669-6c65-5472-616e73666572 (Filesystem Transfer) not available" Apr 01 19:01:23 pureos itd[3044]: 7:01PM INF Started control socket path=/tmp/itd/socket Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding temperature event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding precipitation event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding wind event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding clouds event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding humidity event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" Apr 01 19:01:24 pureos itd[3044]: 7:01PM ERR Error adding pressure event error="characteristic 00040001-78fc-48fe-8e23-433b3a1942d0 (Weather Data) not available" ```
Owner

InfiniTime 1.0.0 is too old for loading resources. As you can see from the output you provided, the BLE characteristic that's used for the filesystem transfer protocol is not available. You'll need to update InifniTime first using itctl fw upg, then load the resources after that's complete. There should be a better error message for this, I'll work on adding that.

InfiniTime 1.0.0 is too old for loading resources. As you can see from the output you provided, the BLE characteristic that's used for the filesystem transfer protocol is not available. You'll need to update InifniTime first using `itctl fw upg`, then load the resources after that's complete. There should be a better error message for this, I'll work on adding that.

Thanks for having a look @Arsen6331. Attempting to use ictl fw upg and I'm not sure how to provide the archive it's looking for:

purism@pureos:~/Downloads$ itctl fw upg
Upgrade command requires either archive or init packet and firmware.
purism@pureos:~/Downloads$ itctl fw upg infinitime-resources-1.11.0.zip 
Upgrade command requires either archive or init packet and firmware.

Is that one of the other files in the Infinitime release?

Thanks for having a look @Arsen6331. Attempting to use `ictl fw upg` and I'm not sure how to provide the archive it's looking for: ``` purism@pureos:~/Downloads$ itctl fw upg Upgrade command requires either archive or init packet and firmware. purism@pureos:~/Downloads$ itctl fw upg infinitime-resources-1.11.0.zip Upgrade command requires either archive or init packet and firmware. ``` Is that one of the other files in the Infinitime release?
Owner

If you run itctl fw upg -h, that should give you a help screen. You can provide the archive using the -a flag. Keep in mind that some people have reported that Github's archives can be unreliable due to compression, so if it doesn't work, you can unzip the archive and provide the .dat file inside using -i, and the .bin using -f. Let me know if there are any problems.

If you run `itctl fw upg -h`, that should give you a help screen. You can provide the archive using the `-a` flag. Keep in mind that some people have reported that Github's archives can be unreliable due to compression, so if it doesn't work, you can unzip the archive and provide the `.dat` file inside using `-i`, and the `.bin` using `-f`. Let me know if there are any problems.

Thanks again for the help! Downloading pinetime-mcuboot-app-dfu-1.11.0.zip, unzipping then running the following worked perfectly:

purism@pureos:~/Downloads$ itctl fw upg -i ./pinetime-mcuboot-app-image-1.11.0.dat -f ./pinetime-mcuboot-app-image-1.11.0.bin 
418400 / 418488 B |----------------------------------------------------------------------------------------->| 99.98% 5m24s
Transferred 418488 B in 5m24.373980499s.
Remember to validate the new firmware in the InfiniTime settings.

Thanks again for the help! Downloading pinetime-mcuboot-app-dfu-1.11.0.zip, unzipping then running the following worked perfectly: ``` purism@pureos:~/Downloads$ itctl fw upg -i ./pinetime-mcuboot-app-image-1.11.0.dat -f ./pinetime-mcuboot-app-image-1.11.0.bin 418400 / 418488 B |----------------------------------------------------------------------------------------->| 99.98% 5m24s Transferred 418488 B in 5m24.373980499s. Remember to validate the new firmware in the InfiniTime settings. ```
Sign in to join this conversation.
No description provided.