← Back to team overview

credativ team mailing list archive

[Bug 1026582] Re: force_deps not set: {} is not a valid expression

 

fixed in rev3990

** Changed in: openupgrade-server
     Assignee: Holger Brunn (Therp) (hbrunn) => (unassigned)

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is the registrant for OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1026582

Title:
  force_deps not set: {} is not a valid expression

Status in OpenUpgrade Server:
  Fix Released

Bug description:
  2012-07-19 10:48:53,137 11317 INFO ? openerp: OpenERP version 6.1
  2012-07-19 10:48:53,138 11317 INFO ? openerp: addons paths: /home/quentin/.virtualenvs/migration/openupgrade-addons,/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/addons,/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/tests/addons,/home/quentin/.virtualenvs/6.1/web/addons,/home/quentin/.virtualenvs/6.1/openobject-addons
  2012-07-19 10:48:53,138 11317 INFO ? openerp: database hostname: 127.0.0.1
  2012-07-19 10:48:53,138 11317 INFO ? openerp: database port: 5432
  2012-07-19 10:48:53,138 11317 INFO ? openerp: database user: openerp
  2012-07-19 10:48:53,198 11317 INFO ? openerp.addons.web: embedded mode
  2012-07-19 10:48:53,457 11317 ERROR mydb_mig openerp: Failed to initialize database `mydb_mig`.
  Traceback (most recent call last):
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp-server.py", line 95, in preload_registry
      db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/pooler.py", line 33, in get_db_and_pool
      registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/modules/registry.py", line 180, in get
      update_module, pooljobs)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/modules/registry.py", line 202, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/modules/loading.py", line 453, in load_modules
      graph.add_module(cr, 'base', force)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/modules/graph.py", line 91, in add_module
      self.add_modules(cr, [module], force)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/modules/graph.py", line 103, in add_modules
      forced_deps=tools.safe_eval.safe_eval(forced_deps)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/tools/safe_eval.py", line 241, in safe_eval
      return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
    File "/home/quentin/.virtualenvs/migration/openupgrade-server/openerp/tools/safe_eval.py", line 114, in test_expr
      raise ValueError("%s is not a valid expression" % expr)
  ValueError: {} is not a valid expression

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1026582/+subscriptions


References