Skip to content

AttributeError: 'SimpleProviderView' object has no attribute 'preview_all' #50

@garytee

Description

@garytee

This works fine:

streamglob mlb/2021-04-26.nyy

When I run streamglob it randomly crashes and gives me this error

File "~/.pyenv/versions/3.9.2/bin/streamglob", line 33, in <module> sys.exit(load_entry_point('streamglob==0.0.11.dev0', 'console_scripts', 'streamglob')()) File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/streamglob/__main__.py", line 557, in main rc = run_gui(action, provider, **opts) File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/streamglob/__main__.py", line 442, in run_gui state.loop.run() File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/urwid/main_loop.py", line 287, in run self._run() File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/urwid/main_loop.py", line 385, in _run self.event_loop.run() File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/urwid/main_loop.py", line 1494, in run reraise(*exc_info) File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/urwid/compat.py", line 58, in reraise raise value File "~/.pyenv/versions/3.9.2/lib/python3.9/asyncio/tasks.py", line 256, in __step result = coro.send(None) File "~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/streamglob/tasks.py", line 143, in wait_for_player_exit await state.listings_view.provider.view.preview_all() AttributeError: 'SimpleProviderView' object has no attribute 'preview_all'

I tried some of the other branches, but I either get the same thing or an error about the "away_team" attribute when I try to select a game. Just wanted to see if this was something someone was familiar with before I get too deep into debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions