nzyme
nzyme copied to clipboard
nzyme-tracker TEXTGUI blank display
[groundstation-listener-0] WARN horse.wtf.nzyme.bandits.trackers.devices.SX126XLoRaHat - Error in read loop.
java.security.GeneralSecurityException: ciphertext too short
at com.google.crypto.tink.subtle.AesGcmJce.decrypt(AesGcmJce.java:101) ~[nzyme-1.2.2.jar:?]
at horse.wtf.nzyme.security.transport.TransportEncryption.decrypt(TransportEncryption.java:50) ~[nzyme-1.2.2.jar:?]
at horse.wtf.nzyme.bandits.trackers.devices.SX126XLoRaHat.readLoop(SX126XLoRaHat.java:145) ~[nzyme-1.2.2.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
03:10:35.724 [textguihid-0] ERROR horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID - Could not initialize Text GUI HID.
java.io.IOException: Cannot run program "/bin/stty": /dev/tty (No such device or address)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) ~[?:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTTYTerminal.exec(UnixLikeTTYTerminal.java:158) ~[nzyme-1.2.2.jar:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTTYTerminal.runSTTYCommand(UnixLikeTTYTerminal.java:150) ~[nzyme-1.2.2.jar:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTTYTerminal.saveTerminalSettings(UnixLikeTTYTerminal.java:113) ~[nzyme-1.2.2.jar:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTerminal.acquire(UnixLikeTerminal.java:86) ~[nzyme-1.2.2.jar:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTTYTerminal.realAcquire(UnixLikeTTYTerminal.java:86) ~[nzyme-1.2.2.jar:?]
at com.googlecode.lanterna.terminal.ansi.UnixLikeTTYTerminal.
Tracker is online and talking to the leader but i cannot get the TEXTGUI to work. Running on Buster. Config is basic so not sur ewhat the problem is.
This is the real snag
15:52:10.827 [textguihid-0] ERROR horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID - Could not initialize Text GUI HID. java.lang.IllegalArgumentException: selectedRow must be >= 0 but was -1 at com.googlecode.lanterna.gui2.table.Table.setSelectedRow(Table.java:315) ~[nzyme-1.2.2.jar:?] at horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID.initializeGUI(TextGUIHID.java:266) ~[nzyme-1.2.2.jar:?] at horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID.lambda$initialize$0(TextGUIHID.java:99) ~[nzyme-1.2.2.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
does this only work with a specific display, i havea 4 inch touch screen and all i get is a blank with a cursor. Webgui works fine, nzyme itself is good as well. Any help?
It should work with any display. What is the full log of nzyme?
The first post has the output of the log, it just loops that output when the textguid option is enabled. Screen has a blank cursor, screen works fine otherwise during boot and to see the cli. Webgui works fine also. Saw some java errors in there. Is there some other log?
03:10:35.918 [textguihid-0] ERROR horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID - Could not initialize Text GUI HID. java.lang.IllegalArgumentException: selectedRow must be >= 0 but was -1 at com.googlecode.lanterna.gui2.table.Table.setSelectedRow(Table.java:315) ~[nzyme-1.2.2.jar:?] at horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID.initializeGUI(TextGUIHID.java:266) ~[nzyme-1.2.2.jar:?] at horse.wtf.nzyme.bandits.trackers.hid.TextGUIHID.lambda$initialize$0(TextGUIHID.java:99) ~[nzyme-1.2.2.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
This seems to be the snag.
The screen is set to mirror hdmi output.
https://github.com/lennartkoopmann/nzyme/assets/25377845/35c9241c-cc49-425c-9ba8-a4a29c82e4e6
using this touchscreen https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)