Nukesor / archivebot

:floppy_disk: A telegram bot for backing up and collecting all kinds of media.
MIT License
98 stars 31 forks source link

Execution error? #11

Closed LoJbaDelRoito closed 5 years ago

LoJbaDelRoito commented 5 years ago

Hi, It's me again.

I found an error; /archivebot/sentry.py", line 16, in init if config.SENTRY_TOKEN is not None: AttributeError: 'Config' object has no attribute 'SENTRY_TOKEN' This happens because in config.py, it's called SENTRY_KEY...

Now the big question... After i execute the command poetry run./main.py``

Bash is working, but without writing anything. So I try /start on telegram. (and other command) I can see the creation of the folder on my pc, and the generation of the .session, .db file; but I don't get any response from the bot itself.

The only command I get answered is /scan_chat. (bot:Starting full chat scan.) At the same time a traceback appears in the bash.

https://pastebin.com/rcjMUnag

Probably there are two different problem.

Thanks to the availability.

Nukesor commented 5 years ago

The SENTRY_KEY is supposed to be left in your config.py, but set to None. It should work, if you add it again.

I'm planning to add proper configuration files for all my bots soon. This should prevent such bugs.

Nukesor commented 5 years ago

Configuration files have been added. Please update the project and start and follow the instructions. I'm closing this ticket for now :)