This is sort of both a feature request and a bug report:
Feature Request:
Screenshot for illustration.
With the new updates allowing us to parse chat using chatbot scripts, and receive maps of people present, I don't think it should still be essential to open these frames if we are running mafia using the --CLI argument.
Bug Report:
When running mafia headless, I get the following. First (bottom report) is from entering "chat" into the CLI. Subsequent ones are when messages are found. (I think resolving the above would also resolve this -- is that right? -- since running headless also involves running mafia under the --CLI argument):
Feature Request:
Screenshot for illustration.
With the new updates allowing us to parse chat using chatbot scripts, and receive maps of people present, I don't think it should still be essential to open these frames if we are running mafia using the --CLI argument.
Bug Report:
When running mafia headless, I get the following. First (bottom report) is from entering "chat" into the CLI. Subsequent ones are when messages are found. (I think resolving the above would also resolve this -- is that right? -- since running headless also involves running mafia under the --CLI argument):
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lmafia v14.3 r8959, Linux, Java 1.5.0_07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Mon Jan 31 19:50:14 PST 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.awt.HeadlessException: null
java.awt.HeadlessException
at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at
net.sourceforge.kolmafia.swingui.GenericFrame.<init>(GenericFrame.java:125)
at
net.sourceforge.kolmafia.swingui.ChatFrame.<init>(ChatFrame.java:87)
at
net.sourceforge.kolmafia.chat.ChatManager.openWindow(ChatManager.java:541)
at
net.sourceforge.kolmafia.chat.ChatManager.processChannelEnable(ChatManager.java:355)
at
net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:264)
at
net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at
net.sourceforge.kolmafia.chat.ChatSender.sendRequest(ChatSender.java:239)
at
net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:179)
at
net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:138)
at
net.sourceforge.kolmafia.chat.ChatPoller.getEntries(ChatPoller.java:105)
KoLmafia v14.3 r8959, Linux, Java 1.5.0_07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Mon Jan 31 19:50:14 PST 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.awt.HeadlessException: null
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at net.sourceforge.kolmafia.swingui.GenericFrame.<init>(GenericFrame.java:125)
at net.sourceforge.kolmafia.swingui.ChatFrame.<init>(ChatFrame.java:87)
at net.sourceforge.kolmafia.chat.ChatManager.openWindow(ChatManager.java:541)
at net.sourceforge.kolmafia.chat.ChatManager.processChannelEnable(ChatManager.java:355)
at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:264)
at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at net.sourceforge.kolmafia.chat.ChatSender.sendRequest(ChatSender.java:239)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:179)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:138)
at net.sourceforge.kolmafia.chat.ChatPoller.getEntries(ChatPoller.java:105)
at net.sourceforge.kolmafia.chat.ChatPoller.run(ChatPoller.java:71)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.3 r8959, Linux, Java 1.5.0_07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Mon Jan 31 19:51:13 PST 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.awt.HeadlessException: null
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at net.sourceforge.kolmafia.swingui.GenericFrame.<init>(GenericFrame.java:125)
at net.sourceforge.kolmafia.swingui.ChatFrame.<init>(ChatFrame.java:87)
at net.sourceforge.kolmafia.chat.ChatManager.openWindow(ChatManager.java:541)
at net.sourceforge.kolmafia.chat.ChatManager.processChannelEnable(ChatManager.java:355)
at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:264)
at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at net.sourceforge.kolmafia.chat.ChatSender.sendRequest(ChatSender.java:239)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:179)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:138)
at net.sourceforge.kolmafia.chat.ChatPoller.getEntries(ChatPoller.java:105)
at net.sourceforge.kolmafia.chat.ChatPoller.run(ChatPoller.java:71)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.3 r8959, Linux, Java 1.5.0_07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Tue Feb 01 01:58:38 PST 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.awt.HeadlessException: null
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at net.sourceforge.kolmafia.swingui.GenericFrame.<init>(GenericFrame.java:125)
at net.sourceforge.kolmafia.swingui.ChatFrame.<init>(ChatFrame.java:87)
at net.sourceforge.kolmafia.chat.ChatManager.openWindow(ChatManager.java:541)
at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:298)
at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at net.sourceforge.kolmafia.chat.ChatSender.sendRequest(ChatSender.java:239)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:179)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:126)
at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:105)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.chat_private(RuntimeLibrary.java:3879)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:119)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:166)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:451)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:129)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:265)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:198)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:191)
at net.sourceforge.kolmafia.chat.ChatManager.processCommand(ChatManager.java:485)
at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:280)
at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at net.sourceforge.kolmafia.chat.ChatPoller.getEntries(ChatPoller.java:143)
at net.sourceforge.kolmafia.chat.ChatPoller.run(ChatPoller.java:71)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.3 r8959, Linux, Java 1.5.0_07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the dev team to look at it, please write a bug report
at kolmafia.us. Include specific information about what you were
doing when you made this and include the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Tue Feb 01 01:58:45 PST 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.awt.HeadlessException: null
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at net.sourceforge.kolmafia.swingui.GenericFrame.<init>(GenericFrame.java:125)
at net.sourceforge.kolmafia.swingui.ChatFrame.<init>(ChatFrame.java:87)
at net.sourceforge.kolmafia.chat.ChatManager.openWindow(ChatManager.java:541)
at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:298)
at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:250)
at net.sourceforge.kolmafia.chat.ChatPoller.getEntries(ChatPoller.java:143)
at net.sourceforge.kolmafia.chat.ChatPoller.run(ChatPoller.java:71)