cubicweb #14789406 Exception: Is the database initialised ? (cause: need more than 1 value to unpack) [open]

When trying to connect to a database initialized in cubicweb 3.23 with a cubicweb 3.22 installation.

Traceback

/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/session.py:185: DeprecationWarning: [3.21] a cnxset is automatically set on __enter__ call now. stop using .ensure_cnx_set
return func(cnx, *args, **kwargs)
Traceback (most recent call last):
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/repository.py", line 330, in deserialize_schema
  deserialize_schema(appschema, cnx)
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/schemaserial.py", line 195, in deserialize_schema
  cstrsidx = deserialize_rdef_constraints(cnx)
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/schemaserial.py", line 330, in deserialize_rdef_constraints
  cstr = CONSTRAINTS[ct].deserialize(val)
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/schema.py", line 1208, in deserialize
  value, msg = value.split('\n', 1)
ValueError: need more than 1 value to unpack
2016-08-10 17:20:39 - (cubicweb.session) DEBUG: rollback for transaction __internal_manager__d95bdbf7c4074363950eb75848cd7e36-48b3bb3db2be490a89fb2f0d50c6bfa9 done
Traceback (most recent call last):
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/cwctl.py", line 146, in run_arg
  status = cmdmeth(appid)
File "/home/arthur/.virtualenvs/pnia_content/share/cubicweb/cubes/pyramid/ccplugin.py", line 332, in pyramid_instance
  app = self.get_wsgi_app(cwconfig)
File "/home/arthur/.virtualenvs/pnia_content/share/cubicweb/cubes/pyramid/ccplugin.py", line 353, in get_wsgi_app
  profile_dump_every=self['profile-dump-every']
File "/home/arthur/src/public/grshells/grshell-cubicweb/pyramid-cubicweb/pyramid_cubicweb/__init__.py", line 76, in wsgi_application_from_cwconfig
  config = make_cubicweb_application(cwconfig)
File "/home/arthur/src/public/grshells/grshell-cubicweb/pyramid-cubicweb/pyramid_cubicweb/__init__.py", line 28, in make_cubicweb_application
  config.include('pyramid_cubicweb')
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/pyramid/config/__init__.py", line 800, in include
  c(configurator)
File "/home/arthur/src/public/grshells/grshell-cubicweb/pyramid-cubicweb/pyramid_cubicweb/__init__.py", line 179, in includeme
  config.registry['cubicweb.repository'] = repo = cwconfig.repository()
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/cwconfig.py", line 1004, in repository
  return Repository(self, TasksManager(), vreg=vreg)
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/repository.py", line 186, in __init__
  self.init_cnxset_pool()
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/repository.py", line 237, in init_cnxset_pool
  self.set_schema(self.deserialize_schema())
File "/home/arthur/.virtualenvs/pnia_content/local/lib/python2.7/site-packages/cubicweb/server/repository.py", line 336, in deserialize_schema
  raise Exception('Is the database initialised ? (cause: %s)' % ex)
Exception: Is the database initialised ? (cause: need more than 1 value to unpack)
instance pnia_portal not None: Is the database initialised ? (cause: need more than 1 value to unpack)
Process exited with 8
prioritynormal
typebug
done in<not specified>
closed by<not specified>