r3813 - software/ui/src
Enrico Zini
enrico at alioth.debian.org
Fri Aug 24 14:47:18 UTC 2007
Author: enrico
Date: 2007-08-24 14:47:18 +0000 (Fri, 24 Aug 2007)
New Revision: 3813
Modified:
software/ui/src/goplay.cpp
Log:
Give special info when detecting a missing Xapian database
Modified: software/ui/src/goplay.cpp
===================================================================
--- software/ui/src/goplay.cpp 2007-08-24 13:46:16 UTC (rev 3812)
+++ software/ui/src/goplay.cpp 2007-08-24 14:47:18 UTC (rev 3813)
@@ -396,6 +396,13 @@
} catch (std::exception& e) {
cerr << e.what() << endl;
return 1;
+ } catch (Xapian::InvalidArgumentError& e) {
+ cerr << "Xapian " << e.get_type() << ": " << e.get_msg();
+ if (!e.get_context().empty())
+ cerr << ". Context: " << e.get_context();
+ cerr << endl;
+ cerr << endl;
+ cerr << "It could be that your Apt Xapian index is missing: you can create it by running ept-cache reindex as root." << endl;
} catch (Xapian::DatabaseVersionError& e) {
cerr << "Xapian " << e.get_type() << ": " << e.get_msg();
if (!e.get_context().empty())
More information about the Pkg-games-commits
mailing list