Posts: 5
Joined: Dec 2016
Reputation:
0
2016-12-30, 21:25
(This post was last modified: 2016-12-30, 21:45 by vissarion.)
I used this awesome plugin on my PC to watch live football while reading tweets in the lower part of the screen and worked flawlessly! Now I wanted to replicate the same on a TVbox but I am never able to authorize the plugin. When I click authorize and exit from the settings nothing happens. No auth pop-up. Any ideas on how to fix this? Thanks!
Posts: 207
Joined: Feb 2013
Reputation:
6
L0RE
Senior Member
Posts: 207
I Made an new Version Of Twitter.
Could you try the new one (Also try to Copy of the init.ok file again). I think i found something that might case some error in the Plugin Finding the init.ok file
Posts: 207
Joined: Feb 2013
Reputation:
6
L0RE
Senior Member
Posts: 207
@vissarion:
What build do you use? an offical Build?. It seems your Build using an Python Version newer that the normal Python in Kodi
Posts: 1
Joined: May 2017
Reputation:
0
Hello,
Im getting the following error:
19:56:10 817976.250000 T:1449128944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'module' object has no attribute 'ASCII'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/service.twitterfeed/service.py", line 7, in <module>
import twitter,shutil
File "/home/osmc/.kodi/addons/service.twitterfeed/twitter/__init__.py", line 44, in <module>
from .api import Api # noqa
File "/home/osmc/.kodi/addons/service.twitterfeed/twitter/api.py", line 36, in <module>
from past.utils import old_div
File "/home/osmc/.kodi/addons/script.module.future/lib/past/__init__.py", line 88, in <module>
from past.translation import install_hooks as autotranslate
File "/home/osmc/.kodi/addons/script.module.future/lib/past/translation/__init__.py", line 42, in <module>
from lib2to3.refactor import RefactoringTool
File "/home/osmc/.kodi/addons/script.module.lib2to3/lib/lib2to3/refactor.py", line 24, in <module>
from .pgen2 import driver, tokenize, token
File "/home/osmc/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/driver.py", line 26, in <module>
from . import grammar, parse, token, tokenize, pgen
File "/home/osmc/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/grammar.py", line 20, in <module>
from . import token, tokenize
File "/home/osmc/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/tokenize.py", line 239, in <module>
cookie_re = re.compile(r'^[ \t\f]*#.*?coding[:=][ \t]*([-\w.]+)', re.ASCII)
AttributeError: 'module' object has no attribute 'ASCII'
-->End of Python script error report<--
Using OSMC November2016 build based on Kodi 16.1
Any clue?
Thanks in advance,
Miguel
Posts: 1
Joined: Jul 2017
Reputation:
0
Not having any luck getting this to run on Libreelec (pi 3)....getting the following...
Any ideas?
23:40:49.603 T:1181741984 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'module' object has no attribute 'ASCII'
Traceback (most recent call last):
File "/storage/.kodi/addons/service.twitterfeed/service.py", line 7, in <module>
import twitter,shutil
File "/storage/.kodi/addons/service.twitterfeed/twitter/__init__.py", line 44, in <module>
from .api import Api # noqa
File "/storage/.kodi/addons/service.twitterfeed/twitter/api.py", line 36, in <module>
from past.utils import old_div
File "/storage/.kodi/addons/script.module.future/lib/past/__init__.py", line 88, in <module>
from past.translation import install_hooks as autotranslate
File "/storage/.kodi/addons/script.module.future/lib/past/translation/__init__.py", line 42, in <module>
from lib2to3.refactor import RefactoringTool
File "/storage/.kodi/addons/script.module.lib2to3/lib/lib2to3/refactor.py", line 24, in <module>
from .pgen2 import driver, tokenize, token
File "/storage/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/driver.py", line 26, in <module>
from . import grammar, parse, token, tokenize, pgen
File "/storage/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/grammar.py", line 20, in <module>
from . import token, tokenize
File "/storage/.kodi/addons/script.module.lib2to3/lib/lib2to3/pgen2/tokenize.py", line 239, in <module>
cookie_re = re.compile(r'^[ \t\f]*#.*?coding[:=][ \t]*([-\w.]+)', re.ASCII)
AttributeError: 'module' object has no attribute 'ASCII'
-->End of Python script error report<--
23:40:49.663 T:1961738704 ERROR: GetDirectory - Error getting plugin://service.twitterfeed/
23:40:49.664 T:1961738704 ERROR: CGUIMediaWindow::GetDirectory(plugin://service.twitterfeed/) failed
livinglib:~/.kodi/temp # GetDirectory(plugin://service.twitterfeed/) failed
Thanks
Posts: 154
Joined: Mar 2014
Reputation:
2
Hi, I got exactly toil's issue. I have LibreELEC Kodi 16.1 on TV box
AttributeError: 'module' object has no attribute 'ASCII'
President Trumps Tweets is working well, is it same code?
Posts: 207
Joined: Feb 2013
Reputation:
6
L0RE
Senior Member
Posts: 207
What Version of Twitter Addon do you have?