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

Traceback on python 2.7.3 #7

Open
adamm opened this issue Oct 19, 2016 · 1 comment
Open

Traceback on python 2.7.3 #7

adamm opened this issue Oct 19, 2016 · 1 comment

Comments

@adamm
Copy link

adamm commented Oct 19, 2016

After installing this plugin on my Raspberry Pi running OpenElec 6.0.3 (Kodi 15.2) I never could get it to run. Each attempt would throw an exception in kodi.log:

Traceback (most recent call last):
  File "/storage/.kodi/addons/plugin.video.snnow/default.py", line 157, in <module>
    createMainMenu()
  File "/storage/.kodi/addons/plugin.video.snnow/default.py", line 60, in createMainMenu
    keys = guide.keys()
AttributeError: 'NoneType' object has no attribute 'keys'

I tried running test.py on openelec shell (python 2.7.3) it would return a similar error:

()
Traceback (most recent call last):
  File "./test.py", line 39, in <module>
    prog = guide[str(channel['id'])]
TypeError: 'NoneType' object has no attribute '__getitem__'

But when I run test.py on my laptop (python 2.7.8), it authorizes and I get a media URL.

I am not a python expert, but I wouldn't imagine that Dictionaries have changed much between 2.7.3 and 2.7.8 to break compatibility.

@adamm
Copy link
Author

adamm commented Oct 19, 2016

BTW, I am running master @ 263a07e. Thanks!

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

1 participant