Skip to content

listing calls return invalid json #932

Closed

Activity

  1. janvanrijn commented on Feb 22, 2019

    @janvanrijn
    Member
  2. giuseppec commented on Feb 22, 2019

    @giuseppec
    MemberAuthor

    Not sure because everything worked fine a few days ago (and both the converter and the template seem to be unchanged for several months). So I suppose some recent change caused this bug?
    And it also appears to happen with other listing calls, so not only the task/list is broken.

  3. janvanrijn commented on Feb 22, 2019

    @janvanrijn
    Member

    OpenML attempts to return correct HTTP headers, like the size of a HTTP response. Apparently, this header has become corrupt (and returns a number too low, or too many characters). I have applied a hotfix on the main server. This needs to be fixed in a more rigorous way though.

  4. joaquinvanschoren commented on Feb 22, 2019

    @joaquinvanschoren
    Contributor

    Found the bug and fixed it. The content-length of the JSON was correct, but the server was returning 2 additional newlines. These were caused by an empty line at the end of 2 recently updated files.

  5. giuseppec commented on Feb 23, 2019

    @giuseppec
    MemberAuthor

    Thx ;). Another related (but different) issue is this https://test.openml.org/api/v1/json/study/list/ (test server gives PHP error) and the main server gives an empty list: https://www.openml.org/api/v1/json/study/list/
    Maybe this is due to the recent improvements on studies?

  6. janvanrijn commented on Feb 23, 2019

    @janvanrijn
    Member

    Listing function is nit unit tested yet. (haven't implemented it in python api) seems like a php bug. Will fix on monday.

  7. joaquinvanschoren commented on Jul 9, 2019

    @joaquinvanschoren
    Contributor

    seems fixed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions