Comments (3)
@mangojuice0 I suspect you are using an older version with a database format that the bot didn't expect.
It tried to update the database to the newest version, which failed, because the original database didn't contain a MarkovStartA
table. During the updating process, a new database called "MarkovChain_yabbe_modified.db" will be made, which you can safely delete.
Now, I'm not quite sure which database version you are using. In order to find out, I'd like to ask you to execute the following:
[sic]\TwitchMarkovChain> python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> conn = sqlite3.connect("MarkovChain_yabbe.db")
>>> cursor = conn.cursor()
>>> cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
<sqlite3.Cursor object at 0x000002409EBB2EA0>
>>> cursor.fetchall()
In short, this imports sqlite3
, which can interact with the database table. Then we create a connection to your database, and we grab a cursor on which we can execute SQL. The SQL query finds all tables, and the last command should output a list of tables. Could you create a comment with this list?
from twitchmarkovchain.
It works now. What I did is I downloaded the 1.0 version and made it generate a MarkovChain.db file which i then copied to the 2.1 version. It then automatically updated the database to the newer version.
from twitchmarkovchain.
Wonderful! Glad to hear that it works now.
from twitchmarkovchain.
Related Issues (20)
- Reduce the amount of learned information required to start outputting
- How to activate bot HOT 2
- no such table: MarkovStartA Error HOT 2
- No pyvenv.cfg file HOT 2
- No such table error HOT 4
- Sending whispers does nothing HOT 1
- Is it possible to make the bot generate a reply after someone sends a message in the chat? HOT 1
- HTTP error 404 while installing the requirements HOT 1
- merging databases HOT 3
- bot breaking up words with single quotation marks in them HOT 3
- bot stuck to the wrong account HOT 4
- No spaces before quotes HOT 2
- cannot whisper !generate to bot HOT 1
- Error: Unrecognized command: /mods HOT 2
- Disabling Whispers HOT 3
- Database error HOT 1
- Not enough learned information HOT 2
- Support for the bot speaking without having to type !g or !generate? HOT 2
- Send message on a timer that explains how the Bot works HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitchmarkovchain.