openml / openml/OpenML

Trouble uploading datasets to the test server

Open
#1,159 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I have tried with the API, as well as with through the website.
When trying to upload a dataset to the test server, I encounter the following error:

A PHP Error was encountered

Severity: Warning

Message: simplexml_load_string(): Entity: line 70: parser error : Extra content at the end of the document

Filename: new/post.php

Line Number: 155

Backtrace:

File: /var/www/openml/OpenML/openml_OS/views/pages/frontend/new/post.php
Line: 155
Function: simplexml_load_string

File: /var/www/openml/OpenML/openml_OS/helpers/cms_helper.php
Line: 19
Function: view

File: /var/www/openml/OpenML/openml_OS/controllers/Frontend.php
Line: 89
Function: loadpage

File: /var/www/openml/OpenML/index.php
Line: 334
Function: require_once

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at openml_OS/views/pages/frontend/new/post.php line 155, where simplexml_load_string reports the parsing failure, then trace the upload path through openml_OS/helpers/cms_helper.php and openml_OS/controllers/Frontend.php. Reproduce the dataset upload through the API or website and identify why extra XML content reaches the parser. Done means valid dataset uploads no longer produce this warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.