diff -r da580218a5b3 -r 229006accd26 server/checkintegrity.py --- a/server/checkintegrity.py Tue Sep 07 22:58:31 2010 +0200 +++ b/server/checkintegrity.py Tue Sep 07 22:59:55 2010 +0200 @@ -240,7 +240,12 @@ table, column, column, eid) session.system_sql(sql) continue - cursor = session.system_sql('SELECT eid_from FROM %s_relation;' % rschema) + try: + cursor = session.system_sql('SELECT eid_from FROM %s_relation;' % rschema) + except Exception, ex: + # usually because table doesn't exist + print 'ERROR', ex + continue for row in cursor.fetchall(): eid = row[0] if not has_eid(session, cursor, eid, eids):