[RAS] updareq does not work

Thomas Krichel krichel at openlib.org
Sat Jan 8 08:55:59 CST 2011


  RePEc/history was corrupt, 

  ~/perl/verify_all shows it's the only bdb that is corrupt. 

  This time the db_dump -r / db_load combo did work. 
  
  Starting an update to RePEc I get to 

U DATAFILE_START: aep/acewpa/archive.rdf
Sat Jan  8 09:27:01 2011 Error: Assertion failed!
 at /usr/share/perl5/Carp/Assert.pm line 281
        Carp::Assert::assert(undef) called at /home/aras/acis/lib/RePEc/Index/Storage/BDBwithTxn.pm line 120
        RePEc::Index::Storage::load_record_from_db_txn(undef, '/home/aras/acis/RI/data/RePEc/history', 'repec:aep:acewpa:2000.01') called at /home/aras/acis/lib/RePEc/Index/History/Handle.pm line 127
        RePEc::Index::History::Handle::event_record('RePEc::Index::Update::RECORD', 'repec:aep:acewpa:2000.01', 'ARDB::Record::ReDIF=HASH(0xa9f00e8)', 'ReDIF-Paper 1.0', 'aep/acewpa/archive.rdf', 0, 'SecOo3smEUqUuBPsPO2f2A', 'RePEc::Index::Update=HASH(0xa3f9768)') called at (eval 106) line 6
        RePEc::Index::Update::RECORD('RePEc::Index::Update::RECORD', 'repec:aep:acewpa:2000.01', 'ARDB::Record::ReDIF=HASH(0xa9f00e8)', 'ReDIF-Paper 1.0', 'aep/acewpa/archive.rdf', 0, 'SecOo3smEUqUuBPsPO2f2A', 'RePEc::Index::Update=HASH(0xa3f9768)') called at /home/aras/acis/lib/RePEc/Index/Update.pm line 519
        RePEc::Index::Update::read_file('RePEc::Index::Update=HASH(0xa3f9768)', '/home/adrepec/RePEc/remo/aep/acewpa/archive.rdf', 'RePEc::Index::FILE=ARRAY(0xaaf4d10)') called at /home/aras/acis/lib/RePEc/Index/Update.pm line 432
        RePEc::Index::Update::check_file('RePEc::Index::Update=HASH(0xa3f9768)', 'aep/acewpa/archive.rdf') called at /home/aras/acis/lib/RePEc/Index/Update.pm line 872
        RePEc::Index::Update::process_directory('RePEc::Index::Update=HASH(0xa3f9768)', 'aep/acewpa') called at /home/aras/acis/lib/RePEc/Index/Update.pm line 861
        RePEc::Index::Update::process_directory('RePEc::Index::Update=HASH(0xa3f9768)', 'aep') called at /home/aras/acis/lib/RePEc/Index/Update.pm line 861
        RePEc::Index::Update::process_directory('RePEc::Index::Update=HASH(0xa3f9768)', '', undef) called at /home/aras/acis/lib/RePEc/Index/Update.pm line 741
        RePEc::Index::Update::process_this('RePEc::Index::Update=HASH(0xa3f9768)', '/') called at /home/aras/acis/bin/control_daemon.pl line 443
        eval {...} called at /home/aras/acis/bin/control_daemon.pl line 429
        main::process_request('HASH(0x9ef08c0)', 0) called at /home/aras/acis/bin/control_daemon.pl line 319


  It looks like the transaction dissppears. 

  This time the db files are ok

aras at nebka:~$ db4.6_verify acis/RI/data/RePEc/history
aras at nebka:~$ db4.6_verify acis/RI/data/RePEc/records
aras at nebka:~$ db4.6_verify acis/RI/data/RePEc/conflicts
aras at nebka:~$ db4.6_verify acis/RI/data/RePEc/files 


  Updating the file on its own

updareq RePEc /aep/acewpa/archive.rdf 99999999

  seems to work just fine.



  Cheers,

  Thomas Krichel                    http://openlib.org/home/krichel
                                http://authorclaim.org/profile/pkr1
                                               skype: thomaskrichel



More information about the RAS-run mailing list