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

ISE due to "invalid barcode" during CD Stub submission

XMLWordPrintable

      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(0xcf8f820)', 'No title provided', 'CODE(0x9827e28)', 'No artist names provided',
      'CODE(0xcf90408)', 'Not all tracks specify an artist', 'CODE(0xcf8fd78)', 'Not all tracks have a title', 'CODE(0xcf8ff88)', 'Cannot add a CD stub with no tracks', 
      'CODE(0xcf90318)', 'Incomplete TOC data', 'CODE(0xcf91658)', 'Missing disc ID', 'CODE(0x9828698)', 'Disc ID does match parsed TOC',
      'CODE(0xcf91880)', 'Number of submitted tracks does not match track count in TOC', 'CODE(0xcf91a18)', 'Invalid barcode', 
      'CODE(0x982d0b8)') 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(0x97ecb58)', 'HASH(0xcf8f820)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Controller/CDStub.pm line 71
      MusicBrainz::Server::Controller::CDStub::add('MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xafd7110)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') 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(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafd7110)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafd7110)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xafd7110)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 110
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xafdbea8)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') 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(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafdbea8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafdbea8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xafdbea8)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x356fd88)', 'forward', 'MusicBrainz::Server=HASH(0xc925408)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x356fd88)', 'MusicBrainz::Server=HASH(0xc925408)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xc925408)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 84
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xafd69f0)', 'MusicBrainz::Server::Controller::CDStub=HASH(0xaba8ff8)', 'MusicBrainz::Server=HASH(0xc925408)') 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(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafd69f0)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc925408)', 'MusicBrainz::Server::Controller::CDStub', 'Catalyst::Action=HASH(0xafd69f0)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xafd69f0)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x356fd88)', 'forward', 'MusicBrainz::Server=HASH(0xc925408)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x356fd88)', 'MusicBrainz::Server=HASH(0xc925408)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xc925408)', '/cdstub/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x356fd88)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1611
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/Static/Simple.pm line 76
      Class::MOP::Class:::around('CODE(0x3bce600)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::__ANON__('MusicBrainz::Server=HASH(0xc925408)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 258
      Class::MOP::Class:::around('CODE(0xb1117e0)', 'MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::__ANON__('MusicBrainz::Server=HASH(0xc925408)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 89
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xc925408)') 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(0x4927d78)') called at /home/musicbrainz/musicbrainz-server/script/../lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0x4927d78)') called at /usr/local/share/perl/5.10.1/Catalyst/Engine/FastCGI.pm line 149
      Catalyst::Engine::FastCGI::run('Catalyst::Engine::FastCGI=HASH(0x48f2cd8)', 'MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x2461d48)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 2396
      Catalyst::run('MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x2461d48)') called at script/musicbrainz_fastcgi.pl line 37
      
      Stack trace:
      
          * line 415 MusicBrainz::Server::Data::Utils
          * line 134 MusicBrainz::Server::Data::CDStub
          * line 71 MusicBrainz::Server::Controller::CDStub
          * line 258 MusicBrainz::Server
      
      Request data:
      
      $VAR1 = {
                'query_parameters' => {
                                        'toc' => '1 22 349275 150 18820 36595 53077 74027 87592 94522 108050 128365 142742 154775 170295 186805 202715 217607 230417 251235 271855 289082 298612 318912 335145'
                                      },
                'body_parameters' => {
                                       'CDStub.tracks.19.title' => 'Whiskey Train',
                                       'CDStub.title' => 'The best of Procol Harum',
                                       'CDStub.tracks.14.artist' => '',
                                       'CDStub.tracks.18.title' => 'Juicy John Pink',
                                       'CDStub.barcode' => '4009910468029',
                                       'CDStub.tracks.15.title' => 'The Devil Came From Kansas',
                                       'CDStub.tracks.8.title' => 'Long Gone Geek',
                                       'CDStub.tracks.6.artist' => '',
                                       'CDStub.tracks.0.title' => 'A Whiter Shade of Pale',
                                       'CDStub.tracks.1.title' => 'Homburg',
                                       'CDStub.tracks.20.title' => 'About To Die',
                                       'CDStub.tracks.13.artist' => '',
                                       'CDStub.tracks.11.title' => 'Salad Days ( Are Here Again )',
                                       'CDStub.tracks.8.artist' => '',
                                       'CDStub.tracks.15.artist' => '',
                                       'CDStub.tracks.17.artist' => '',
                                       'CDStub.tracks.21.artist' => '',
                                       'CDStub.tracks.12.title' => 'Shine On Brightly ',
                                       'CDStub.artist' => 'Procol Harum',
                                       'CDStub.tracks.7.artist' => '',
                                       'CDStub.tracks.16.title' => 'Boredom',
                                       'CDStub.tracks.11.artist' => '',
                                       'CDStub.tracks.6.title' => 'In The Wee Small Hours Of Sixpence',
                                       'CDStub.tracks.0.artist' => '',
                                       'CDStub.tracks.14.title' => 'Magdalene ( My Regal Zonophone )',
                                       'CDStub.tracks.9.artist' => '',
                                       'CDStub.tracks.3.title' => 'A Salty Dog',
                                       'CDStub.tracks.5.title' => 'Good Captain Clack',
                                       'CDStub.tracks.3.artist' => '',
                                       'CDStub.tracks.20.artist' => '',
                                       'CDStub.tracks.5.artist' => '',
                                       'CDStub.tracks.19.artist' => '',
                                       'CDStub.tracks.7.title' => 'Rambling On',
                                       'CDStub.tracks.10.artist' => '',
                                       'CDStub.tracks.10.title' => 'She Wandered Through The Garden Fence',
                                       'CDStub.tracks.21.title' => 'Your Own Choice',
                                       'CDStub.tracks.18.artist' => '',
                                       'CDStub.tracks.16.artist' => '',
                                       'CDStub.tracks.2.title' => 'Quite Rightly So',
                                       'CDStub.tracks.17.title' => 'Wreck Of The Hesperus',
                                       'CDStub.tracks.4.title' => 'Lime Street Blues',
                                       'CDStub.tracks.9.title' => 'Conquistador',
                                       'CDStub.tracks.2.artist' => '',
                                       'CDStub.comment' => '',
                                       'CDStub.tracks.1.artist' => '',
                                       'CDStub.tracks.13.title' => 'Wish Me Well',
                                       'CDStub.tracks.12.artist' => '',
                                       'CDStub.tracks.4.artist' => ''
                                     }
              };
                  
      
      URL: http://musicbrainz.org/cdstub/add?toc=1+22+349275+150+18820+36595+53077+74027+87592+94522+108050+128365+142742+154775+170295+186805+202715+217607+230417+251235+271855+289082+298612+318912+335145
      

      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 all of the information that is shown above.

      Please be sure to include the stack trace and request data shown above!

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

              Created:
              Updated:
              Resolved:

                Version Package
                Bug fixes, 2011-08-15