cubicweb-datacatgeo #6352442 migration from 0.3.1 crashes upon add_cube('postgis') [open]

traceback:

>>> add_cube('postgis')                                                            
Traceback (most recent call last):                                                 
  File "<console>", line 1, in <module>                                            
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/migractions.py", line 633,
 in cmd_add_cube                                                                   
    self.cmd_add_cubes( (cube,), update_database)                                  
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/migractions.py", line 673,
 in cmd_add_cubes                                                                  
    self.cmd_add_entity_type(eschema.type)                                         
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/migractions.py", line 794,
 in cmd_add_entity_type                                                            
    ss.execschemarql(execute, eschema, ss.eschema2rql(eschema, groupmap))          
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/schemaserial.py", line 405
, in execschemarql                                                                 
    rset = execute(rql, kwargs, build_descr=False)                                 
  File "/usr/lib/python2.7/dist-packages/cubicweb/repoapi.py", line 129, in check_o
pen                                                                                
    return func(clt_cnx, *args, **kwargs)                                          
  File "/usr/lib/python2.7/dist-packages/cubicweb/repoapi.py", line 213, in execute
    rset = self._cnx.execute(*args, **kwargs)                                      
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/session.py", line 371, in 
wrapper                                                                            
    return func(cnx, *args, **kwargs)                                              
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/session.py", line 381, in 
check_open                                                                         
    return func(cnx, *args, **kwargs)                                              
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/session.py", line 1019, in
 execute                                                                           
    rset = self._execute(self, rql, kwargs, build_descr)                           
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/querier.py", line 611, in 
execute                                                                            
    results = plan.execute()                                                       
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/querier.py", line 192, in 
execute                                                                            
    result = step.execute()                                                        
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/ssplanner.py", line 454, i
n execute                                                                          
    result = self.plan.insert_entity_defs()                                        
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/querier.py", line 438, in 
insert_entity_defs                                                                 
    for edef in row])                                                              
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 1200,
 in glob_add_entity                                                                
    self.hm.call_hooks('after_add_entity', cnx, entity=entity)                     
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/hook.py", line 412, in cal
l_hooks                                                                            
    registry.call_hooks(event, cnx, **kwargs)                                      
  File "/usr/lib/python2.7/dist-packages/cubicweb/server/hook.py", line 333, in cal
l_hooks                                                                            
    hook()                                                                         
  File "/usr/lib/python2.7/dist-packages/cubicweb/hooks/syncschema.py", line 971, $
n __call__                                                                         
    self._cw.vreg.schema[entity.name].eid = entity.eid                             
  File "/usr/lib/python2.7/dist-packages/yams/schema.py", line 1036, in __getitem_$
    return self.rschema(name)                                                      
  File "/usr/lib/python2.7/dist-packages/yams/schema.py", line 1238, in rschema    
    raise KeyError('No relation named %s in schema'%rtype)                         
KeyError: u'No relation named Geography in schema'
prioritynormal
typebug
done in<not specified>
closed by<not specified>