← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697114] Re: [6.0-rc2] problems about tests of several modules

 

I improved the warning message (a debug msg, not a warning one that do
not requires a traceback.)

** Changed in: openobject-addons
       Status: New => Fix Released

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

Title:
  [6.0-rc2] problems about tests of several modules

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  Hello all,

I just updated my erp to the last versions. I then tried to create a new database, but after having choosen the applications to install (all), here's what I get for serveral modules. It seems there's a test procedure or data which causes the problem ...

[2011-01-04 08:39:11,602][mwp_24] INFO:init:module product: loading product_demo.xml
[2011-01-04 08:39:15,829][mwp_24] INFO:init:module product: loading test/product_report.yml
[2011-01-04 08:39:17,867][mwp_24] WARNING:tests.product: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
[2011-01-04 08:39:18,031][mwp_24] INFO:i18n:module product: loading translation file (fr) for language fr_CH

(...)

[2011-01-04 08:41:44,169][mwp_24] WARNING:tests.point_of_sale: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
[2011-01-04 08:41:44,295][mwp_24] WARNING:tests.point_of_sale: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



[2011-01-04 08:51:13,529][mwp_25] WARNING:tests.mrp: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
[2011-01-04 08:51:14,383][mwp_25] WARNING:tests.mrp: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