diff -r 1f6839019e6a -r ae31063f3274 server/sources/pyrorql.py --- a/server/sources/pyrorql.py Thu Jun 16 19:37:59 2011 +0200 +++ b/server/sources/pyrorql.py Thu Jun 16 19:38:28 2011 +0200 @@ -234,6 +234,7 @@ etype, dexturi, dextid = cnx.describe(extid) if dexturi == 'system' or not ( dexturi in self.repo.sources_by_uri or self._skip_externals): + assert etype in self.support_entities, etype return self.repo.extid2eid(self, str(extid), etype, session), True if dexturi in self.repo.sources_by_uri: source = self.repo.sources_by_uri[dexturi]