--- trunk/all2xml.pl 2005/01/23 02:02:10 641 +++ trunk/all2xml.pl 2005/01/27 17:55:09 647 @@ -23,7 +23,7 @@ #use index_DBI; # default DBI module for index #use index_DBI_cache; # faster DBI module using memory cache -use index_DBI_tag; # tag support for indexes +use index_DBI_filter; # filter support for indexes my $index; my %opts; @@ -738,7 +738,12 @@ $import2cp = Text::Iconv->new($config->{isis_codepage},$codepage); my $db = new Biblio::Isis( isisdb => $isis_db ); - my $max_rowid = $db->count || die "can't find maxmfn"; + my $max_rowid = $db->count; + + if (! $max_rowid) { + print STDERR "FATAL: can't read database: $isis_db, skipping...\n"; + next; + } print STDERR "Reading database: $isis_db [$max_rowid rows]\n";