← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 693324] [NEW] [6.0-RC1] Warning on acount module when create new database

 

On Wednesday 22 December 2010, you wrote:
> Public bug reported:
> ...
> ...  Popen(['pdftotext', '-enc', 'UTF-8',...
> OSError: [Errno 2] Aucun fichier ou dossier de ce type

Let me explain:
In the latest trunk, we are feeding the PDF of testing reports back into 
"pdftotext" in order to see if the content of the report is sane.

If you don't have "pdftotext" installed in your system, this will fail, as the 
OSError clearly indicates. Even in that case, the error can safely be ignored, 
because it is only an internal step of the YML test.

Please, either install "pdftotext" or ignore this error. [1]

[1] pdftotext is also used in document's content indexing system, FYI.

-- 
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/693324

Title:
  [6.0-RC1] Warning on acount module when create new database

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  [2010-12-22 11:08:59,800][mwp_19] 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-22 11:09:01,081][mwp_19] 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 78, 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