scheinbar gibt es mit den Versionen ct-Bot1970 ct-Sim1949 ein Problem: der Bot startet im gestarteten Simulator nicht mehr, weder automatisch noch über den Button "c't-Bot" noch über ein Terminal.
@lenchen konnte das Problem gestern im IRC bestätigen.
In Eclipse erhalte ich nach dem Starten von c't-Sim 2.12 unten im c't-Sim-Fenster die Info:
Code: Alles auswählen
[22:50:05] Info: Warte auf Verbindung vom c't-Bot auf TCP-Port 10001
[22:50:05] Warning: Serielle Schnittstelle konnte nicht geladen werden:
[22:50:05] Warning: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
[22:50:05] Info: Neue Welt geöffnet
[22:50:05] Info: Starte externen Bot '/home/user/progs/ct-sim/eclipse/workspace/ct-Sim/../ct-Bot/Debug-Linux/ct-Bot'
[22:50:05] Severe: Ungültiges Kommando beim Handshake; ignoriere
Code: Alles auswählen
[14:13:55] Info: Starte externen Bot '/home/user/progs/ct-sim/eclipse/workspace/ct-Bot/Debug-Linux/ct-Bot'
Code: Alles auswählen
[10 Jan 2016 22:50:03.210] INFO: Lade Konfigurationsdatei 'config/ct-sim.xml' [ctSim.controller.Config.info() Thread AWT-EventQueue-0 (14)]
[10 Jan 2016 22:50:05.322] INFO: Warte auf Verbindung vom c't-Bot auf TCP-Port 10001 [ctSim.Connection.info() Thread AWT-EventQueue-0 (14)]
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
[10 Jan 2016 22:50:05.360] WARNING: Serielle Schnittstelle konnte nicht geladen werden: [ctSim.controller.warn() Thread AWT-EventQueue-0 (14)]
[10 Jan 2016 22:50:05.363] WARNING: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path [ctSim.controller.warn() Thread AWT-EventQueue-0 (14)]
[10 Jan 2016 22:50:05.763] INFO: Neue Welt geöffnet [ctSim.controller.info() Thread AWT-EventQueue-0 (14)]
[10 Jan 2016 22:50:05.770] INFO: Starte externen Bot '/home/user/progs/ct-sim/eclipse/workspace/ct-Sim/../ct-Bot/Debug-Linux/ct-Bot' [ctSim.controller.info() Thread AWT-EventQueue-0 (14)]
[10 Jan 2016 22:50:05.799] SEVERE: Ungültiges Kommando beim Handshake; ignoriere [ctSim.Connection.severe() Thread ctSim-Listener-10001/tcp (27)]
java.net.ProtocolException: Ungültiges Kommando (verkehrtes Richtungsbit, hätte 1 sein sollen); Kommando folgt
Command-Code: null
Subcommand-Code: null
Direction: 1
Data: L 0 / R 0
Seq: 0
From: 254
To: 0
Payload:
CRC: (0)
at ctSim.model.Command.<init>(Command.java:843)
at ctSim.Connection.doHandshake(Connection.java:167)
at ctSim.TcpConnection$1.work(TcpConnection.java:114)
at ctSim.util.SaferThread.run(SaferThread.java:60)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
at java.awt.Component.checkGD(Component.java:1182)
at java.awt.Container.addImpl(Container.java:1086)
at java.awt.Container.add(Container.java:966)
at ctSim.view.gui.WorldViewer.init(WorldViewer.java:138)
at ctSim.view.gui.WorldViewer.show(WorldViewer.java:100)
at ctSim.view.gui.MainWindow$3.run(MainWindow.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
In einem Terminal bleibt der manuelle Aufruf der Datei ct-Bot folgenlos mit der Meldung:
Könnte sich das mal jemand mit Rechten im Heise-Repository anschauen?~/progs/eclipse/workspace/ct-Bot/Debug-Linux$ ./ct-Bot
c't-Bot
Connection to localhost established on Port: 10001
Edit: Komplette Logs nachgetragen.