Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-5234

Unicode bug while importing disc from freedb

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • Bug fixes, 2012-08-20
    • Edit system
    • None
    • web interface. Firefox 14 web browser

      I was trying to import this CD from FreeDB:
      http://musicbrainz.org/freedb/folk/5b114219

      I filled the "Release Information" and the error below appeared when I clicked in "Next"

      Here is the error message:
      Internal Server Error

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "malformed UTF-8 character in JSON string, at character offset 93 (before "\x

      {a80d}

      aria?","arti...") at lib/MusicBrainz/Server/Wizard/ReleaseEditor/Add.pm line 83."

      Stack trace:

      line 85 MusicBrainz::Server::Wizard::ReleaseEditor::Add
      line 132 MusicBrainz::Server::Wizard::ReleaseEditor::Add
      line 88 MusicBrainz::Server::Wizard
      line 401 MusicBrainz::Server::Wizard
      line 132 MusicBrainz::Server::Wizard
      line 92 MusicBrainz::Server::Wizard::ReleaseEditor
      line 23 MusicBrainz::Server::Controller::ReleaseEditor::Add
      line 322 MusicBrainz::Server
      line 322 MusicBrainz::Server
      line 322 MusicBrainz::Server
      line 286 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {
      'artist_credit.names.0.name' => 'Carmen Miranda',
      'packaging_id' => '',
      'next' => "Next \x

      {bb}

      ",
      'date.month' => '',
      'release_group_id' => '',
      'labels.0.catalog_number' => '',
      'wizard_page_id' => '0',
      'release_group.name' => '',
      'artist_credit.names.0.artist.id' => '98374',
      'labels.0.deleted' => '0',
      'country_id' => '',
      'primary_type_id' => '',
      'labels.0.name' => 'EMI Music Brazil',
      'date.year' => '',
      'id' => '',
      'script_id' => '',
      'status_id' => '',
      'date.day' => '',
      'name' => 'Carmen Miranda 1935-1940, Volume 4',
      'barcode' => '',
      'artist_credit.names.0.join_phrase' => '',
      'labels.0.label_id' => '3882',
      'wizard_session_id' => '49644',
      'language_id' => '',
      'comment' => '',
      'gc-mode' => 'English',
      'artist_credit.names.0.artist.name' => 'Carmen Miranda',
      'annotation' => ''
      }
      };

            Unassigned Unassigned
            pauloneves Paulo Eduardo Neves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package