c't Projekte - c't-Bot und c't-Sim -
Mailinglisten
[Voriger (Datum)]
[Nächster (Datum)]
[Voriger (Thread)]
[Nächster (Thread)]
[Nach Datum][Nach Thread]
Absender: Harald W. Leschner
Datum: Mo, 17.03.2008 20:13:37
In-reply-to:
<8FB9DBDF-80C5-4B83-ABF4-FAAAF89A860F@xxxxxxxxxxxxxxx>
References:
<200803161525.40687.ctbot@xxxxxxxxxx> <99C35AD9-7220-4DCA-A273-D5F2A95C9C85@xxxxxxxxxxxxxxx> <47DDB980.3070802@xxxxxxx> <47DE3456.6090208@xxxxxxxx> <47DE4A1A.3000301@xxxxxxx> <47DE5332.2040203@xxxxxxxx> <47DE5D58.3070701@xxxxxxx> <8FB9DBDF-80C5-4B83-ABF4-FAAAF89A860F@xxxxxxxxxxxxxxx>
Timo Sandmann schrieb:
Aber zum Problem mit dem echten Bot über USB: Könntest du bitte mal in
config/ct-sim.xml in Zeile 42 einen Pfad eintragen, den es gar nicht
gibt (dadurch wird einfach keine Bot-Exe beim Start geladen) und dann
mit der aktualisierten Sim-Version noch mal versuchen einen echten Bot
per USB zu verbinden?
Hi Timo,
hier die Fehlermeldungen, wenn ich den Sim starte (mit
nichtexistierendem Bot.exe Pfad) und dann den echten Bot anschliesse:
Es gibt dann mehrmals den USB Bot und:
[17 Mrz 08 20:08:28.247] INFO: Lade Konfigurationsdatei
'config/ct-sim.xml' [ctSim.controller.Config.info() Thread (10)]
[17 Mrz 08 20:08:34.526] INFO: Warte auf Verbindung vom c't-Bot auf
TCP-Port 10001 [ctSim.Connection.info() Thread (10)]
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[17 Mrz 08 20:08:35.037] INFO: Warte auf Verbindung vom c't-Bot an
seriellem Port COM6 (57600 baud) [ctSim.Connection.info() Thread (10)]
[17 Mrz 08 20:08:36.459] INFO: Neue Welt geöffnet
[ctSim.controller.info() Thread (10)]
[17 Mrz 08 20:08:36.489] WARNING: Bot-Datei
'D:\home\ct-roboter\ct-bot_WORK\ct-Bot
(SVN)\ct-Bot_SVN\Debug-W32\ct-Bot.exe' nicht gefunden
[ctSim.controller.warning() Thread (10)]
[17 Mrz 08 20:08:46.824] INFO: Setze die Id von Bot USB-Bot auf 0
[ctSim.model.bots.info() Thread AWT-EventQueue-0 (13)]
[17 Mrz 08 20:08:46.854] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Die Id dieses Bots existiert schon im
Controller!
at ctSim.model.bots.BasicBot.setController(BasicBot.java:454)
at
ctSim.controller.DefaultController.onBotAppeared(DefaultController.java:449)
at ctSim.Connection.doHandshake(Connection.java:162)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:46.914] INFO: Setze die Id von Bot USB-Bot (2) auf 0
[ctSim.model.bots.info() Thread AWT-EventQueue-0 (13)]
[17 Mrz 08 20:08:46.914] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Die Id dieses Bots existiert schon im
Controller!
at ctSim.model.bots.BasicBot.setController(BasicBot.java:454)
at
ctSim.controller.DefaultController.onBotAppeared(DefaultController.java:449)
at ctSim.Connection.doHandshake(Connection.java:162)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:46.954] INFO: Setze die Id von Bot USB-Bot (3) auf 0
[ctSim.model.bots.info() Thread AWT-EventQueue-0 (13)]
[17 Mrz 08 20:08:46.954] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Die Id dieses Bots existiert schon im
Controller!
at ctSim.model.bots.BasicBot.setController(BasicBot.java:454)
at
ctSim.controller.DefaultController.onBotAppeared(DefaultController.java:449)
at ctSim.Connection.doHandshake(Connection.java:162)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.034] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:47.034] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:47.034] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (16)]
java.net.ProtocolException: Command-Code (0) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.355] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:47.455] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:47.455] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Command-Code 'N' (78) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.Connection.doHandshake(Connection.java:160)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.455] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (14)]
java.net.ProtocolException: Command-Code 'N' (78) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.455] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:47.455] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:47.555] INFO: Fordere beim Bot eine Liste der möglichen
Behaviors an [ctSim.model.bots.components.RemoteCallCompnt.info() Thread
(10)]
[17 Mrz 08 20:08:47.555] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:47.755] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:47.755] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (16)]
java.net.ProtocolException: Command-Code '[' (91) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.765] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (14)]
java.net.ProtocolException: Command-Code 'U' (85) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.765] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Command-Code 'a' (97) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.Connection.doHandshake(Connection.java:160)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.846] INFO: Bot "USB-Bot" wurde hinzugefuegt.
[ctSim.view.gui.info() Thread (10)]
[17 Mrz 08 20:08:47.866] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:47.866] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (15)]
java.net.ProtocolException: Sub-Command-Code 'D' (68) nicht vorgesehen
für Command-Code 'E' (69)
at ctSim.model.Command$Code.getSubCode(Command.java:407)
at ctSim.model.Command.<init>(Command.java:659)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:47.866] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:48.016] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Command-Code '>' (62) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.Connection.doHandshake(Connection.java:160)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.016] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:48.066] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:48.066] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (14)]
java.net.ProtocolException: Command-Code (0) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.066] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:48.116] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:48.116] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (15)]
java.net.ProtocolException: Command-Code (0) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.206] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:48.216] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (15)]
java.net.ProtocolException: Command-Code (0) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.226] INFO: Fordere beim Bot eine Liste der möglichen
Behaviors an [ctSim.model.bots.components.RemoteCallCompnt.info() Thread
(10)]
[17 Mrz 08 20:08:48.226] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:48.226] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (16)]
java.net.ProtocolException: Command-Code 'N' (78) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.396] INFO: Bot "USB-Bot (2)" wurde hinzugefuegt.
[ctSim.view.gui.info() Thread (10)]
[17 Mrz 08 20:08:48.416] SEVERE: Ungültiges Kommando beim Handshake;
ignoriere [ctSim.Connection.severe() Thread AWT-EventQueue-0 (13)]
java.net.ProtocolException: Command-Code 'N' (78) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.Connection.doHandshake(Connection.java:160)
at ctSim.ComConnection$ComListenerThread.work(ComConnection.java:320)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.416] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:48.426] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (14)]
java.net.ProtocolException: Command-Code 'N' (78) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.446] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:48.466] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (15)]
java.net.ProtocolException: Command-Code (0) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.496] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (16)]
java.net.ProtocolException: Command-Code '>' (62) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.496] WARNING: Ungültiges Kommando; ignorierenull
[ctSim.model.bots.warning() Thread (14)]
java.net.ProtocolException: Command-Code '<' (60) unbekannt
at ctSim.model.Command$Code.fromByte(Command.java:389)
at ctSim.model.Command.<init>(Command.java:657)
at ctSim.model.Command.<init>(Command.java:599)
at ctSim.model.bots.ctbot.RealCtBot$CmdProcessor.work(RealCtBot.java:50)
at ctSim.util.SaferThread.run(SaferThread.java:41)
[17 Mrz 08 20:08:48.506] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (15)]
[17 Mrz 08 20:08:48.537] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (16)]
[17 Mrz 08 20:08:48.537] WARNING: Unerwartetes Zeichen als Startcode;
Synchronisierung verloren; synchronisiere neu
[ctSim.model.Command.warn() Thread (14)]
[17 Mrz 08 20:08:48.587] INFO: Fordere beim Bot eine Liste der möglichen
Behaviors an [ctSim.model.bots.components.RemoteCallCompnt.info() Thread
(10)]
[17 Mrz 08 20:08:48.817] INFO: Bot "USB-Bot (3)" wurde hinzugefuegt.
[ctSim.view.gui.info() Thread (10)]
Es scheint eine Schleife zu geben, die dann endlos Fehlermeldungen
ausgibt....huhuhu spooky!
Good hunting!
H.