Comments (6)
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.
Just an FYI, the same issue is happening for me in Fedora 35 via the RPM Package. Removing the cards helped.
from tokentool.
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.
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.
❯ ./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.
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)
- TokenTool does not start HOT 4
- Release build should create an MSI for windows HOT 1
- Filetype selector on Save As... dialog is stuck on WebP HOT 1
- The 2.2 installer does not contain overlays HOT 1
- Fails to start with missing image on arch HOT 10
- token tool not starting HOT 3
- [BUG]: TT hangs when clicking "Change Portrait Image"
- Changing portrait does not work HOT 5
- Generating two-sided tokens HOT 1
- Crash to desktop on loading HOT 4
- [BUG]: Not opening Portrait images on Windows 11 HOT 5
- Token Tool 2.2.1 will not open HOT 2
- PSD not loading into Overlay Manager HOT 1
- Add New File Format Support: AVIF HOT 3
- Updated Overlays HOT 14
- Option to not autocrop/ recentre for asymmetric overlays
- Capture Screen function freezes TokenTool (Ubuntu 22.04 XFCE)
- Option to add a suffix to token creation
- Trackpad - panning vs zooming HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokentool.