cubicweb #343383 crash on migration [resolved]

trace :

pg_restore -Fc --username=docaster --dbname docaster --no-owner /home/auc/docaster-dbdump-20090514-130648
Password:
database restored
changed SQL_PREFIX for migractions
changed SQL_PREFIX for sources.rql2sql
changed SQL_PREFIX for sources.native
ALTER TABLE EFRDef RENAME TO CWAttribute
ALTER TABLE ENFRDef RENAME TO CWRelation
ALTER TABLE ERType RENAME TO CWRType
ALTER TABLE EEType RENAME TO CWEType
ALTER TABLE EConstraintType RENAME TO CWConstraintType
ALTER TABLE EConstraint RENAME TO CWConstraint
ALTER TABLE EGroup RENAME TO CWGroup
ALTER TABLE EUser RENAME TO CWUser
ALTER TABLE ECache RENAME TO CWCache
ALTER TABLE EPermission RENAME TO CWPermission
ALTER TABLE EProperty RENAME TO CWProperty
fixing etype name from ECache to CWCache
2009-05-22 18:07:51 - (cubicweb.sources.system) CRITICAL: sql: 'UPDATE cw_CWEType SET cw_name=%(n)s WHERE cw_eid=%(x)s'
args: {'x': 27, 'n': 'CWCache'}
dbms message: "ERREUR:  la relation \xc2\xab cw_cwetype \xc2\xbb n'existe pas\n"
Traceback (most recent call last):
 File "/usr/lib/python2.5/site-packages/cubicweb/server/repository.py", line 257, in fill_schema
   deserialize_schema(appschema, session)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/schemaserial.py", line 130, in deserialize_schema
   {'x': eid, 'n': ETYPE_NAME_MAP[etype]})
 File "/usr/lib/python2.5/site-packages/cubicweb/server/session.py", line 185, in system_sql
   self.pool.source('system').doexec(cursor, sql, args)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py", line 415, in doexec
   cursor.execute(str(query), args)
ProgrammingError: ERREUR:  la relation « cw_cwetype » n'existe pas
priorityimportant
typebug
done in3.2.1
load0.100
load left0.000
closed by<not specified>