Seite 9 von 15

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 18. Aug 2019, 14:10
von Diliskar

Code: Alles auswählen

mfbot@raspberrypi:~/bot $ /home/mfbot/bot/MFBot_Konsole_ARMRasp
Loaded assembly

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (/home/mfbot/.local/share/mfbot.de/Console.exe_Url_965f909b6c1b6e95d7437f26d63d4f8475254c86/user.config) ---> System.Xml.XmlException: Root element is missing.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x0035d] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlReader.MoveToContent () [0x0003a] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration.Load () [0x00043] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0005d] in <a93aef1331f0472f816421bd7d6e3fa1>:0
   --- End of inner exception stack trace ---
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0007a] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00056] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000d] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.ConfigurationManager.OpenMappedExeConfiguration (System.Configuration.ExeConfigurationFileMap fileMap, System.Configuration.ConfigurationUserLevel userLevel) [0x00005] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.CustomizableFileSettingsProvider.LoadProperties (System.Configuration.ExeConfigurationFileMap exeMap, System.Configuration.SettingsPropertyCollection collection, System.Configuration.ConfigurationUserLevel level, System.String sectionGroupName, System.Boolean allowOverwrite, System.String groupName) [0x00000] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.CustomizableFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection collection) [0x0006a] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.LocalFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties) [0x00000] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.CacheValuesByProvider (System.Configuration.SettingsProvider provider) [0x0005b] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.GetPropertyValue (System.String propertyName) [0x00040] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.get_Item (System.String propertyName) [0x00014] in <1a0168907d2042858c12ff7b2c118a26>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Properties.Settings.get_HWID () [0x00000] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.get_HWID () [0x00005] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <a6f810169ec746eeb2789b925e2858c0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <a6f810169ec746eeb2789b925e2858c0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.SaveDefaults () [0x00072] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.get_Settings () [0x00014] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00010] in <d2a283d6c0c74ec79a3f1c52e2b7f0c3>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (/home/mfbot/.local/share/mfbot.de/Console.exe_Url_965f909b6c1b6e95d7437f26d63d4f8475254c86/user.config) ---> System.Xml.XmlException: Root element is missing.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x0035d] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Xml.XmlReader.MoveToContent () [0x0003a] in <dc0757ce36454b0b9a9299e0c944b915>:0
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration.Load () [0x00043] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0005d] in <a93aef1331f0472f816421bd7d6e3fa1>:0
   --- End of inner exception stack trace ---
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0007a] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00056] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000d] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.ConfigurationManager.OpenMappedExeConfiguration (System.Configuration.ExeConfigurationFileMap fileMap, System.Configuration.ConfigurationUserLevel userLevel) [0x00005] in <a93aef1331f0472f816421bd7d6e3fa1>:0
  at System.Configuration.CustomizableFileSettingsProvider.LoadProperties (System.Configuration.ExeConfigurationFileMap exeMap, System.Configuration.SettingsPropertyCollection collection, System.Configuration.ConfigurationUserLevel level, System.String sectionGroupName, System.Boolean allowOverwrite, System.String groupName) [0x00000] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.CustomizableFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection collection) [0x0006a] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.LocalFileSettingsProvider.GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties) [0x00000] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.CacheValuesByProvider (System.Configuration.SettingsProvider provider) [0x0005b] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.GetPropertyValue (System.String propertyName) [0x00040] in <1a0168907d2042858c12ff7b2c118a26>:0
  at System.Configuration.ApplicationSettingsBase.get_Item (System.String propertyName) [0x00014] in <1a0168907d2042858c12ff7b2c118a26>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Properties.Settings.get_HWID () [0x00000] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.get_HWID () [0x00005] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <a6f810169ec746eeb2789b925e2858c0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <a6f810169ec746eeb2789b925e2858c0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.SaveDefaults () [0x00072] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.GlobalSettings.get_Settings () [0x00014] in <ba9f61e4d513495d820f7d0958a71d52>:0
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00010] in <d2a283d6c0c74ec79a3f1c52e2b7f0c3>:0

Heya! Das ist der Output, wenn ich den Befehl in dem Bot order starte. Die Acc.ini ist im richtigen Order.
Hatte den Bot ja auch vor dem Reset perfekt laufen für mehrere Monate. Alles war das selbe.

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 18. Aug 2019, 14:30
von Robin
Lösche mal bitte alle Dateien unter /home/mfbot/.local/share/mfbot.de/ (rm -rf /home/mfbot/.local/share/mfbot.de/) und starte den Bot dann nochmal neu.

Grüße,
Robin

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 18. Aug 2019, 14:33
von Diliskar
Perfekt! Jetzt läufts wieder.
Vielen dank :)

Einen schönen Sonntag noch. LG

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 18. Aug 2019, 14:43
von Robin
Alles klar, freut mich! (y)
Ebenfalls einen schönen Sonntag!

Grüße,
Robin

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: Mo 19. Aug 2019, 21:04
von Phorkys
Robin hat geschrieben: So 18. Aug 2019, 11:13 @Phorkys: Wir haben leider keinen Pi 4 zum Testen hier, aber eigentlich sollte es nicht an der Architektur hängen.
Welche Distribution in welcher Version läuft denn auf deinem Pi? Ansonsten wäre eine Ausgabe von

Code: Alles auswählen

uname -a
noch super.

@Diliskar: Was gibt der Bot denn aus?

Grüße,
Robin
Hallo Robin,

Danke für die schnelle Antwort :)

Auf den Raspi läuft Raspbian 10 Buster
uname warf folgendes aus: Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux


Liebe Grüße
Nico

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: Mi 21. Aug 2019, 11:40
von Robin
Hi Nico,
ich werde mal in den nächsten Tagen (oder nach meinem Urlaub) versuchen, den Bot gegen eine neuere Raspbian-Variante zu kompilieren.
Bis dahin könntest du versuchen, folgendes in der Bash einzugeben, bevor du den Bot startest:

Code: Alles auswählen

export TERM=xterm
Grüße,
Robin

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: Mi 21. Aug 2019, 17:01
von Phorkys
Vielen Dank für den Hinweis. Ich werde es dann heute Abend mal probieren :)

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: Sa 12. Okt 2019, 23:51
von seboka
Kann auch die neuste Raspberry Pi Generation eingesetzt werden? Sprich Version 4? Und auch das neuste Debian (10.1)?

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 13. Okt 2019, 17:04
von Phorkys
Ich würde behaupten mal so mal so. Also Version .02 lief bei mir heute morgen.
Die neue Version .03 warf einige Error aus, wobei ich hierbei nicht ausschließen will, dass es andere Ursachen hat. Nämlich die neue Arenafunktion. Ich teste mal weiter

Re: Raspberry Pi - MFBot Konsolenversion

Verfasst: So 13. Okt 2019, 17:49
von Phorkys
Gleicher Fehler, der sich wie gewohnt mit dem xterm beheben lässt. Wieso es heute vormittag mit der alten Version ging, weiß ich nicht.