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

Lookup of cluster in browser from Picard generates an server error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2019-10-14
    • Component/s: None
    • Labels:
      None

      Description

      I had a directory/cluster with mp3 files which had some ID tags.
      Clicking "Lookup in Browser" got me to an page which faulted.

      I did wait a while and tried again with the same result.

      Internal server error on https://musicbrainz.org/taglookup?artist=El%20Sikuri&release=Romantic%20Melodies%20with%20pan-flute%20Vol.%204&track=&tracknum=&duration=&filename=&tport=8000
      Referrer:

       

       
      Internal Server Error
      
      Oops, something went wrong!
      
      Error:
      
      Attribute (name) does not pass the type constraint because: Validation failed for 'Str' with value { id: "ec27701a-4a22-37f4-bfac-6616e0f9750a", name: "Jewel Case" } at constructor MusicBrainz::Server::Entity::ReleasePackaging::new (defined at lib/MusicBrainz/Server/Entity/ReleasePackaging.pm line 19) line 66
      	MusicBrainz::Server::Entity::ReleasePackaging::new('MusicBrainz::Server::Entity::ReleasePackaging', 'name', 'HASH(0x1b79e6e0)') called at lib/MusicBrainz/Server/Data/Search.pm line 527
      	MusicBrainz::Server::Data::Search::schema_fixup('MusicBrainz::Server::Data::Search=HASH(0x11addd88)', 'HASH(0x1b7aafb8)', 'release') called at lib/MusicBrainz/Server/Data/Search.pm line 819
      	MusicBrainz::Server::Data::Search::external_search('MusicBrainz::Server::Data::Search=HASH(0x11addd88)', 'release', 'release:"Romantic Melodies with pan\-flute Vol. 4" artist:"El Sikuri"', 25, 1, 1) called at lib/MusicBrainz/Server/Controller/Search.pm line 232
      	MusicBrainz::Server::Controller::Search::do_external_search('MusicBrainz::Server::Controller::Search=HASH(0x126dcb68)', 'MusicBrainz::Server=HASH(0x1b670780)', 'query', 'release:"Romantic Melodies with pan\-flute Vol. 4" artist:"El Sikuri"', 'type', 'release', 'advanced', 1) called at lib/MusicBrainz/Server/Controller/TagLookup.pm line 171
      	MusicBrainz::Server::Controller::TagLookup::external('MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Form::TagLookup=HASH(0x1b4c76e8)') called at lib/MusicBrainz/Server/Controller/TagLookup.pm line 215
      	MusicBrainz::Server::Controller::TagLookup::index('MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358
      	Catalyst::Action::execute('Catalyst::Action=HASH(0x12a76600)', 'MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	Catalyst::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a76600)') called at lib/Catalyst/Plugin/Sentry.pm line 23
      	Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a76600)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0x12a76600)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Controller.pm line 170
      	Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358
      	Catalyst::Action::execute('Catalyst::Action=HASH(0x12a713b8)', 'MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	Catalyst::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a713b8)') called at lib/Catalyst/Plugin/Sentry.pm line 23
      	Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a713b8)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0x12a713b8)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 261
      	Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x67f3710)', 'forward', 'MusicBrainz::Server=HASH(0x1b670780)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 241
      	Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x67f3710)', 'MusicBrainz::Server=HASH(0x1b670780)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 477
      	Catalyst::forward('MusicBrainz::Server=HASH(0x1b670780)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Controller.pm line 134
      	Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358
      	Catalyst::Action::execute('Catalyst::Action=HASH(0x12a62668)', 'MusicBrainz::Server::Controller::TagLookup=HASH(0x1006bb48)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051
      	Catalyst::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a62668)') called at lib/Catalyst/Plugin/Sentry.pm line 23
      	Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x1b670780)', 'MusicBrainz::Server::Controller::TagLookup', 'Catalyst::Action=HASH(0x12a62668)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0x12a62668)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 261
      	Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x67f3710)', 'forward', 'MusicBrainz::Server=HASH(0x1b670780)', '/taglookup/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 241
      	Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x67f3710)', 'MusicBrainz::Server=HASH(0x1b670780)', '/taglookup/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 477
      	Catalyst::forward('MusicBrainz::Server=HASH(0x1b670780)', '/taglookup/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 107
      	Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x67f3710)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 1997
      	Catalyst::dispatch('MusicBrainz::Server=HASH(0x1b670780)') called at lib/MusicBrainz/Server.pm line 320
      	MusicBrainz::Server::__ANON__ at lib/MusicBrainz/Server.pm line 295
      	MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0x1b670780)', 'CODE(0x1b70f4a8)') called at lib/MusicBrainz/Server.pm line 321
      	Class::MOP::Class:::around('CODE(0x363cc08)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164
      	Class::MOP::Method::Wrapped::__ANON__('MusicBrainz::Server=HASH(0x1b670780)') called at lib/MusicBrainz/Server.pm line 335
      	Class::MOP::Class:::around('CODE(0x12766750)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164
      	Class::MOP::Method::Wrapped::__ANON__('MusicBrainz::Server=HASH(0x1b670780)') called at lib/MusicBrainz/Server.pm line 416
      	Class::MOP::Class:::around('CODE(0x6892b98)', 'MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164
      	Class::MOP::Method::Wrapped::__ANON__('MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 35
      	MusicBrainz::Server::_wrapped_dispatch('MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 95
      	MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0x1b670780)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2403
      	Catalyst::try {...}  at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 102
      	eval {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 93
      	Try::Tiny::try('CODE(0x1b0d1000)', 'Try::Tiny::Catch=REF(0x1b80fda0)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2412
      	Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0x9a446b8)', 'response_cb', 'CODE(0x1b16be18)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Engine.pm line 806
      	Catalyst::Engine::__ANON__('CODE(0x1b16be18)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Middleware/HTTPExceptions.pm line 32
      	Plack::Middleware::HTTPExceptions::try {...}  at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 102
      	eval {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 93
      	Try::Tiny::try('CODE(0x1b61e070)', 'Try::Tiny::Catch=REF(0x1b0e9088)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Middleware/HTTPExceptions.pm line 41
      	Plack::Middleware::HTTPExceptions::__ANON__('CODE(0x1b5e1a90)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339
      	Plack::Util::__ANON__('CODE(0x1b0e9c40)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339
      	Plack::Util::__ANON__('CODE(0x1b614a58)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339
      	Plack::Util::__ANON__('CODE(0x1b7c1468)') called at /home/musicbrainz/carton-local/lib/perl5/Starlet/Server.pm line 377
      	Starlet::Server::handle_connection('Plack::Handler::Starlet=HASH(0x1006b998)', 'HASH(0x9a446b8)', 'IO::Socket::INET=GLOB(0x1b271ff8)', 'CODE(0x12bf3a30)', '', '', '') called at /home/musicbrainz/carton-local/lib/perl5/Starlet/Server.pm line 190
      	Starlet::Server::accept_loop('Plack::Handler::Starlet=HASH(0x1006b998)', 'CODE(0x12bf3a30)', 75) called at /home/musicbrainz/carton-local/lib/perl5/Plack/Handler/Starlet.pm line 80
      	Plack::Handler::Starlet::run('Plack::Handler::Starlet=HASH(0x1006b998)', 'CODE(0x12bf3a30)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Loader.pm line 84
      	Plack::Loader::run('Plack::Loader=HASH(0x11cd6e0)', 'Plack::Handler::Starlet=HASH(0x1006b998)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Runner.pm line 277
      	Plack::Runner::run('Plack::Runner=HASH(0xfecab8)') called at /home/musicbrainz/carton-local/bin/plackup line 7
      
      Stack trace:
      
          line
      
      Time: 2019-10-12 14:01:07 UTC
      
      Host: 8b9cca08e51b
      
      Interface language: en
      
      URL: https://musicbrainz.org/taglookup?artist=El%20Sikuri&release=Romantic%20Melodies%20with%20pan-flute%20Vol.%204&track=&tracknum=&duration=&filename=&tport=8000
      
      Request data:
      
      $VAR1 = {
                'query_parameters' => {
                                        'tport' => '8000',
                                        'tracknum' => '',
                                        'filename' => '',
                                        'track' => '',
                                        'release' => 'Romantic Melodies with pan-flute Vol. 4',
                                        'artist' => 'El Sikuri',
                                        'duration' => ''
                                      },
                'body_parameters' => {}
              };
          
      
      We're terribly sorry for this problem. Please wait a few minutes and repeat your request — the problem may go away.
      
      If the problem persists, please report a bug and include any error message that is shown above.
      
      Please be sure to include the stack trace and request data shown above!
      

        Attachments

          Activity

            People

            • Assignee:
              yvanzo yvanzo
              Reporter:
              andrebreiler Andre Breiler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2019-10-14