Comments (5)
1.0.26 is a very old version which I don't support anymore. Please update to the latest version. Easiest is by installing my repo.
from plugin.audio.spotify.
This specific error should be fixed in version 1.0.20
Make sure to read about the workaround for Pi users
from plugin.audio.spotify.
Hi,
I'm trying to run this plugin on kodi 17 and am using version 1.0.25. I'm getting the very same error Vando reported.
Just to be complete, the error i get:
14:10:44.020 T:139901185058560 ERROR: 127.0.0.1 - - [05/Mar/2017 14:10:44] "QUIT / HTTP/1.1" 200 -
14:10:44.350 T:139901668951808 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'spotipy.oauth2.SpotifyOauthError'>
Error Contents: Bad Request
Traceback (most recent call last):
File "/home/mark/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
Main().main()
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
if self.checkLoginDetails():
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
self.token = util.prompt_for_user_token(username)
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/util.py", line 59, in prompt_for_user_token
token_info = sp_oauth.get_access_token(code)
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/oauth2.py", line 213, in get_access_token
raise SpotifyOauthError(response.reason)
SpotifyOauthError: Bad Request
-->End of Python script error report<--
I havent tried the 1.0.26 version yet.
Edit.
Tried with 1.0.26 as well now. The error seems to be slightly different, but still an error.
14:22:38.041 T:139676670228224 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 'Dialog'
Traceback (most recent call last):
File "/home/mark/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
Main().main()
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
if self.checkLoginDetails():
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
self.token = util.prompt_for_user_token(username)
File "/home/mark/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/util.py", line 69, in prompt_for_user_token
if xbmc.Dialog().yesno("No webbrowser detected", "The webbrowser could not be auto detected. Do you have one installed ?"):
AttributeError: 'module' object has no attribute 'Dialog'
-->End of Python script error report<--
from plugin.audio.spotify.
I've installed in OSMC and the 1.0.26 las has the same error
09:50:04.421 T:1677718272 ERROR: GetDirectory - Error getting
09:50:04.479 T:1341121280 ERROR: Previous line repeats 3 times.
09:50:04.479 T:1341121280 NOTICE: Spotify --> Checking remembered_user ..
09:50:04.986 T:1694495488 WARNING: CSkinInfo: failed to load skin settings
09:50:10.315 T:1284985600 NOTICE: Spotify --> logged in: 0
09:50:14.828 T:1341121280 NOTICE: Spotify --> starting proxy at port 8090
09:50:14.829 T:1341121280 NOTICE: Spotify --> Setting callback ..
09:50:14.830 T:1341121280 NOTICE: Spotify --> Obtaining user token ..
09:50:14.831 T:1341121280 NOTICE: Spotify --> Encoding header ..
09:50:14.982 T:1466098432 ERROR: warning:couldn't read token from cache
09:50:14.996 T:1466098432 NOTICE: Spotify --> WebService - start helper webservice on port 52308
09:50:16.176 T:1466098432 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 'Dialog'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
Main().main()
File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
if self.checkLoginDetails():
File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
self.token = util.prompt_for_user_token(username)
File "/home/osmc/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/util.py", line 69, in prompt_for_user_token
if xbmc.Dialog().yesno("No webbrowser detected", "The webbrowser could not be auto detected. Do you have one installed ?"):
AttributeError: 'module' object has no attribute 'Dialog'
-->End of Python script error report<--
from plugin.audio.spotify.
Great job! thank you @marcelveldt it is work fine!
from plugin.audio.spotify.
Related Issues (20)
- Spotify Connect : Can't chose "Local playback on this device" HOT 2
- Spotify does not attempt to install HOT 2
- The music stop suddenly, and play next song HOT 3
- CoreElec 9.2.3 Installation failed HOT 3
- No audio after ~8 minutes on long tracks HOT 7
- Port overlap with Kodi - change port 9090 HOT 1
- no categories in settings - spotify
- Impossible to login HOT 2
- Spotify Connect stops after 1 song HOT 7
- Cannot import into Kodi. HOT 2
- Credentials error HOT 1
- The plugin suddenly stopped working... HOT 2
- Enchancement Request: .strm file generation for library
- Podcasts not working
- not working with pi 4 HOT 1
- "Default browser should now be opened" - but it's not HOT 2
- Spotify Addon in Hotel-like Wlan - edit Player Mac? HOT 1
- Spotify add on is gone?
- Spotify add on is gone?
- Some playlist are inacessible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin.audio.spotify.