Author Topic: Bot Won't Run When Installed On Network Drive  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

Centigrade

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Centigrade
Bot Won't Run When Installed On Network Drive
« on: September 21, 2015, 09:16:06 AM »
I have the bot installed on my Z: which is a folder located on my NAS. If I run the program from my C: it will load, however from the Z: I get the following:

20 Sep 22:40:10,619 - 0.7.4.1: Crashed unable to open database file
20 Sep 22:40:10,731 - 0.7.4.1: Crashed    at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at DeepBot.Database.SQLiteDatabase.ExecuteNonQuery(String sql)
   at DeepBot.Database.DBManager.InitializeDatabase(SQLiteDatabase db)
   at DeepBot.Main..ctor()
   at #v.#sS.#Xb()


Cheers,
Centigrade

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Bot Won't Run When Installed On Network Drive
« Reply #1 on: September 21, 2015, 10:26:41 AM »
You would need to install it on the hard drive you want it on, not just move the files.

Since when you run deepbot, it is trying to grab the info from the original location, not the new location.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

Centigrade

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Centigrade
Re: Bot Won't Run When Installed On Network Drive
« Reply #2 on: September 24, 2015, 01:39:44 AM »
I uninstalled and reinstalled it to the network drive. Still getting the "Oops! I crashed..." error upon startup.
Is it possible you can make it so it is more encapsulated and work out of whatever directory it is in? At present for example I have AnkhBot installed on my network drive (sorry to mention your competition if that offends you in either way), and depending on my system resources needs, or what computer can be up at a particular time, I can run it from the network location on either my desktop or my laptop. I can move that directory to wherever I want and it will still run and maintain any settings changes made on either computer.

Would love to see Deepbot take on that level of flexibility. A distribution package such as ZIP or RAR which runs right out of the box and does not require the use of a Installed Programs slot in Control Panel would be preferable as well, for me at least.

Just some observations and suggestions. But as for the main bug report, it is still not working from a network location.

Thanks,
Centigrade


23 Sep 15:00:18,003 - 0.7.4.1: Crashed unable to open database file
23 Sep 15:00:18,069 - 0.7.4.1: Crashed    at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at DeepBot.Database.SQLiteDatabase.ExecuteNonQuery(String sql)
   at DeepBot.Database.DBManager.InitializeDatabase(SQLiteDatabase db)
   at DeepBot.Main..ctor()
   at #v.#sS.#Xb()