Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug found #22

Closed
seongyun-ko opened this issue Oct 26, 2017 · 0 comments
Closed

A bug found #22

seongyun-ko opened this issue Oct 26, 2017 · 0 comments

Comments

@seongyun-ko
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant