siglo icon indicating copy to clipboard operation
siglo copied to clipboard

Unable to upload resources

Open jjs10 opened this issue 2 years ago • 3 comments

With PineTime 1.11 release there is now a resources zip file that needs to be uploaded to get new watch faces. I am currently unable to use Siglo to upload the resources .zip file

jjs10 avatar Oct 17 '22 00:10 jjs10

Same to me: Upload of resources zipfile shows error. Console messages:

Downloading https://github.com/InfiniTimeOrg/InfiniTime/releases/download/1.11.0/infinitime-resources-1.11.0.zip ERR pop from empty list Traceback (most recent call last): File "/app/share/siglo/siglo/window.py", line 298, in on_firmware_run_clicked self.start_flash() File "/app/share/siglo/siglo/window.py", line 313, in start_flash firmware_path=binfile, UnboundLocalError: local variable 'binfile' referenced before assignment

Run as root (same result as user) on Ubuntu 22.04.1 64bit

halivorg avatar Nov 03 '22 09:11 halivorg

Having just updated Siglo to verision 0.9.9. The upload of the resources zipfile still does not work. My Pinetime runs software version 1.11.0, I am connecting from a Ubuntu workstation running Ubuntu 22.10 (kernel Linux 5.19.0-23-generic x86_64). Siglo connects to the Pinetime hassle-free. While trying to upload the resources the error messages changed sligtly from the previous Silgo version:

File set! ERR pop from empty list Traceback (most recent call last): File "/app/share/siglo/siglo/window.py", line 280, in firmware_run_file_clicked_cb self.start_flash() File "/app/share/siglo/siglo/window.py", line 313, in start_flash firmware_path=binfile, UnboundLocalError: local variable 'binfile' referenced before assignment

Run as root with a local downloaded resources zipfile.

halivorg avatar Nov 10 '22 22:11 halivorg

*Note : at the time of writing this page, Amazfish and ITD have already integrated this functionality. Other companion apps will hopefully implement it soon!

https://github.com/InfiniTimeOrg/InfiniTime/blob/develop/doc/gettingStarted/updating-software.md

for reference, here's the commit that added uploading resources support to Amazfish:

https://github.com/piggz/harbour-amazfish/commit/d0ead243372a4c56b31557d7faa0164db8c294bb

note that it is followed up by two fixes.

h0lley avatar Dec 20 '22 21:12 h0lley