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

Error on adding a new record

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 12.04, firefox 13.01, went on the « add release » page from sound juicer (music extracting tool)

      Description

      I tried to add a CD from Sound Juicer on Ubuntu.
      It crashed after the first form.

      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "Attribute (params) does not pass the type constraint because: Validation failed for 'HashRef' with value undef at accessor HTML::FormHandler::params (defined at local/lib/perl5/HTML/FormHandler.pm line 182) line 4
      HTML::FormHandler::params('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xd...', undef) called at local/lib/perl5/HTML/FormHandler.pm line 388
      HTML::FormHandler::setup_form('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xd...', 'params', undef) called at local/lib/perl5/HTML/FormHandler.pm line 283
      HTML::FormHandler::process('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xd...', 'params', undef) called at lib/MusicBrainz/Server/Form.pm line 109
      MusicBrainz::Server::Form::unserialize('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xd...', 'HASH(0xdfb9a60)') called at lib/MusicBrainz/Server/Wizard.pm line 528
      MusicBrainz::Server::Wizard::_load_form('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)', 1, 'serialized', 'HASH(0xdfb9a60)') called at lib/MusicBrainz/Server/Wizard.pm line 238
      MusicBrainz::Server::Wizard::_load_page('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)', 1) called at lib/MusicBrainz/Server/Wizard.pm line 172
      MusicBrainz::Server::Wizard::navigate_to_page('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)') called at lib/MusicBrainz/Server/Wizard.pm line 401
      MusicBrainz::Server::Wizard::_route('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)', 'MusicBrainz::Server::Form::ReleaseEditor::Information=HASH(0x...') called at lib/MusicBrainz/Server/Wizard.pm line 132
      MusicBrainz::Server::Wizard::process('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 92
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd26b7b0)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
      MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xbbfd7e0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbbfd7e0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbbfd7e0)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbbfd7e0)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbbfd7e0)', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xbab2448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst.pm line 1667
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbab2448)', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'forward', 'MusicBrainz::Server=HASH(0x435af90)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0x435af90)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0x435af90)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xbc12a50)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0x435af90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbc12a50)', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'forward', 'MusicBrainz::Server=HASH(0x435af90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0x435af90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0x435af90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst.pm line 1613
      Catalyst::dispatch('MusicBrainz::Server=HASH(0x435af90)') called at lib/MusicBrainz/Server.pm line 270
      Class::MOP::Class:::around('CODE(0x3668bf8)', 'MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0x435af90)') called at local/lib/perl5/Catalyst.pm line 1963
      Catalyst::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0x4831a90)', 'Try::Tiny::Catch=REF(0xd2745f8)') called at local/lib/perl5/Catalyst.pm line 1969
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xbe7d6f0)') called at lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xbe7d6f0)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      Catalyst::Engine::_ANON_('CODE(0xbe7d660)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x1b08a30)', 'CODE(0xbe24508)') called at local/lib/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x1ad1e00)', 'Plack::Handler::FCGI=HASH(0x1b08a30)') called at local/lib/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x18d4808)') called at local/bin/plackup line 10"

      Stack trace:

      line 109 MusicBrainz::Server::Form
      line 528 MusicBrainz::Server::Wizard
      line 238 MusicBrainz::Server::Wizard
      line 172 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 306 MusicBrainz::Server
      line 306 MusicBrainz::Server
      line 306 MusicBrainz::Server
      line 270 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {
      'artist_credit.names.0.name' => 'Sonic Boom Six',
      'packaging_id' => '1',
      'next' => "Next \x

      {bb}

      ",
      'date.month' => '',
      'release_group_id' => '',
      'labels.0.catalog_number' => 'FOL045',
      'wizard_page_id' => '0',
      'release_group.name' => '',
      'artist_credit.names.0.artist.id' => '216075',
      'labels.0.deleted' => '0',
      'country_id' => '221',
      'primary_type_id' => '1',
      'labels.0.name' => 'Rebel Alliance Recordings',
      'date.year' => '2010',
      'id' => '',
      'script_id' => '28',
      'status_id' => '1',
      'date.day' => '',
      'name' => 'Rude Awakening',
      'barcode' => '4260170849373',
      'artist_credit.names.0.join_phrase' => '',
      'labels.0.label_id' => '42035',
      'wizard_session_id' => '0.19567287507574',
      'language_id' => '120',
      'comment' => '',
      'gc-mode' => 'English',
      'artist_credit.names.0.artist.name' => 'Sonic Boom Six',
      'annotation' => 'Licensed to Fond of Life Productions'
      }
      };

      URL: http://musicbrainz.org/release/add

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fonji Yannick Fonjallaz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package