Author Topic: Bot crashes on Startup after recent updates.  (Read 2000 times)

0 Members and 1 Guest are viewing this topic.

Gothika_47

  • Youngling
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Gothika_47
Bot crashes on Startup after recent updates.
« on: April 06, 2014, 05:37:48 PM »
My bot crashed after a recent update but i restarted it and had no problems but now after i resterted my pc the bot crashes on start up and this is the errors in the errorlog:

05 Apr 18:33:36,700 - 0.4.0.1: Crashed Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
05 Apr 18:33:36,706 - 0.4.0.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.Main.LoadUsers()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()
05 Apr 19:26:26,334 - 0.4.0.1: Crashed Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
05 Apr 19:26:26,341 - 0.4.0.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.Main.LoadUsers()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()


I tried reinstaling the bot and copying my users.bin file but it did the same thing.

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Bot crashes on Startup after recent updates.
« Reply #1 on: April 06, 2014, 05:51:12 PM »
It appears that your computer powered off while the bot was saving the users database, and the database is corrupted.
You will need to recover a copy from your backup folder.

Simply find the latest timestamp users.bin in the backups\0\ folder and replace the one in the installation directory.

Gothika_47

  • Youngling
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Gothika_47
Re: Bot crashes on Startup after recent updates.
« Reply #2 on: April 06, 2014, 07:21:48 PM »
Thank you for your reply. This was pretty simple to do and i should have tough about it on my own. Sorry for wasting your time and me and my stream would like to thank you for your great bot! :)

Hoody_au

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Hoody_au
Re: Bot crashes on Startup after recent updates.
« Reply #3 on: April 09, 2014, 10:28:06 AM »
Hi mate, I am have the same issue.

I tried to get 'users20140409-113850' from the backups\0\folder, then put it in the installation folder and rename it to just users but I still cannot launch.

This is my errorlog.

Can you help me fix this asap, I have 2 massive giveaways tonight :|!!!

09 Apr 12:25:46,500 - 0.4.1.0: Crashed Could not load file or assembly 'CefSharp.dll' or one of its dependencies. The specified module could not be found.
09 Apr 12:25:46,514 - 0.4.1.0: Crashed    at DeepBot.Music.panelMusic..ctor()
   at DeepBot.Main.InitializeComponent()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()
09 Apr 12:25:56,786 - 0.4.1.0: Crashed Could not load file or assembly 'CefSharp.dll' or one of its dependencies. The specified module could not be found.
09 Apr 12:25:56,808 - 0.4.1.0: Crashed    at DeepBot.Music.panelMusic..ctor()
   at DeepBot.Main.InitializeComponent()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()
09 Apr 12:27:09,158 - 0.4.1.0: Crashed Could not load file or assembly 'CefSharp.dll' or one of its dependencies. The specified module could not be found.
09 Apr 12:27:09,173 - 0.4.1.0: Crashed    at DeepBot.Music.panelMusic..ctor()
   at DeepBot.Main.InitializeComponent()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()