Raspberry Pi - MFBot Konsolenversion

Diliskar
Beiträge: 7
Registriert: Mi 13. Mär 2019, 14:56
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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.
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
Diliskar
Beiträge: 7
Registriert: Mi 13. Mär 2019, 14:56
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag von Diliskar »

Perfekt! Jetzt läufts wieder.
Vielen dank :)

Einen schönen Sonntag noch. LG
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag von Robin »

Alles klar, freut mich! (y)
Ebenfalls einen schönen Sonntag!

Grüße,
Robin
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
Phorkys
Beiträge: 53
Registriert: So 17. Nov 2013, 10:24
Hat sich bedankt: 12 Mal
Danksagung erhalten: 6 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
Phorkys
Beiträge: 53
Registriert: So 17. Nov 2013, 10:24
Hat sich bedankt: 12 Mal
Danksagung erhalten: 6 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag von Phorkys »

Vielen Dank für den Hinweis. Ich werde es dann heute Abend mal probieren :)
Folgende Benutzer bedankten sich beim Autor Phorkys für den Beitrag:
Robin (Mi 21. Aug 2019, 17:45)
Benutzeravatar
seboka
Beiträge: 240
Registriert: Mo 4. Jan 2016, 15:24
Hat sich bedankt: 6 Mal
Danksagung erhalten: 12 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag von seboka »

Kann auch die neuste Raspberry Pi Generation eingesetzt werden? Sprich Version 4? Und auch das neuste Debian (10.1)?
Phorkys
Beiträge: 53
Registriert: So 17. Nov 2013, 10:24
Hat sich bedankt: 12 Mal
Danksagung erhalten: 6 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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
Phorkys
Beiträge: 53
Registriert: So 17. Nov 2013, 10:24
Hat sich bedankt: 12 Mal
Danksagung erhalten: 6 Mal

Re: Raspberry Pi - MFBot Konsolenversion

Beitrag 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.
Dateianhänge
General.log
(146.19 KiB) 370-mal heruntergeladen
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 7 Gäste