This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Closed 3 years ago

#549 closed defect (fixed)

ZODB 3.10 : AssertionError

Reported by: bkeyaerts Owned by:
Priority: normal Milestone:
Component: Database Version: 0.97.0
Keywords: Cc:

Description

Indico 0.97rc2 using easy_install, installs ZODB 3.10 and gives the error below.
If I manually install using ZODB 3.9.6 everything works

MOD_PYTHON ERROR

ProcessId:      5024
Interpreter:    'main_interpreter'

ServerName:     'localhost'
DocumentRoot:   '/srv/www/htdocs'

URI:            '/indico/index.py'
Location:       None
Directory:      '/opt/indico/htdocs/'
Filename:       '/opt/indico/htdocs/index.py'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python.publisher'

Traceback (most recent call last):

  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib64/python2.6/site-packages/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib64/python2.6/site-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib64/python2.6/site-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)

  File "/opt/indico/htdocs/index.py", line 24, in index
    return welcome.RHWelcome( req ).process( params )

  File "/usr/local/lib64/python2.6/site-packages/cds_indico-0.97_rc2-py2.6.egg/MaKaC/webinterface/rh/base.py", line 445, in process
    DBMgr.getInstance().startRequest()

  File "/usr/local/lib64/python2.6/site-packages/cds_indico-0.97_rc2-py2.6.egg/MaKaC/common/db.py", line 92, in getInstance
    cls._instance=DBMgr(*args, **kwargs)

  File "/usr/local/lib64/python2.6/site-packages/cds_indico-0.97_rc2-py2.6.egg/MaKaC/common/db.py", line 84, in __init__
    self._storage=ClientStorage((hostname, port), username=cfg.getDBUserName(), password=cfg.getDBPassword(), realm=cfg.getDBRealm())

  File "/usr/local/lib64/python2.6/site-packages/ZODB3-3.10.0-py2.6-linux-x86_64.egg/ZEO/ClientStorage.py", line 420, in __init__
    self._wait(wait_timeout)

  File "/usr/local/lib64/python2.6/site-packages/ZODB3-3.10.0-py2.6-linux-x86_64.egg/ZEO/ClientStorage.py", line 437, in _wait
    self._rpc_mgr.connect(sync=1)

  File "/usr/local/lib64/python2.6/site-packages/ZODB3-3.10.0-py2.6-linux-x86_64.egg/ZEO/zrpc/client.py", line 285, in connect
    assert self.connection is not None

AssertionError


MODULE CACHE DETAILS

Accessed:       Tue Oct 26 09:42:44 2010
Generation:     0

_mp_f82f1cbab6d44e96c95ffaf5362fd5ea {
  FileName:     '/opt/indico/htdocs/index.py'
  Instance:     1 [IMPORT]
  Generation:   1
  Modified:     Tue Oct 26 09:40:57 2010
  Imported:     Tue Oct 26 09:42:44 2010
}



Change History (1)

comment:1 Changed 3 years ago by jbenito

  • Resolution set to fixed
  • Status changed from new to closed

It looks more like a ZODB issue that it was already solved. It seems to work fine with the latests ZODB3 versions.

Note: See TracTickets for help on using tickets.