IMadeABot / TinderBot

Don't be surprised if there are bugs
0 stars 0 forks source link

Me being dumb #1

Closed ohno455 closed 4 years ago

ohno455 commented 4 years ago

So I'm trying to set this up for a server for sad people to go on but this error comes up whenever I try to run the get_bot_ready file:

Traceback (most recent call last): File "C:\Users\O\OneDrive\Documents\TinderBot-main\TinderBot-main\get_bot_ready.py", line 4, in db = sqlite3.connect("db/bot.db") sqlite3.OperationalError: unable to open database file

What is happening...?

ohno455 commented 4 years ago

So I worked out it is because I don't have sqlite3, so I have installed it but I don't know how you set up the database on yours so dont know how I can set it up on mine

IMadeABot commented 4 years ago

Sorry. Should have made it clearer. You need to make a db folder in the folder containing main.py

IMadeABot commented 4 years ago

I just updated the get_bot_ready file and it should work now. If not just make the db folder