← Back to team overview

openerp-india team mailing list archive

[Bug 925318] Re: Trunk: Error while indexing PDF-Files

 

*** This bug is a duplicate of bug 922083 ***
    https://bugs.launchpad.net/bugs/922083

This issue also appears on a 6.0.3 install on windows as well. There
doesn't seem to be an install of pdftotxt.exe as part of any standard
requirement in the doc. Please revisit the documentation to make sure
all required libraries are present.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/925318

Title:
  Trunk: Error while indexing PDF-Files

Status in OpenERP Addons (modules):
  New

Bug description:
  When a PDF has to be indexed even while downloading from e-mail-input-
  account or when confirming a sales-order I alwas get error, that the
  file could not be indexed. See my trace-back below:

  [2012-02-02 08:19:30,671][?] INFO:werkzeug:192.168.0.68 - - [02/Feb/2012 08:19:30] "GET /web/static/src/img/attachments-close.png                                     HTTP/1.1" 304 -
  [2012-02-02 08:24:25,062][?] INFO:fetchmail:start checking for new emails on pop server Hostpoint
  [2012-02-02 08:24:27,936][?] ERROR:addons.document.content_index:Could not index file xyz.pdf (None)
  Traceback (most recent call last):
    File "/home/erp/openerp6.1rc1/addons/document/content_index.py", line 182, in doIndex
      res = (mime, fobj.indexContent(content,filename,fname or realfname) )
    File "/home/erp/openerp6.1rc1/addons/document/content_index.py", line 90, in indexContent
      res = self._doIndexFile(rfname)
    File "/home/erp/openerp6.1rc1/addons/document/std_index.py", line 168, in _doIndexFile
      pop = Popen(['pdftotext', '-enc', 'UTF-8', '-nopgbrk', fname, '-'], shell=False, stdout=PIPE)
    File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
      errread, errwrite)
    File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/925318/+subscriptions


References