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

[BUG] Icons not working #644

Closed
sysadminsh opened this issue Dec 13, 2024 · 12 comments
Closed

[BUG] Icons not working #644

sysadminsh opened this issue Dec 13, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@sysadminsh
Copy link

sysadminsh commented Dec 13, 2024

Bug report

Describe the bug

There is no possibilty to use web interface to download icons. The example error is: Failed to load resource: the server responded with a status of 404. And indeed this is true, example URL from Network tab after clicking is true 404: https://corsproxy.io/?https://developer.lametric.com/content/apps/icon_thumbs/55381.

Morever after trying to download it manually it is png and even conversion to jpg with Photoshop or just extension change results in blank icon on display.

Additional information

  • Devices involved:
    • Model: Ulanzi TC001
    • awtrix3 version: v 0.96

To Reproduce

Try to download any icon.

Expected behavior

Icons should work.

Screenshots

TsvqWbyyRt

@sysadminsh sysadminsh added the bug Something isn't working label Dec 13, 2024
@Blueforcer
Copy link
Owner

Blueforcer commented Dec 13, 2024

duplicate of #642 and #362
Will be fixed soon, in the meantime make sure you downloaded the 8x8 icon, not the thumb.
You can also use the mobile app to download icons from awtrix own icon database

@sysadminsh
Copy link
Author

55381

This is my icon and it is in ICONS/55381.jpg and yes it is 8x8 but after placing it in icons there is a place in display where the icon should but it is not. This also apply to another icons that I'm trying to download.

@makavelli20
Copy link

Same here.Uploaded not recognized and download thru UI doesnt work...

@Blueforcer
Copy link
Owner

Blueforcer commented Dec 14, 2024

Check out this firmware version so i get more feedback:
#362 (comment)

@makavelli20
Copy link

It works now.Firmware installed,json deleted and device restarted.After these steps everything works great.Thank you!

@sysadminsh
Copy link
Author

Yes, now it works as for Lametric icons. However I'm still not able to run my own 8x8 JPG icon created in Photoshop. On file browser icon is normally recognized but on display there is empty black place.

@mcbookwood
Copy link

The download of the icons is working with this firmware, but i got an yellow pixel on the left bottom, which comes and dissappears. The menu also only responds every third time the buttons are pressed. In addition, the entire system seems a bit laggy. Icons work, but everything else somehow doesn’t anymore.

@Blueforcer
Copy link
Owner

The download of the icons is working with this firmware, but i got an yellow pixel on the left bottom, which comes and dissappears. The menu also only responds every third time the buttons are pressed. In addition, the entire system seems a bit laggy. Icons work, but everything else somehow doesn’t anymore.

this means awtrix has issues to connect to your MQTT broker. Since the reconnect doesn't run asynchronous, the software stops during the reconnect and "lags".
But this behavior is the same as the official firmware.

@mcbookwood
Copy link

The download of the icons is working with this firmware, but i got an yellow pixel on the left bottom, which comes and dissappears. The menu also only responds every third time the buttons are pressed. In addition, the entire system seems a bit laggy. Icons work, but everything else somehow doesn’t anymore.

this means awtrix has issues to connect to your MQTT broker. Since the reconnect doesn't run asynchronous, the software stops during the reconnect and "lags". But this behavior is the same as the official firmware.

Thanks for the hint. I'll give it another try.

@mcbookwood
Copy link

Works for me now! Thank you!

@kRew94
Copy link

kRew94 commented Dec 17, 2024

Hello, i tried updating the firmware mentioned in the other issue, but i get the error: "Update error: Flash Read Failed". What could be the case with this error? I went via the IP and choose update, selected the firmware.bin and clicked on "Update Firmware".

@kRew94
Copy link

kRew94 commented Dec 17, 2024

Hello, i tried updating the firmware mentioned in the other issue, but i get the error: "Update error: Flash Read Failed". What could be the case with this error? I went via the IP and choose update, selected the firmware.bin and clicked on "Update Firmware".

Worked it out, i did a fresh flash of the original firmware and after that I was able to flash the provided firmware.

Blueforcer added a commit that referenced this issue Dec 24, 2024
- Implemented a new SSL certificate for the on-device update function. closes #525
- Resolved an issue causing the integrated icon downloader to malfunction in certain countries. closes #537 #362 #644 #642
- Added support for the Polish language by converting Polish characters to their ASCII equivalents
- MQTT Placeholders in Custom Apps
- Option to set the bar backgroundcolor in the bar drawing function.  closes #577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants