diff -r 739d12586b9d -r 42693fe3ef6f server/sources/pyrorql.py --- a/server/sources/pyrorql.py Tue Jan 13 17:51:31 2009 +0100 +++ b/server/sources/pyrorql.py Tue Jan 13 17:51:54 2009 +0100 @@ -429,7 +429,13 @@ try: if isinstance(node.children[0], Constant): # simplified rqlst, reintroduce eid relation - restr, lhs = self.process_eid_const(node.children[0]) + try: + restr, lhs = self.process_eid_const(node.children[0]) + except UnknownEid: + # can safely skip not relation with an unsupported eid + if node.neged(strict=True): + return + raise else: lhs = node.children[0].accept(self) restr = None