SciLor's Open Source Forums
http://forum.scilor.com/

Expected a JsonObjectContract or JsonDictionaryContract...
http://forum.scilor.com/viewtopic.php?f=54&t=1115
Page 1 of 1

Author:  SciLor [ Sun Mar 11, 2012 11:13 am ]
Post subject:  Expected a JsonObjectContract or JsonDictionaryContract...

Code:
Error: System.Exception - Expected a JsonObjectContract or JsonDictionaryContract for type 'SciLorsGroovesharkAPI.Groove.Functions.GetStreamKeyFromSongIDEx+GetStreamKeyFromSongIDExResult', got 'Newtonsoft.Json.Serialization.JsonObjectContract'. ({"header":{"session":"4e17412539662f242e51028c5901ca69","serviceVersion":"20100903","prefetchEnabled":true},"result":{"12345678":[]}})


Please check if you are on the most recent version!

If you got this problem, try if you can listen songs on Grooveshark(tm) directly.
If not you are temporarily banned. Wait a while or get a new IP.

If grooveshark(tm).com works for you, try to delete all songs from your download list,
restart the app and search for your songs again. Does this work for you?

Author:  interzoid [ Tue Mar 13, 2012 3:37 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

No luck.
Version 0.4.9.2e, can connect and listen from grooveshark.com, emptied download list and restarted application.
Program connects but upon search I get the System.Exception - Expected a JsonObjectContract etc error.

Not every search though. Some searches work just fine, others do not. (i.e. search for "vivian" got me the error, search for "girls" did not)
The "dump playlist" option seems to be working fine.

Author:  feneyes [ Tue Mar 13, 2012 6:15 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

Same problem here, i can listen to songs, the download list is empty, searching for acoustic alchemy returns results, searching for richard les crees does not, the error message appears, searching on grooveshark returns results, listening is possible. Files downloader.log & api.log attached. I am using the latest version.

Attachments:
SciLorsGroovesharkApi.log [213.11 KiB]
Downloaded 121 times
SciLorsGrooveDownloader.log [5.74 KiB]
Downloaded 119 times

Author:  feneyes [ Wed Mar 14, 2012 8:37 am ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

Just updated to latest version V0.4.9.3 still not working, more error messages seem to appear, attach log files, i can still play songs on grooveshark, not banned.
When it works its a great piece of software!

Attachments:
SciLorsGroovesharkApi.log [1.47 MiB]
Downloaded 139 times
SciLorsGrooveDownloader.log [240.02 KiB]
Downloaded 120 times

Author:  couchpotato [ Wed Mar 14, 2012 8:14 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

same thing with me... just downloaded 4.9.3 and getting the json errors... i've been using this software for over a year and this is first time i've ever had problems :cry:

Author:  letrua [ Wed Mar 14, 2012 10:02 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

I'm in!

Really strange as downloading works properly if searching works.. Maybe it depends on how common (respectively how many search results) the query is. All searches for really popular actors seem to work fine (f.e. "Michael Jackson", "Elton John", "Whitney Houston"...) while searches for realtively unknown actors don't work. This also fits to the coming up of an error if you search for f.e. "Elton John true love" which is one of his songs but not one of the most popular ones.. There you get an error! Maybe because the search would take too long....?
Just a guess... ;)

Author:  SciLor [ Wed Mar 14, 2012 10:08 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

v0.4.9.3a should fix that!

Author:  letrua [ Thu Mar 15, 2012 2:05 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

works fine! great work! :)

Author:  ihaveaquestion [ Sun Mar 18, 2012 6:37 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

Hello everybody

Although I updated to the latest version of your downloader it still doesnt work for me anymore

I always get this error message when I try to download the download list

Error: System.Exception - Cannot deserialize JSON array into type 'SciLorsGroovesharkAPI.Groove.Functions.GetStreamKeyFromSongIDEx+GetStreamKeyFromSongIDExResul...

How can I fix it?

Author:  SciLor [ Sun Mar 18, 2012 11:50 pm ]
Post subject:  Re: Expected a JsonObjectContract or JsonDictionaryContract.

Please open a new thread and post:
viewtopic.php?f=54&t=724

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/