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

Error when trying to clear a vote that cannot be cleared. #156

Open
crohana opened this issue May 19, 2020 · 1 comment
Open

Error when trying to clear a vote that cannot be cleared. #156

crohana opened this issue May 19, 2020 · 1 comment

Comments

@crohana
Copy link

crohana commented May 19, 2020

I am sorry I did not save the error message, but I got an error when trying to clear votes on posts that were older than 6 months. I think it only occurred on submissions and not comments.

I received and error 400 bad request then another error with exception handling. I looked through the code to try and see what the issue was.

I suspect the error is on line 138

self._logger.debug("Couldn't clear vote on {item}".format(item=item))

I think changing it to

self._logger.debug("Couldn't clear vote on {}".format(item=item))

would fix the issue.

I ran the program sorted by new and once I got to that issue I changed settings so it would not clear the vote any longer. Once I did that the program finished as expected.

Please let me know if I am off on this.

Edit: Wanted to add that I no longer have an account on reddit that is over 6 months, so I am unable to test.

@alper
Copy link

alper commented Jun 26, 2020

@floatingatoll, I just ran into this as well. Seeing as you don't have issues on your fork.

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