mattpannella / pupdate

Pupdate - A thing for updating your Analogue Pocket
https://mattpannella.github.io/pupdate/
MIT License
1.07k stars 38 forks source link

Firmware update failing #278

Closed Drako closed 4 months ago

Drako commented 6 months ago

Version 3.9.0

When I run "Update All" or even just "Update Firmware", the update fails with the following message:

Checking for firmware updates...
Firmware update found. Downloading...
Well, something went wrong. Sorry about that.
One or more errors occurred. (A task was canceled.)
Press any key to continue.

At the time the most recent downloadable firmware version is 2.2. Already on the SD card is the "pocket_firmware_2_1.bin" which I'm not sure if I'm supposed to delete first.

Manually I can easily download the current firmware image. And it loads even faster than the updater takes to display the rather useless error. Sadly I also couldn't find any --verbose option to get more information on the error.

Drako commented 6 months ago

After manually updating the firmware, updating the rest works fine. It would still be interesting to find out, what the source of the issue here is.

hallem commented 6 months ago

There isn't a verbose option yet. We're looking into what can be done for better logging. The error message you screen capped though suggests something is wrong with the http request to get the file. What version of pupdate are you running?

Also, you don't have to remove the old version first. Just as a heads up.

hallem commented 6 months ago

I've tested it out on a few different SD cards and local Pocket folders. I wasn't able to reproduce the issue. If you wouldn't mind, try deleting the firmware on your SD card and then running the update firmware again to see if it was just an intermittent issue with downloading the file.

Drako commented 6 months ago

What version of pupdate are you running?

As mentioned in the question: 3.9.0

If you wouldn't mind, try deleting the firmware on your SD card and then running the update firmware again to see if it was just an intermittent issue with downloading the file.

I'll try that and add a comment with the results.