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

Recording edit history: ISE Could not look up class for type 77 at lib/MusicBrainz/Server/Data/Edit.pm line 44

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Caught exception in MusicBrainz::Server::Controller::Recording->edits "Could not look up class for type 77 at lib/MusicBrainz/Server/Data/Edit.pm line 44
      MusicBrainz::Server::Data::Edit::_new_from_row('MusicBrainz::Server::Data::Edit=HASH(0xcabb270)', 'HASH(0x11aeedc0)') called at lib/MusicBrainz/Server/Data/Edit.pm line 144
      MusicBrainz::Server::Data::Edit::_ANON_('HASH(0x11aeedc0)') called at lib/MusicBrainz/Server/Data/Utils.pm line 259
      MusicBrainz::Server::Data::Utils::query_to_list_limited('Sql=HASH(0xeb52be0)', 0, 50, 'CODE(0xee9c020)', 'SELECT edit.id, edit.editor, edit.open_time, edit.expire_time...', 4734751, 0) called at lib/MusicBrainz/Server/Data/Edit.pm line 145
      MusicBrainz::Server::Data::Edit::find('MusicBrainz::Server::Data::Edit=HASH(0xcabb270)', 'HASH(0xee9bf90)', 50, 0) called at lib/MusicBrainz/Server/Controller/Role/EditListing.pm line 16
      MusicBrainz::Server::Controller::Role::EditListing::_ANON_(50, 0) called at lib/MusicBrainz/Server/Controller.pm line 211
      MusicBrainz::Server::Controller::_load_paged('MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)', 'CODE(0xee9c6f8)') called at lib/MusicBrainz/Server/Controller/Role/EditListing.pm line 63
      MusicBrainz::Server::Controller::Role::EditListing::_list('MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)', 'CODE(0xeaf7558)') called at lib/MusicBrainz/Server/Controller/Role/EditListing.pm line 18
      MusicBrainz::Server::Controller::Role::EditListing::edits('MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe2670e8)', 'MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      {...} called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe2670e8)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe2670e8)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe2670e8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0xe729450)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe25b140)', 'MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe25b140)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe25b140)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe25b140)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4fd21c8)', 'forward', 'MusicBrainz::Server=HASH(0xe7293a8)', '_ACTION') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4fd21c8)', 'MusicBrainz::Server=HASH(0xe7293a8)', '_ACTION') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0xe7293a8)', '_ACTION') called at /usr/share/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xe258218)', 'MusicBrainz::Server::Controller::Recording=HASH(0xdd9e6f8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      {...} called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe258218)') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xe7293a8)', 'MusicBrainz::Server::Controller::Recording', 'Catalyst::Action=HASH(0xe258218)') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xe258218)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4fd21c8)', 'forward', 'MusicBrainz::Server=HASH(0xe7293a8)', '/recording/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4fd21c8)', 'MusicBrainz::Server=HASH(0xe7293a8)', '/recording/_DISPATCH') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward('MusicBrainz::Server=HASH(0xe7293a8)', '/recording/_DISPATCH') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x4fd21c8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/share/perl5/Catalyst.pm line 1637
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xe7293a8)') called at lib/MusicBrainz/Server.pm line 330
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 304
      MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0xe7293a8)', 'CODE(0xe7e79e0)') called at lib/MusicBrainz/Server.pm line 331
      Class::MOP::Class:::around('CODE(0x43dee30)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xe7293a8)') called at lib/MusicBrainz/Server.pm line 345
      Class::MOP::Class:::around('CODE(0x4fd20a8)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xe7293a8)') called at lib/MusicBrainz/Server.pm line 390
      Class::MOP::Class:::around('CODE(0xe33eb80)', 'MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xe7293a8)') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xe7293a8)') 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(0xe5473a0)', 'Try::Tiny::Catch=REF(0xe70ca90)') called at /usr/share/perl5/Catalyst.pm line 1993
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xe715fd0)', 'response_cb', 'CODE(0xe717e38)') called at /usr/share/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xe715fd0)', 'response_cb', 'CODE(0xe717e38)') called at /usr/share/perl5/Catalyst/Engine.pm line 682
      Catalyst::Engine::_ANON_('CODE(0xe717e38)') called at /usr/share/perl5/Starman/Server.pm line 225
      Starman::Server::process_request('Starman::Server=HASH(0x25e24e0)') called at /usr/share/perl5/Net/Server.pm line 142
      Net::Server::run_client_connection('Starman::Server=HASH(0x25e24e0)') 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(0x25e24e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 229
      Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x25e24e0)', 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 456
      Net::Server::PreFork::coordinate_children('Starman::Server=HASH(0x25e24e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 357
      Net::Server::PreFork::run_parent('Starman::Server=HASH(0x25e24e0)') called at /usr/share/perl5/Starman/Server.pm line 104
      Starman::Server::run_parent('Starman::Server=HASH(0x25e24e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 147
      Net::Server::PreFork::loop('Starman::Server=HASH(0x25e24e0)') called at /usr/share/perl5/Net/Server.pm line 117
      Net::Server::run('Starman::Server=HASH(0x25e24e0)', 'port', 'ARRAY(0xe3447d0)', 'host', 'ARRAY(0xe3448a8)', 'proto', 'ARRAY(0xe51a6d8)', 'serialize', 'flock', ...) called at /usr/share/perl5/Starman/Server.pm line 61
      Starman::Server::run('Starman::Server=HASH(0x25e24e0)', 'CODE(0xe346e48)', 'HASH(0x25e2468)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
      Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x25e2540)', 'CODE(0xe346e48)') called at /usr/share/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x25ac778)', 'Plack::Handler::Starman=HASH(0x25e2540)') called at /usr/share/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x23a6898)') called at /usr/bin/starman line 31"

      Stack trace:

      line 44 MusicBrainz::Server::Data::Edit
      line 144 MusicBrainz::Server::Data::Edit
      line 259 MusicBrainz::Server::Data::Utils
      line 145 MusicBrainz::Server::Data::Edit
      line 16 MusicBrainz::Server::Controller::Role::EditListing
      line 211 MusicBrainz::Server::Controller
      line 63 MusicBrainz::Server::Controller::Role::EditListing
      line 18 MusicBrainz::Server::Controller::Role::EditListing
      line 330 MusicBrainz::Server
      line 304 MusicBrainz::Server
      line 331 MusicBrainz::Server
      line 345 MusicBrainz::Server
      line 390 MusicBrainz::Server

      Request data:

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

      Host: astro

      URL: https://musicbrainz.org/recording/29e4a499-11c1-4e70-8e28-9a00b7484f37/edits

      Same exception on
      https://musicbrainz.org/recording/963a4804-8caa-4c4d-97ca-dd37f528493e/edits
      https://musicbrainz.org/recording/88718af4-8c90-4582-8f19-cd8a53947b97/edits

      The release https://musicbrainz.org/release/538329ea-1087-4ef6-800e-d9069cabd299
      has a lot of wrong track-recording relations and
      I find just 3 recording changes and NO track insertions/removes,
      which is not enough to explain all of them,
      so there could be some inconsistency in the database
      (or just undisplayable edits).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acid2 Oliver Charles
              Reporter:
              rochusw Rochus Wessels
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package