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

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

Open
fang2415 opened this issue May 6, 2021 · 3 comments

Comments

@fang2415
Copy link

fang2415 commented May 6, 2021

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!

@mlb-fan
Copy link

mlb-fan commented Mar 1, 2022

Did you ever find a fix for this? I am having the exact same problem all of a sudden. I downloaded a game yesterday with no issues at all.

@fang2415
Copy link
Author

fang2415 commented Mar 1, 2022

Did you ever find a fix for this? I am having the exact same problem all of a sudden. I downloaded a game yesterday with no issues at all.

Huh, yeah, I must have, because I kept watching games all last season, but I can't remember now what it was. I have a vague suspicion that the problem might have simply gone away after a few days? (Partly because if I had found a concrete solution it seems like I would have posted it here and/or closed the issue.)

MLB TV has alas been out of my brain now for a while, but now that you've put it back in I'll see if I can remember what happened on this one and post back if I figure it out.

@mlb-fan
Copy link

mlb-fan commented Mar 2, 2022

I just realized my subscription ended yesterday, which is when the error started happening, so I'm guessing it's because of that. Does that make sense for thinking back on when it was doing this for you?

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