Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

888k Downloads

images with different format not committing to database

JurgenKuyper opened this issue ยท 5 comments

commented

Issue Description: *on the setup server, I am trying to show webp tiles together with jpg/png ones, and if I fullrender the world, it only commits tiles with format 1 or 0 to the database (png / jpg) and not webp format (2), if I clean the Tiles table, dynmap adds the entry for the tiles with the proper format (2), but doesn't commit the image string to the database:
image
*

  • Dynmap Version: core=3.5-SNAPSHOT-836, plugin=3.5-SNAPSHOT-836
  • Server Version: git-Paper-310 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: f6ffbc2)
  • Pastebin of Configuration.txt: https://github.com/JurgenKuyper/Dynmap-setup/blob/master/configuration.txt
  • Server Host (if applicable): OCI infrastructure Ubuntu
  • Pastebin of crashlogs or other relevant logs: NA
  • Other Relevant Data/Screenshots: NA
  • Steps to Replicate: add entries in worlds.txt for both format jpg and webp, start a fullrender, and see that only jpg is being committed to the database.

[x] I have looked at all other issues and this is not a duplicate
[x] I have been able to replicate this

commented

update, after running a new fullrender I now get this as output on the db:
image

commented

another update, after the fullrender finished, all the format 2 rows are deleted from the database, without my intervention, they are not added to the database

commented

update, on a linux system it works, using an AMD processor, but on a linux system using an ARM processor, it doesn't. Did some debugging of the BufferInputStream that sends the data to the DB, and it seems to contain the value -1 before webp encoding is called. this issue gets stranger by the day.

commented

further update, on windows, the cwebtools seem to work fine and show properly together with png and jpg files, on linux however, they don't.

commented

first I had the wrong webp tools installed as there are no ones available for arm, then I followed the guide explained in #3953 , and then forgot to add the binary to the path of the user executing the mc server. preliminary data seems to point in a working direction.