c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07484
[Bug 688038] Re: [6.0-rc1] Error when loading account_report.yml
Hello forstera,
I check this issue. I get this problem in python2.6 but not in python2.5 so this problem related to framework.
This is fix using import hashlib instead md5 in openobject-server/bin/report/pyPdf/pdf.pf
thanks
ara
--
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/688038
Title:
[6.0-rc1] Error when loading account_report.yml
Status in OpenObject Addons Modules:
Confirmed
Bug description:
[2010-12-09 14:37:28,498][mwp_04] INFO:init:module account: loading test/account_report.yml
/usr/local/lib/python2.6/dist-packages/openerp-server/report/pyPdf/pdf.py:163: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import struct, md5
[2010-12-09 14:37:29,766][mwp_04] WARNING:tools.test_reports:Cannot extract report's text:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/test_reports.py", line 73, in try_report
fp = Popen(['pdftotext', '-enc', 'UTF-8', '-nopgbrk', rfname, '-'], shell=False, stdout=PIPE).stdout
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type
References