Chatterbot: learning_feedback_example error: 'SQLStorageAdapter' object has no attribute 'create_conversation'

Created on 29 Aug 2017  Â·  4Comments  Â·  Source: gunthercox/ChatterBot

ChatterBot version : 0.7.6
python version : 3.6.2

In learning_feedback_example.py line 26 has an error :

CONVERSATION_ID = bot.storage.create_conversation()
'SQLStorageAdapter' object has no attribute 'create_conversation'

How should I fix that ?


Thanks @lesleslie

Reinstall from git fix the problem.

pip3 uninstall chatterbot
pip3 install git+git://github.com/gunthercox/ChatterBot.git@master

Most helpful comment

Reinstall from git fix the problem.

pip3 uninstall chatterbot
pip3 install git+git://github.com/gunthercox/ChatterBot.git@master

All 4 comments

on line 239 of chatterbot/storage/sql_storage.py do you see:

def create_conversation(self):

if not you need to clone/download/merge your ChatterBot source again from
github. there have been 67 commits to the master since 0.76 was released.
this is one of them i'm thinking.

Les Leslie
Principal / Developer
Wedgwood Web Works
[email protected]
(406) 640-4222

On Mon, Aug 28, 2017 at 5:30 PM, Ken Chen notifications@github.com wrote:

ChatterBot version : 0.7.6
python version : 3.6.2

In learning_feedback_example.py line 26 has an error :

CONVERSATION_ID = bot.storage.create_conversation()
'SQLStorageAdapter' object has no attribute 'create_conversation'

How should I fix that ?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gunthercox/ChatterBot/issues/958, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOUGN9R8GQ8u5tW3Xx_hxZPyfSfN0mQkks5sc1uSgaJpZM4PFO-r
.

Same issue. @ken-talkingsource Have you figured out what is wrong?

Reinstall from git fix the problem.

pip3 uninstall chatterbot
pip3 install git+git://github.com/gunthercox/ChatterBot.git@master

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AmusingThrone picture AmusingThrone  Â·  3Comments

decode007 picture decode007  Â·  3Comments

hochochoc picture hochochoc  Â·  3Comments

decode007 picture decode007  Â·  4Comments

cesarandreslopez picture cesarandreslopez  Â·  4Comments