Closed po95-backup closed 5 years ago
Even I am facing the same issue. while executing https://github.com/gunthercox/ChatterBot/blob/master/examples/learning_feedback_example.py, I got similar error OperationalError: (sqlite3.OperationalError) no such column: statement.search_text.
I am on version 1.0.0a4
Its working for me. Uninstalled, removed sqlite3.file and reinstalled 1.0.0 build and its working. Thankx
@sarangjain40 I'm glad to hear your issue was resolved.
I'm also getting the same error
@gunthercox can you please help me with this error cause since the day i started this chatterbot code im getting multiple errors and spent a day with this errors.
[nltk_data] Downloading package averaged_perceptron_tagger to [nltk_data] /home/devraj/nltk_data... [nltk_data] Package averaged_perceptron_tagger is already up-to- [nltk_data] date! [nltk_data] Downloading package stopwords to /home/devraj/nltk_data... [nltk_data] Package stopwords is already up-to-date! [nltk_data] Downloading package punkt to /home/devraj/nltk_data... [nltk_data] Package punkt is already up-to-date! List Trainer: [####################] 100% Traceback (most recent call last): File "/home/devraj/Downloads/Chatbot_Project-master/venv/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context cursor, statement, parameters, context File "/home/devraj/Downloads/Chatbot_Project-master/venv/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: table statement has no column named search_text
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "chatbot_train.py", line 10, in
Delete the sqlite3 file that has been created in your previous code and run the code again. It will work probably.
@po95 yeah sure man! but instead of deleting that we can upgrade chatterbot to new version pip install --upgrade chatterbot==0.7.4. It solved all my errors and its working properly. For any module errors please upgrade your chatterbot to this version. @gunthercox thanks for your amazing work man!
You will face problem for the old versions of chatterbot for a large dataset. For large dataset and immediate response, use 1.0.0 version or later. Thanks
@po95 ohh!! can you give the clear and exact solution for sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) with terminal commands so that i can improve my code better in future. Thank you.
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.
I have already the gone through the issue stated here (
https://github.com/gunthercox/ChatterBot/issues/1493
), but it didn't work for me. I am using chatterbot of version = 1.0.0.a2Can anyone provide any help to fix this issue. Sorry, for stating the whole error list.