From aa1ce5336593c9cf6ceecd39a408e9731707f9fb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Oct 2010 19:10:10 +0000 Subject: More helpful error message when both Redland and RDFLib aren't found. --- lv2include/lv2include.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lv2include') diff --git a/lv2include/lv2include.py b/lv2include/lv2include.py index 3f234e2..ae0e0af 100755 --- a/lv2include/lv2include.py +++ b/lv2include/lv2include.py @@ -41,7 +41,9 @@ except: import rdflib # Attempt to import RDFLib redland = False except: - print >> sys.stderr, "Failed to import RDF (Redland) or rdflib" + print >> sys.stderr, """Failed to import `RDF' (Redland) or `rdflib'. +(Please install either package, likely `python-librdf' or `python-rdflib')""" + sys.exit(1) def rdf_namespace(uri): "Create a new RDF namespace" -- cgit v1.2.1