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

Internal Server Error when browsing edits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      I've been getting this all day when trying to browse my recent edits, as soon as I click on page 2 (pages 1 and 3 display without issue). Thinking it might be a problem with a specific edit, I tried looking at the edit history for a particular artist that performed on a release I edited recently, and got the same error: https://musicbrainz.org/artist/88ec8580-cbdf-4a06-9cf1-2f501391b279/edits.

      The complete dump is:

      Internal Server Error

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Artist->edits "Attribute (name) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor MusicBrainz::Server::Entity::MediumFormat::new (defined at lib/MusicBrainz/Server/Entity/MediumFormat.pm line 56) line 59
      MusicBrainz::Server::Entity::MediumFormat::new('MusicBrainz::Server::Entity::MediumFormat', 'name', undef) called at lib/MusicBrainz/Server/Edit/Release/Merge.pm line 166
      MusicBrainz::Server::Edit::Release::Merge::_ANON_('MusicBrainz::Server::Edit::Release::Merge=HASH(0x12894f58)', 'HASH(0xf941538)') called at /usr/lib/perl5/Moose/Meta/Method/Overridden.pm line 38
      MusicBrainz::Server::Edit::Release::Merge::build_display_data('MusicBrainz::Server::Edit::Release::Merge=HASH(0x12894f58)', 'HASH(0xf941538)') called at lib/MusicBrainz/Server/Data/Edit.pm line 566
      MusicBrainz::Server::Data::Edit::load_all('MusicBrainz::Server::Data::Edit=HASH(0xd0a85d8)', 'MusicBrainz::Server::Edit::Release::Edit=HASH(0x12810268)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x127bbb30)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x1281bed0)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12821168)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12824758)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x128251c0)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12827220)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12829fa0)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x1282d750)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12831350)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12833ef0)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x12834958)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12836968)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x1283a338)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x662c570)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12840b40)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x128417b8)', 'MusicBrainz::Server::Edit::Relationship::Create=HASH(0x12844e68)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12847ec8)', 'MusicBrainz::Server::Edit::Relationship::Edit=HASH(0x12849958)', ...) called at lib/MusicBrainz/Server/Controller/Role/EditListing.pm line 65
      MusicBrainz::Server::Controller::Role::EditListing::_list('MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)', 'CODE(0xf342a30)') called at lib/MusicBrainz/Server/Controller/Role/EditListing.pm line 18
      MusicBrainz::Server::Controller::Role::EditListing::edits('MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe782c10)', 'MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      {...} called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe782c10)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe782c10)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe782c10)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0xf194640)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe774800)', 'MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe774800)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe774800)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe774800)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x51dd290)', 'forward', 'MusicBrainz::Server=HASH(0xf326508)', '_ACTION') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x51dd290)', 'MusicBrainz::Server=HASH(0xf326508)', '_ACTION') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0xf326508)', '_ACTION') called at /usr/share/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe772218)', 'MusicBrainz::Server::Controller::Artist=HASH(0xe2deed8)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      {...} called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe772218)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xf326508)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xe772218)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe772218)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x51dd290)', 'forward', 'MusicBrainz::Server=HASH(0xf326508)', '/artist/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x51dd290)', 'MusicBrainz::Server=HASH(0xf326508)', '/artist/_DISPATCH') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0xf326508)', '/artist/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x51dd290)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst.pm line 1637
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xf326508)') called at lib/MusicBrainz/Server.pm line 338
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 312
      MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0xf326508)', 'CODE(0xf3241d8)') called at lib/MusicBrainz/Server.pm line 339
      Class::MOP::Class:::around('CODE(0x4639860)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xf326508)') called at lib/MusicBrainz/Server.pm line 353
      Class::MOP::Class:::around('CODE(0x51dd140)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xf326508)') called at lib/MusicBrainz/Server.pm line 398
      Class::MOP::Class:::around('CODE(0xe89fd18)', 'MusicBrainz::Server=HASH(0xf326508)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xf326508)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xf326508)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xf326508)') called at /usr/share/perl5/Catalyst.pm line 1987
      Catalyst::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval {...}

      called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xf304d70)', 'Try::Tiny::Catch=REF(0xf31c9d0)') called at /usr/share/perl5/Catalyst.pm line 1993
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xf32c608)', 'response_cb', 'CODE(0xf32f860)') called at /usr/share/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xf32c608)', 'response_cb', 'CODE(0xf32f860)') called at /usr/share/perl5/Catalyst/Engine.pm line 682
      Catalyst::Engine::_ANON_('CODE(0xf32f860)') called at /usr/share/perl5/Starman/Server.pm line 225
      Starman::Server::process_request('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server.pm line 142
      Net::Server::run_client_connection('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      eval

      {...}

      called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      Net::Server::PreFork::run_child('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 229
      Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x279f910)', 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 456
      Net::Server::PreFork::coordinate_children('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 357
      Net::Server::PreFork::run_parent('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Starman/Server.pm line 104
      Starman::Server::run_parent('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server/PreFork.pm line 147
      Net::Server::PreFork::loop('Starman::Server=HASH(0x279f910)') called at /usr/share/perl5/Net/Server.pm line 117
      Net::Server::run('Starman::Server=HASH(0x279f910)', 'port', 'ARRAY(0xe8a6c48)', 'host', 'ARRAY(0xe8a6d20)', 'proto', 'ARRAY(0xea7d720)', 'serialize', 'flock', 'log_level', 2, 'min_servers', 50, 'min_spare_servers', 49, 'max_spare_servers', 49, 'max_servers', 50, 'max_requests', 1000, ...) called at /usr/share/perl5/Starman/Server.pm line 61
      Starman::Server::run('Starman::Server=HASH(0x279f910)', 'CODE(0xe8c5b58)', 'HASH(0x27cf450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
      Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x279f970)', 'CODE(0xe8c5b58)') called at /usr/share/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x279a4f0)', 'Plack::Handler::Starman=HASH(0x279f970)') called at /usr/share/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x2590898)') called at /usr/local/bin/starman line 31"

      Stack trace:

      line 166 MusicBrainz::Server::Edit::Release::Merge
      line 566 MusicBrainz::Server::Data::Edit
      line 65 MusicBrainz::Server::Controller::Role::EditListing
      line 18 MusicBrainz::Server::Controller::Role::EditListing
      line 338 MusicBrainz::Server
      line 312 MusicBrainz::Server
      line 339 MusicBrainz::Server
      line 353 MusicBrainz::Server
      line 398 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {}
      };

      Host: asterix

      URL: http://musicbrainz.org/artist/88ec8580-cbdf-4a06-9cf1-2f501391b279/edits

            Unassigned Unassigned
            rafwuk Rupert Welch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package