Bad PNG Signature in `modonomicon:textures/gui/entry_textures.png.license`
800020h opened this issue ยท 3 comments
Describe the bug
when searching "modo" in exposure catalog, this is spammed in the log
[21:41:34] [Render thread/WARN] (Minecraft) Failed to load texture: modonomicon:textures/gui/book_content.png.license
java.io.IOException: Bad PNG Signature
at knot/net.minecraft.class_8800.method_54945(Lights dimmed:44) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1011.method_4303(Can you see it?:139) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1011.method_4310(Can you see it?:111) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1011.method_4309(Can you see it?:102) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1049$class_4006.method_18156(Don't stop dreaming:87) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1049.method_18153(Light flickers in the distance:58) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1049.method_4625(Light flickers in the distance:29) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1060.method_24303(Can't you feel it?:96) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_1060.method_4616(Can't you feel it?:68) ~[client-intermediary.jar:?]
at knot/io.github.mortuusars.exposure.client.image.ResourceImage.getOrCreate(Parse cruelty with eyes closed:36) ~[exposure-fabric-1.21.1-1.9.10.jar:?]
at knot/io.github.mortuusars.exposure.world.level.storage.ExposureIdentifier.map(As pits in earth are eager to fill:123) ~[exposure-fabric-1.21.1-1.9.10.jar:?]
at knot/io.github.mortuusars.exposure.client.RenderedExposures.getOrCreateRaw(In time it will all make sense:33) ~[exposure-fabric-1.21.1-1.9.10.jar:?]
at knot/io.github.mortuusars.exposure_catalog.client.gui.screen.CatalogScreen.getThumbnailImage(Granted a heaven your own?:763) ~[exposure_catalog-fabric-1.1.0.jar:?]
at knot/io.github.mortuusars.exposure_catalog.client.gui.screen.CatalogScreen.renderThumbnailsGrid(Granted a heaven your own?:741) ~[exposure_catalog-fabric-1.1.0.jar:?]
at knot/io.github.mortuusars.exposure_catalog.client.gui.screen.CatalogScreen.method_25394(Granted a heaven your own?:727) ~[exposure_catalog-fabric-1.1.0.jar:?]
at knot/net.minecraft.class_437.method_47413(Find refuge:117) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_757.mixinextras$bridge$method_47413$212(Lights dimmed) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_757.wrapOperation$cjf000$fabric-screen-api-v1$onRenderScreen(Lights dimmed:5086) [client-intermediary.jar:?]
at knot/net.minecraft.class_757.method_3192(Lights dimmed:913) [client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(A world now silent:1285) [client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(A world now silent:882) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(As pits in earth are eager to fill:256) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.14.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.14.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.14.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]To Reproduce
Steps to reproduce the behavior:
- have modonomicon, https://modrinth.com/mod/exposure, and https://modrinth.com/mod/exposure-catalog
- open the catalog with
/exposure catalog - search the texture part for
modo - check
latest.log
Expected behavior
no log spam
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
- Modonomicon Version: modonomicon-1.21.1-fabric-1.115.0
- OS: Windows
- Minecraft Version: 1.21.1
- Modpack Link and Version, or list of mods: https://modrinth.com/mod/exposure, https://modrinth.com/mod/exposure-catalog, and others that aren't relevant afaik
Additional context
Add any other context about the problem here.
Could you report this with exposure as well?
That file is not a png file, it is a licensing metadata file, so that loading it fails is expected.
Ideally exposure could filter for valid image file endings before loading, if that is not possible I can look into removing license metadata.
closed as completed mortuusars/ExposureCatalog#7