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

Internal server error in Wikipedia extract

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-03-25
    • Component/s: None
    • Labels:
      None

      Description

      Error:

      Caught exception in MusicBrainz::Server::Controller::Artist->wikipedia_extract "Attribute (content) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor MusicBrainz::Server::Entity::WikipediaExtract::new (defined at lib/MusicBrainz/Server/Entity/WikipediaExtract.pm line 31) line 38, line 3.
      MusicBrainz::Server::Entity::WikipediaExtract::new('MusicBrainz::Server::Entity::WikipediaExtract', 'title', 'Gummib\x

      Unknown macro: {e4}

      r', 'content', undef, 'canonical', 'Gummib\x

      r', 'language', 'en') called at lib/MusicBrainz/Server/Data/WikipediaExtract.pm line 96
      MusicBrainz::Server::Data::WikipediaExtract::_extract_by_language_callback('fetched', 'HASH(0x1063b088)', 'language', 'en') called at lib/MusicBrainz/Server/Data/WikipediaExtract.pm line 85
      MusicBrainz::Server::Data::WikipediaExtract::_fetch_cache_or_url('MusicBrainz::Server::Data::WikipediaExtract=HASH(0xd288788)', 'http://%s.wikipedia.org/w/api.php?action=query&prop=extracts&...', 'extract', 259200, 'Gummib\x

      Unknown macro: {e4}

      r', 'en', 'CODE(0xd7922d0)', 'cache_only', 0) called at lib/MusicBrainz/Server/Data/WikipediaExtract.pm line 52
      MusicBrainz::Server::Data::WikipediaExtract::get_extract_by_language('MusicBrainz::Server::Data::WikipediaExtract=HASH(0xd288788)', 'Gummib\x

      r', 'en', 'cache_only', 0) called at lib/MusicBrainz/Server/Data/WikipediaExtract.pm line 25
      MusicBrainz::Server::Data::WikipediaExtract::get_extract('MusicBrainz::Server::Data::WikipediaExtract=HASH(0xd288788)', 'Gummib\x

      Unknown macro: {e4}

      r', 'en', 'en', 'cache_only', 0) called at lib/MusicBrainz/Server/Controller/Role/WikipediaExtract.pm line 40
      MusicBrainz::Server::Controller::Role::WikipediaExtract::_get_extract('MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)', 0) called at lib/MusicBrainz/Server/Controller/Role/WikipediaExtract.pm line 16
      MusicBrainz::Server::Controller::Role::WikipediaExtract::wikipedia_extract('MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xddb95d8)', 'MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      eval

      Unknown macro: {...}

      called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xddb95d8)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xddb95d8)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xddb95d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0x105f7a98)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Controller.pm line 158
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xdd9f440)', 'MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      eval

      called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xdd9f440)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xdd9f440)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xdd9f440)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4a23ea8)', 'forward', 'MusicBrainz::Server=HASH(0x10660090)', '_ACTION') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4a23ea8)', 'MusicBrainz::Server=HASH(0x10660090)', '_ACTION') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward('MusicBrainz::Server=HASH(0x10660090)', '_ACTION') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Controller.pm line 132
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xbb418b0)', 'MusicBrainz::Server::Controller::Artist=HASH(0xd90b1d8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      eval

      Unknown macro: {...}

      called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xbb418b0)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0x10660090)', 'MusicBrainz::Server::Controller::Artist', 'Catalyst::Action=HASH(0xbb418b0)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbb418b0)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4a23ea8)', 'forward', 'MusicBrainz::Server=HASH(0x10660090)', '/artist/_DISPATCH') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4a23ea8)', 'MusicBrainz::Server=HASH(0x10660090)', '/artist/_DISPATCH') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward('MusicBrainz::Server=HASH(0x10660090)', '/artist/_DISPATCH') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x4a23ea8)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1618
      Catalyst::dispatch('MusicBrainz::Server=HASH(0x10660090)') called at lib/MusicBrainz/Server.pm line 323
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 297
      MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0x10660090)', 'CODE(0x12fe3c40)') called at lib/MusicBrainz/Server.pm line 324
      Class::MOP::Class:::around('CODE(0x47871e0)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x10660090)') called at lib/MusicBrainz/Server.pm line 338
      Class::MOP::Class:::around('CODE(0xdeba7b0)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x10660090)') called at lib/MusicBrainz/Server.pm line 383
      Class::MOP::Class:::around('CODE(0xdececa0)', 'MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0x10660090)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1968
      Catalyst::_ANON_() called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Try/Tiny.pm line 76
      eval

      called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0x1089e318)', 'Try::Tiny::Catch=REF(0x1070be00)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst.pm line 1974
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0x1083a280)', 'response_cb', 'CODE(0xf8607e0)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0x1083a280)', 'response_cb', 'CODE(0xf8607e0)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Catalyst/Engine.pm line 688
      Catalyst::Engine::_ANON_('CODE(0xf8607e0)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Plack/Handler/FCGI.pm line 130
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x25f2eb8)', 'CODE(0xdeede78)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Plack/Loader.pm line 84
      Plack::Loader::run('Plack::Loader=HASH(0x251a290)', 'Plack::Handler::FCGI=HASH(0x25f2eb8)') called at /home/beta/musicbrainz-server/admin/../local/lib/perl5/Plack/Runner.pm line 267
      Plack::Runner::run('Plack::Runner=HASH(0x239c700)') called at /home/beta/musicbrainz-server/admin/../local/bin/plackup line 10"

      Stack trace:
      line 96 MusicBrainz::Server::Data::WikipediaExtract
      line 85 MusicBrainz::Server::Data::WikipediaExtract
      line 52 MusicBrainz::Server::Data::WikipediaExtract
      line 25 MusicBrainz::Server::Data::WikipediaExtract
      line 40 MusicBrainz::Server::Controller::Role::WikipediaExtract
      line 16 MusicBrainz::Server::Controller::Role::WikipediaExtract
      line 323 MusicBrainz::Server
      line 297 MusicBrainz::Server
      line 324 MusicBrainz::Server
      line 338 MusicBrainz::Server
      line 383 MusicBrainz::Server

      Request data:
      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {}
      };

      Host: pino

      Interface language: en

      URL: https://beta.musicbrainz.org/artist/cd4f5ac3-5e0e-45a0-ae01-32c3cf117071/wikipedia-extract

        Attachments

          Activity

            People

            Assignee:
            ianmcorvidae Ian McEwen
            Reporter:
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2013-03-25