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

Getting message "There are no results" when I enter the /results1 command to see results of completed poll. #4

Open
JamieSlate opened this issue Oct 22, 2020 · 2 comments

Comments

@JamieSlate
Copy link

FWIW I am the only person who voted on this poll before ending it. This screen recording is probably worth a million words though.

Loom screen recording of what I mean.
Fast forward to the second half to see where the poll results issue is happening.

@ASzc
Copy link
Owner

ASzc commented Oct 22, 2020

Yeah, there's an outstanding issue I haven't had a chance to look at yet. It appears maybe the results are not being recorded (see #3). Going to close #3 and use this for tracking this issue.

@ASzc ASzc mentioned this issue Oct 22, 2020
@ASzc
Copy link
Owner

ASzc commented Oct 23, 2020

Seems results are in fact being recorded, so that means the problem is in reading them before generating the results?

127.0.0.1:6379> KEYS *_dvo3dffwz3udmjxqus4q6z5w
1) "createtime_dvo3dffwz3udmjxqus4q6z5w"
2) "title_dvo3dffwz3udmjxqus4q6z5w"
3) "options_dvo3dffwz3udmjxqus4q6z5w"
4) "ballots_dvo3dffwz3udmjxqus4q6z5w"
127.0.0.1:6379> GET title_dvo3dffwz3udmjxqus4q6z5w
"Who is the best rapper?"
127.0.0.1:6379> LRANGE options_dvo3dffwz3udmjxqus4q6z5w 0 -1
1) "Biggie"
2) "Eminem"
3) "J.Cole"
4) "Jay Z"
5) "Kendrick Lamar"
6) "Lil Wayne"
7) "Nas"
8) "Tupac"
127.0.0.1:6379> HGETALL ballots_dvo3dffwz3udmjxqus4q6z5w
1) "851291711"
2) "1,5,2,4,6,0,7"
3) "425350068"
4) "4,6,7,1,3,5,0,2"
5) "998861271"
6) "3,4,2,1,6,7,0,5"

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