theandychung / discord-weibo-bot

Transfers Weibo posts to Discord through Webhook
MIT License
7 stars 3 forks source link

error #4

Closed Kazarine closed 5 years ago

Kazarine commented 5 years ago

I get an error when trying to use with heroku. The following error appears and does not work.

2019-05-19T06:10:15.450270+00:00 app[bot.1]: from dhooks import Webhook, Embed 2019-05-19T06:10:15.450272+00:00 app[bot.1]: ImportError: No module named dhooks 2019-05-19T06:10:15.820141+00:00 heroku[bot.1]: Starting process with command python bot/main.py 2019-05-19T06:10:16.475837+00:00 heroku[bot.1]: State changed from starting to up 2019-05-19T06:10:17.572546+00:00 heroku[bot.1]: State changed from up to crashed 2019-05-19T06:10:17.432657+00:00 app[bot.1]: Traceback (most recent call last): 2019-05-19T06:10:17.432684+00:00 app[bot.1]: File "bot/main.py", line 1, in 2019-05-19T06:10:17.432692+00:00 app[bot.1]: from dhooks import Webhook, Embed 2019-05-19T06:10:17.432694+00:00 app[bot.1]: ImportError: No module named dhooks 2019-05-19T06:10:17.557295+00:00 heroku[bot.1]: Process exited with status 1

I want you to use it by all means, is there a solution? I'm sorry for my poor English.

theandychung commented 5 years ago

What version of python are you using? It seems like heroku cannot find "dhooks" module, but it should be able to do that. The dhooks module is from here

theandychung commented 5 years ago

Closing this issue since no response from the end user.