c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09206
[Bug 693305] [NEW] [6.0-RC1] Error when trying to install project-planning module
Public bug reported:
Hello all,
here's the error I get when tried to install the module project-planning
:
[2010-12-22 10:19:07,014][mwp_18] ERROR:test:Tests failed to execute in module project_planning
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 665, in load_test
_load_data(cr, module_name, id_map, mode, 'test')
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 688, in _load_data
tools.convert_yaml_import(cr, module_name, file, id_map, mode, noupdate)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 790, in yaml_import
yaml_interpreter.process(yaml_string)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 725, in process
self._process_node(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 740, in _process_node
self.process_python(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 414, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/project_planning/test/project_planning_report.yml", line 2, in <module>
In order to test the PDF reports defined on a Project Planning, we will print Project Planning Report
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 423, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 486, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 506, in create_single_pdf
logo = base64.decodestring(rml_parser.logo)
File "/usr/lib/python2.6/base64.py", line 321, in decodestring
return binascii.a2b_base64(s)
Error: Incorrect padding
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/693305
Title:
[6.0-RC1] Error when trying to install project-planning module
Status in OpenObject Addons Modules:
New
Bug description:
Hello all,
here's the error I get when tried to install the module project-planning :
[2010-12-22 10:19:07,014][mwp_18] ERROR:test:Tests failed to execute in module project_planning
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 665, in load_test
_load_data(cr, module_name, id_map, mode, 'test')
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 688, in _load_data
tools.convert_yaml_import(cr, module_name, file, id_map, mode, noupdate)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 790, in yaml_import
yaml_interpreter.process(yaml_string)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 725, in process
self._process_node(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 740, in _process_node
self.process_python(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 414, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/project_planning/test/project_planning_report.yml", line 2, in <module>
In order to test the PDF reports defined on a Project Planning, we will print Project Planning Report
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 423, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 486, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 506, in create_single_pdf
logo = base64.decodestring(rml_parser.logo)
File "/usr/lib/python2.6/base64.py", line 321, in decodestring
return binascii.a2b_base64(s)
Error: Incorrect padding
Follow ups
References