pyramid-cubicweb #4751862 initialization fails if anonymous access is not authorized in cw config [resolved]

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 162, in run_arg
    status = cmdmeth(appid)
  File "/usr/share/cubicweb/cubes/pyramid/ccplugin.py", line 270, in pyramid_instance
    pyramid_config = make_cubicweb_application(cwconfig)
  File "/home/denis/src/cw/pyramid_cubicweb/pyramid_cubicweb/__init__.py", line 30, in make_cubicweb_application
    config.include('pyramid_cubicweb.core')
  File "/var/lib/pyramid/venv/lib/python2.7/site-packages/pyramid/config/__init__.py", line 755, in include
    c(configurator)
  File "/home/denis/src/cw/pyramid_cubicweb/pyramid_cubicweb/core.py", line 220, in includeme
    'CWUser', login=login).one().eid
  File "/usr/lib/python2.7/dist-packages/cubicweb/rset.py", line 452, in one
    raise NoResultError("No row was found for one()")
NoResultError: No row was found for one()
prioritynormal
typebug
done in0.3.1
load0.500
load left0.000
closed by#97110b4af42f Handle absence of anonymous user
patchHandle absence of anonymous user [applied]Handle inexistent anonymous user [rejected]