Bug 343084

Summary: ratings and ranking don't work on muon discover
Product: [Applications] Discover Reporter: Jonathan Riddell <jr>
Component: discoverAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jonathan Riddell 2015-01-20 14:49:42 UTC
compiled muon discover from Plasma/5.2 branch
run muon-discover
ratings and rankings are just showing packages in alphabetical order not rank order

On comment line it says:
 Couldn't fetch the ratings "The file or folder https://reviews.ubuntu.com/reviews/api/1.0/review-stats/ does not exist."

but this url does exist


Reproducible: Always




running tests this one fails:
    Start 3: reviewstest
3/4 Test #3: reviewstest ......................***Failed    9.58 sec
Comment 1 Harald Sitter 2015-01-20 16:01:57 UTC
when you run it manually or in a package build?
Comment 2 Jonathan Riddell 2015-01-20 16:03:48 UTC
manually
Comment 3 Aleix Pol 2015-03-03 19:08:31 UTC
Can it be an error in KIO http?

If I run this, I still get the error:
kioclient5 copy https://reviews.ubuntu.com/reviews/api/1.0/review-stats/ file:///tmp/ratings.txt
Comment 4 Harald Sitter 2015-03-04 11:39:32 UTC
Nah, the relevant code is busted in all kinds of ways. I have some ideas on how to fix it, currently not high priority though.
Comment 5 Harald Sitter 2015-03-04 11:41:32 UTC
Well, it could still also be an error in KIO :P

Just saying it is broken in more ways than that.
Comment 6 Jonathan Riddell 2015-03-04 15:15:51 UTC
I compiled Plasma/5.2 muon today and ratings and populaty do now work, also working from kubuntu-ci
Comment 7 Jonathan Riddell 2015-03-04 16:37:38 UTC
Although I do sometimes still get this on load
Couldn't fetch the ratings "The file or folder https://reviews.ubuntu.com/reviews/api/1.0/review-stats/ does not exist."
Comment 8 Aleix Pol 2015-03-04 17:59:31 UTC
@Harald if there's a specific complain, please open a bug report. This is about the fact that in some devices the download doesn't work.
Comment 9 Aleix Pol 2016-03-22 13:22:31 UTC
I guess this is working now, correct?