Giter Site home page Giter Site logo

Comments (6)

Phergus avatar Phergus commented on July 29, 2024 1

For some reason the included Cards overlays give some image libraries fits.

You can delete them if you don't want them or you can load them into an editor and then re-save them which may help.

from tokentool.

trev-dev avatar trev-dev commented on July 29, 2024 1

Just an FYI, the same issue is happening for me in Fedora 35 via the RPM Package. Removing the cards helped.

from tokentool.

XaverStiensmeier avatar XaverStiensmeier commented on July 29, 2024 1

FYI, the same issue is happening for me in Ubuntu 22.04. Removing the cards helped. Converting (using convert) the cards did not help.

from tokentool.

jonititan avatar jonititan commented on July 29, 2024 1

so for those wondering here is the solution. require imagemagick installed
navigate to the card folder. ~/.tokentool-rptools/overlays/Cards on my install

mogrify -auto-orient -format png *.jpg

then

rm *.jpg

from tokentool.

alec-hoyland avatar alec-hoyland commented on July 29, 2024
❯ ./TokenTool --help
2021-12-22 11:46:52,197 JavaFX-Launcher ERROR Appenders contains an invalid element or attribute "Sentry"
2021-12-22 11:46:52,207 JavaFX-Launcher ERROR Unable to locate appender "Sentry" for logger config "root"
11:46:52.251 (null:-1) [JavaFX-Launcher] INFO  - Overlays installed: 183
11:46:52.306 (null:-1) [JavaFX-Launcher] INFO  - Environment: Production
11:46:52.306 (null:-1) [JavaFX-Launcher] INFO  - Sentry DSN: https://[email protected]/1406000
11:46:52.306 (null:-1) [JavaFX-Launcher] INFO  - Vendor: rptools
11:46:52.306 (null:-1) [JavaFX-Launcher] INFO  - Release: 2.2.1
11:46:52.307 (null:-1) [JavaFX-Launcher] INFO  - OS: Linux
11:46:52.307 (null:-1) [JavaFX-Launcher] INFO  - 3D Hardware Available? false
11:46:52.313 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays
11:46:52.313 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Create
11:46:52.415 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round
11:46:52.415 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Decorated
11:46:53.041 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Smooth
11:46:54.139 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Gears
11:46:54.209 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Runes
11:46:54.483 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Bottlecaps
11:46:54.791 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Round/Chains
11:46:55.044 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Square
11:46:55.148 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Hex
11:46:55.204 (null:-1) [JavaFX-Launcher] DEBUG - caching /home/alec/.tokentool-rptools/overlays/Cards
Exception in Application init method
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source)
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at java.base/sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application init method
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Image dimensions must be positive (w,h > 0)
	at javafx.graphics/javafx.scene.image.Image.<init>(Unknown Source)
	at javafx.graphics/javafx.scene.image.WritableImage.<init>(Unknown Source)
	at [email protected]/net.rptools.tokentool.util.ImageUtil.processMagenta(Unknown Source)
	at [email protected]/net.rptools.tokentool.util.ImageUtil.getImage(Unknown Source)
	at [email protected]/net.rptools.tokentool.util.ImageUtil.getOverlayThumb(Unknown Source)
	at [email protected]/net.rptools.tokentool.client.TokenTool.cacheOverlays(Unknown Source)
	at [email protected]/net.rptools.tokentool.client.TokenTool.cacheOverlays(Unknown Source)
	at [email protected]/net.rptools.tokentool.client.TokenTool.init(Unknown Source)
	... 3 more
Exception running application net.rptools.tokentool.client.TokenTool

from tokentool.

tzunder avatar tzunder commented on July 29, 2024

Same problem Ubuntu 23.04, removed the Cards, works fine. Is this on the FAQ, or is it worth removing the Cards from the distributed version with a note?

from tokentool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.