Author Topic: Deepbot will no longer start  (Read 1931 times)

0 Members and 1 Guest are viewing this topic.

maelas

  • Youngling
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Maelas
Deepbot will no longer start
« on: September 01, 2014, 11:37:32 AM »
Here is what goes into the log whenever I try to launch it now:


31 Aug 22:34:14,593 - 0.5.2.1: Crashed Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
31 Aug 22:34:14,598 - 0.5.2.1: Crashed    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at DeepBot.UserConfig.LoadUserConfig()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()


Does anyone have an idea what this might mean?

Thanks!

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Deepbot will no longer start
« Reply #1 on: September 01, 2014, 11:54:55 PM »
It appears your usersconfig file is corrupted. Try to restore from backups which exist in the following folders:
30min interval backups: backups/0/
6hr interval backups: backups/1/
24hr interval backups: backups/2/

To restore a backup:
Close DeepBot
rename current usersconfig.bin to usersconfig_bak.bin (This is the backup of your current database)
Find the usersconfig.bin file with the appropriate timestamp that you want to restore from the backups\ folder and copy it
Paste the file in the main folder (where the original usersconfig.bin was)
Rename the backup file to usersconfig.bin (removing the timestamp)
Start DeepBot

Regards,
Experts

maelas

  • Youngling
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Maelas
Re: Deepbot will no longer start
« Reply #2 on: September 02, 2014, 03:17:50 AM »
Hello ExpertsOnline,

I like that method of restoring, very simple and effective. Ill give that a shot and see how it goes.

Thanks!