Skip to content

'NoneType' object has no attribute 'proc' in run_cli when downloading MLB game #51

@fang2415

Description

@fang2415

I'm getting a new error when attempting to download games after 2021-05-02. (I'm on the stable branch, at 93bbb3d.

$ streamglob download://mlb/2021-05-04.chc.1:offset=start
2021-05-05 19:53:13 [          player:509 ] [ warning] ['not-entitled']
Traceback (most recent call last):
  File "/home/fang2415/.pyenv/versions/3.7.3/bin/streamglob", line 11, in <module>
    load_entry_point('streamglob==0.0.11.dev0', 'console_scripts', 'streamglob')()
  File "/home/fang2415/.pyenv/versions/3.7.3/lib/python3.7/site-packages/streamglob/__main__.py", line 659, in main
    run_cli(action, provider, selection, **opts)
  File "/home/fang2415/.pyenv/versions/3.7.3/lib/python3.7/site-packages/streamglob/__main__.py", line 581, in run_cli
    program.proc.wait()
AttributeError: 'NoneType' object has no attribute 'proc'

The game above is the first of a doubleheader, but attempting to download the next game (which is now live) with streamglob download://mlb/2021-05-05.chc.1:offset=start produces exactly the same result. On the other hand, running streamglob download://mlb/2021-05-02.chc.1:offset=start (or any other earlier date I've tried) downloads the game as usual. I can watch the game from the 4th in the browser just fine (except that the browser UI is a slow crufty mess).

Of course please let me know if any other info would be helpful!

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