← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707374] Re: [6.0] relatorio error in l10n_cn

 

Thanks for your reply!

>From your last comment #2 I am closing this bug.

** Changed in: openobject-addons
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/707374

Title:
  [6.0] relatorio error in l10n_cn

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  Got the following error when in the intial setup wizard:

  
  Environment Information : 
  System : Linux-2.6.35-24-generic-i686-with-Ubuntu-10.10-maverick
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.10
  Release:	10.10
  Codename:	maverick
  Operating System Release : 2.6.35-24-generic
  Operating System Version : #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : fr_FR.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/base/res/res_config.py", line 167, in action_next
      next = self.execute(cr, uid, ids, context=None)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/base/res/res_config.py", line 397, in execute
      new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/__init__.py", line 716, in load_module_graph
      register_class(package.name)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/__init__.py", line 450, in register_class
      imp.load_module(m, *fm)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/__init__.py", line 24, in <module>
      import relatorio_report_cn
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/__init__.py", line 13, in <module>
      from relatorio.templates.opendocument import Template
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/relatorio/__init__.py", line 12, in <module>
      from relatorio.reporting import MIMETemplateLoader, ReportRepository, Report
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/relatorio/reporting.py", line 26, in <module>
      from genshi.template import TemplateLoader
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/genshi/__init__.py", line 32, in <module>
      from genshi.core import *
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/genshi/core.py", line 544, in <module>
      from genshi._speedups import Markup
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/genshi/_speedups.py", line 7, in <module>
      __bootstrap__()
    File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/l10n_cn/relatorio_report_cn/lib/genshi/_speedups.py", line 5, in __bootstrap__
      del __bootstrap__, __loader__
  NameError: global name '__loader__' is not defined





References