--- trunk/all2xml.pl 2005/01/27 17:51:38 646 +++ trunk/all2xml.pl 2005/01/27 17:55:09 647 @@ -738,8 +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"; -$max_rowid = 200; # XXX + 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";