commons-app / commonsmisc

4 stars 5 forks source link

Empty response #15

Closed nicolas-raoul closed 5 years ago

nicolas-raoul commented 5 years ago

For https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Syced here is what I receive, after a long wait time:

Content-type: application/json

I guess there is a server-side problem? Thanks! :-)

urbanecm commented 5 years ago

It seems to work, but to be quite slow

urbanecm@notebook ~
$ time curl 'https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Syced'
{"imagesEditedBySomeoneElse": 451, "articlesUsingImages": 2386, "deletedUploads": 25, "featuredImages": {"Featured_pictures_on_Wikimedia_Commons": 0, "Quality_images": 0}, "user": "Syced", "status": "ok", "thanksReceived": 17, "uniqueUsedImages": 318}

real    1m2.267s
user    0m0.016s
sys     0m0.047s
maskaravivek commented 5 years ago

It is happening for me as well.

Screen Shot 2019-06-05 at 3 05 22 PM
maskaravivek commented 5 years ago

Same happens while using curl.

Screen Shot 2019-06-05 at 3 06 21 PM
urbanecm commented 5 years ago

Can reproduce now... Interesting.

nicolas-raoul commented 5 years ago

I tried a few times again, still the same lone Content-type: application/json for me too.

urbanecm commented 5 years ago

Seems there was a schema change I missed, fixed by bca25f46c2499e18836ccb41c5c8a830d9f58c2c and eb8792c62c7c54343bb5cf2f45f4fbd7fece53ef.

nicolas-raoul commented 5 years ago

Thanks a lot for your fast reaction, it seems to work now :-)