← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670897] Re: yml error while installing module : l10n_fr, l10n_lu

 

For l10n_fr, the variable should be declared global somehow.
For l1on_lu, the client system should have the pdftk library installed.
Thanks.

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

** Changed in: openobject-addons
   Importance: Undecided => Low

-- 
yml error while installing module : l10n_fr, l10n_lu
https://bugs.launchpad.net/bugs/670897
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
l10n_fr :

 When I install This Module I found the Following ERROR On Server Side:
[2010-11-03 17:33:07,290][db_test] ERROR:report:name 'bpcheck' is not defined
Traceback (most recent call last):
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/report/render/rml2pdf/utils.py", line 89, in _child_get
    eval(n.get('rml_except'), {}, self.localcontext)
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/tools/safe_eval.py", line 272, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  NameError: name 'bpcheck' is not defined 

l10n_lu 
 When I intstall This module I found the following ERROR on Server Side:
sh: pdftk: not found
[2010-11-03 17:40:19,324][db_test] ERROR:tests.l10n_lu:('warning', 'pdf not created !')
Traceback (most recent call last):
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/tools/yaml_import.py", line 738, in _process_node
    self.process_python(node)
  File "/home/tiny/workspace/usability/trunk_useability_server/bin/tools/yaml_import.py", line 412, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/tiny/workspace/usability/trunk_useability_addons/l10n_lu/test/l10n_lu_report.yml", line 2, in <module>
    It is demo data for the account.tax.code
  File "/home/tiny/workspace/usability/trunk_useability_addons/l10n_lu/wizard/print_vat.py", line 54, in create
    raise osv.except_osv(_('pdf not created !'), _('Please check if package pdftk is installed!'))
except_osv: ('warning', 'pdf not created !')





References