cubicweb #1316960 CubicWebNoAppConfiguration object has no attribute cubes [resolved]

running shingouz with 3.10.0 raises:

File "**/shingouz/model.py", line 69, in __init__
  self.cnx.load_appobjects(apptemplate)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 540, in load_appobjects
  self.vreg.register_objects(vpath)
File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 634, in register_objects
  path, self.config.extrapath)
File "/usr/lib/python2.6/dist-packages/cubicweb/vregistry.py", line 409, in register_objects
  self.load_file(filepath, modname)
File "/usr/lib/python2.6/dist-packages/cubicweb/vregistry.py", line 465, in load_file
  self.load_module(module)
File "/usr/lib/python2.6/dist-packages/cubicweb/vregistry.py", line 470, in load_module
  module.registration_callback(self)
File "/usr/share/cubicweb/cubes/card/views.py", line 48, in registration_callback
  if 'preview' in vreg.config.cubes():
AttributeError: 'CubicWebNoAppConfiguration' object has no attribute 'cubes'
prioritynormal
typebug
done in3.10.1
load0.100
load left0.000
closed by<not specified>