Skip to content

test dataset publishing #113

Closed
Closed

Description

@amueller

downloading and publishing iris again doesn't work (maybe string issues in the description?)

Activity

  1. PGijsbers commented on Apr 4, 2018

    @PGijsbers
    Collaborator

    Still relevant, MVE:

    import openml
    iris = openml.datasets.get_dataset(61)
    iris.publish()
    

    output:

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "D:\repositories\openml-python\openml\datasets\dataset.py", line 436, in publish
        file_elements=file_elements)
      File "D:\repositories\openml-python\openml\_api_calls.py", line 52, in _perform_api_call
        file_elements=file_elements)
      File "D:\repositories\openml-python\openml\_api_calls.py", line 98, in _read_url_files
        raise _parse_server_exception(response, url=url)
    openml.exceptions.OpenMLServerException: Problem validating uploaded description file
    
  2. ArlindKadra commented on Apr 13, 2018

    @ArlindKadra
    Member

    @mfeurer @amueller I added a fix in #440. @PGijsbers the code above would still throw an error, as it is trying to upload an url to the dataset and also the dataset object. One of them should be removed.
    The following code works:

    import openml
    iris = openml.datasets.get_dataset(61)
    iris.url = None
    iris.publish()
    
  3. ArlindKadra commented on Jun 3, 2018

    @ArlindKadra
    Member

    Solved in #440

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions