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

Unable to post CD info

XMLWordPrintable

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

      Hi,

      I was unable to add a CD track information to your database. The following error keeps coming up.

      Cheers
      Jukka.Niiranen@arnora.com

      Internal Server Error
      Oops, something went wrong!

      Error:

      Invalid barcode

      Trace begun at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Data/Utils.pm line 415
      MusicBrainz::Server::Data::Utils::check_data('HASH(0xb1989d0)', 'No title provided', 'CODE(0x8d2f220)', 'No artist names provided', 'CODE(0xb0dfa38)', 'Not all tracks specify an artist', 'CODE(0xb0dfac8)', 'Not all tracks have a title', 'CODE(0xb19ef38)', 'Cannot add a CD stub with no tracks', 'CODE(0xb19f0a0)', 'Incomplete TOC data', 'CODE(0xb19f208)', 'Missing disc ID', 'CODE(0x8d2fa90)', 'Disc ID does match parsed TOC', 'CODE(0xb19f430)', 'Number of submitted tracks does not match track count in TOC', 'CODE(0xb19f5c8)', 'Invalid barcode', 'CODE(0x8d340d0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Data/CDStub.pm line 134
      MusicBrainz::Server::Data::CDStub::insert('MusicBrainz::Server::Data::CDStub=HASH(0x8cf3a80)', 'HASH(0xb1989d0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Controller/CDStub.pm line 77
      MusicBrainz::Server::Controller::CDStub::add('MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xa4dc560)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval

      {...} at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4dc560)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4dc560)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xa4dc560)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 110
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xa4e1830)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval {...}

      at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4e1830)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4e1830)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xa4e1830)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x29a9b90)', 'forward', 'MusicBrainz::Server=HASH(0xa660348)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x29a9b90)', 'MusicBrainz::Server=HASH(0xa660348)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xa660348)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 84
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xa4dbfd8)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xa0b0b40)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval

      {...} at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4dbfd8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xa660348)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xa4dbfd8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xa4dbfd8)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x29a9b90)', 'forward', 'MusicBrainz::Server=HASH(0xa660348)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x29a9b90)', 'MusicBrainz::Server=HASH(0xa660348)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xa660348)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x29a9b90)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1611
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/Static/Simple.pm line 76
      Class::MOP::Class:::around('CODE(0x3009340)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xa660348)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 258
      Class::MOP::Class:::around('CODE(0xa618b10)', 'MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 89
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xa660348)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1952
      eval {...}

      at /usr/local/share/perl/5.10.1/Catalyst.pm line 1943
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0x3d61fd0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0x3d61fd0)') called at /usr/local/share/perl/5.10.1/Catalyst/Engine/FastCGI.pm line 149
      Catalyst::Engine::FastCGI::run('Catalyst::Engine::FastCGI=HASH(0x3d2c3f0)', 'MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x1896d48)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 2396
      Catalyst::run('MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x1896d48)') called at script/musicbrainz_fastcgi.pl line 28
      Stack trace:
      line 415 MusicBrainz::Server::Data::Utils
      line 134 MusicBrainz::Server::Data::CDStub
      line 77 MusicBrainz::Server::Controller::CDStub
      line 258 MusicBrainz::Server
      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'toc' => '1 10 170529 150 18759 35130 53562 69585 83940 104538 119058 136857 154620' }

      ,
      'body_parameters' =>

      { 'CDStub.title' => 'Rush', 'CDStub.tracks.9.artist' => '', 'CDStub.tracks.3.title' => 'Broken Kind of Good Love', 'CDStub.tracks.5.title' => 'Mend', 'CDStub.barcode' => '886978622525', 'CDStub.tracks.3.artist' => '', 'CDStub.tracks.5.artist' => '', 'CDStub.tracks.8.title' => 'Dynamite', 'CDStub.tracks.6.artist' => '', 'CDStub.tracks.0.title' => 'Hysteria', 'CDStub.tracks.7.title' => 'Other Side', 'CDStub.tracks.1.title' => 'Worst Part Is Over', 'CDStub.tracks.8.artist' => '', 'CDStub.tracks.2.title' => 'Stereo', 'CDStub.tracks.9.title' => 'Be With You', 'CDStub.tracks.4.title' => 'Send You Packing', 'CDStub.artist' => 'Anna Abreu', 'CDStub.tracks.2.artist' => '', 'CDStub.tracks.7.artist' => '', 'CDStub.comment' => 'The CD case included special note stating "Limited Edition".', 'CDStub.tracks.6.title' => 'This Girl', 'CDStub.tracks.1.artist' => '', 'CDStub.tracks.0.artist' => '', 'CDStub.tracks.4.artist' => '' }

      };

      URL: http://musicbrainz.org/cdstub/add?toc=1+10+170529+150+18759+35130+53562+69585+83940+104538+119058+136857+154620

            acid2 Oliver Charles
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package