Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload resources #120

Open
jjs10 opened this issue Oct 17, 2022 · 3 comments · May be fixed by #128
Open

Unable to upload resources #120

jjs10 opened this issue Oct 17, 2022 · 3 comments · May be fixed by #128

Comments

@jjs10
Copy link

jjs10 commented Oct 17, 2022

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

@halivorg
Copy link

halivorg commented Nov 3, 2022

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
Copy link

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.

@h0lley
Copy link

h0lley commented Dec 20, 2022

*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:

piggz/harbour-amazfish@d0ead24

note that it is followed up by two fixes.

@Tabby Tabby linked a pull request Mar 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants