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 following errors after pressing enter #46
Comments
shobrook#46: Fixing index error on vote count
I'm installing that current version, but error persist, how do I help you? |
Can I work on this? |
@arujbansal please check PR #50. I think it fixes the issue! |
``Display Stack Overflow results? [Y/n]
Traceback (most recent call last):
File "/home/sagar/.local/bin/rebound", line 11, in
sys.exit(main())
File "/home/sagar/.local/lib/python3.7/site-packages/rebound/rebound.py", line 871, in main
App(search_results) # Opens interface
File "/home/sagar/.local/lib/python3.7/site-packages/rebound/rebound.py", line 733, in init
self.main_loop.run()
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 788, in run
self._loop()
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 825, in _loop
self._watch_filesfd
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/raw_display.py", line 404, in
event_loop, callback, self.get_available_raw_input())
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/raw_display.py", line 502, in parse_input
callback(processed, processed_codes)
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 411, in _update
self.process_input(keys)
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 517, in process_input
something_handled |= bool(self.unhandled_input(k))
File "/home/sagar/.local/lib/python3.7/site-packages/urwid/main_loop.py", line 563, in unhandled_input
return self._unhandled_input(input)
File "/home/sagar/.local/lib/python3.7/site-packages/rebound/rebound.py", line 742, in handle_input
question_title, question_desc, question_stats, answers = get_question_and_answers(url)
File "/home/sagar/.local/lib/python3.7/site-packages/rebound/rebound.py", line 307, in get_question_and_answers
question_stats = soup.find_all("span", class="vote-count-post")[0].get_text() # Vote count
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: