You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python main.py
Traceback (most recent call last):
File "main.py", line 9, in
from bot import TwitterForwarderBot
File "/home/syko/telegram/telegram-twitter-forwarder-bot/bot.py", line 9, in
from models import TelegramChat, TwitterUser
File "/home/syko/telegram/telegram-twitter-forwarder-bot/models.py", line 90, in
t.create_table(fail_silently=True)
File "/usr/local/lib/python3.5/site-packages/peewee.py", line 5028, in create_table
if fail_silently and cls.table_exists():
File "/usr/local/lib/python3.5/site-packages/peewee.py", line 5024, in table_exists
return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)
AttributeError: 'NoneType' object has no attribute 'get_tables'
The text was updated successfully, but these errors were encountered:
Hi
I am using Python 3.5 on Cent OS 6.
I faced the following error when trying to run it
$ python main.py
Traceback (most recent call last):
File "main.py", line 9, in
from bot import TwitterForwarderBot
File "/home/syko/telegram/telegram-twitter-forwarder-bot/bot.py", line 9, in
from models import TelegramChat, TwitterUser
File "/home/syko/telegram/telegram-twitter-forwarder-bot/models.py", line 90, in
t.create_table(fail_silently=True)
File "/usr/local/lib/python3.5/site-packages/peewee.py", line 5028, in create_table
if fail_silently and cls.table_exists():
File "/usr/local/lib/python3.5/site-packages/peewee.py", line 5024, in table_exists
return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)
AttributeError: 'NoneType' object has no attribute 'get_tables'
The text was updated successfully, but these errors were encountered: