botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
76 stars 88 forks source link

Dev bot: no KVS table #403

Closed emirotin closed 6 years ago

emirotin commented 6 years ago

Not sure if a one-time issue or not.

I've started the dev-bot and I've got the sqlite DB created with these tables:

But there's not kvs table. When the bot runs it's printing these errors to the console:

13:42:28 - error: Unhandled Rejection in Promise:  Promise {
  <rejected> { Error: SQLITE_ERROR: no such table: kvs errno: 1, code: 'SQLITE_ERROR' } } Reason:
{ message: 'delete from "kvs" where "key" like \'storage/conversation/webchat:fU2HMWkLXIXdDQy~5mgtG/%\' - SQLITE_ERROR: no such table: kvs',
  stack: 'Error: SQLITE_ERROR: no such table: kvs',
  errno: 1,
  code: 'SQLITE_ERROR' }
13:42:28 - error: Error: SQLITE_ERROR: no such table: kvs
epaminond commented 6 years ago

@emirotin , I've tried to reproduce it, but kvs gets created fine for me. Did you get it on latest botpress?

emirotin commented 6 years ago

Yes I think it was the most recent master, freshly cloned repo. If you cannot repro please close this but I've decided it's better to report than ignore when I've encountered it.

epaminond commented 6 years ago

Before we close this, @dmytropanontko , could you test whether you are getting this error?

dmytropanontko commented 6 years ago

@emirotin @epaminond I tried reproduce it but I don't get this error. I did following step:

  1. git clone https://github.com/botpress/botpress.git
  2. npm start in ./dev-bot
epaminond commented 6 years ago

OK, closing this for now then.