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

Failing to start Discord alerter #105

Closed
TK-SpartanGolf6 opened this issue Dec 13, 2020 · 1 comment
Closed

Failing to start Discord alerter #105

TK-SpartanGolf6 opened this issue Dec 13, 2020 · 1 comment

Comments

@TK-SpartanGolf6
Copy link

TK-SpartanGolf6 commented Dec 13, 2020

I have an alert set up for discord, when I run the command to start the scraping, it scrapes correctly but fails to start the discord alerter. Here's the command I am using to start the docker: './docker_run.bash -c ./config/bestbuy_rtx_3080.yaml -a discord -w (webhook)'. I have modified that './config/bestbuy_rtx_3080.yaml' file so that it includes more links to scrape and shortened the scaping time. The '(double underscore) in this post is some type of formatting, but in the error it is two underscores together.

Here is the error I get when it tries to start the Discord alerter.
'Traceback (most recent call last):
File '/src/alerter/common.py", line 38, in (double underscore)call(double underscore)
alerter(**kwargs)
File "/src/alerter/discord.py", line 37, in (double underscore)call(double underscore)
"content": mention or None,
UnboundLocalError: local variable 'mention' referenced before assignment

@EricJMarti
Copy link
Owner

This is fixed in: 7307136

The fix is building and should be available on Docker Hub in about 20 minutes.

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

2 participants