← Back to team overview

openerp-india team mailing list archive

[Bug 922083] Re: Trunk: Problem with root-directory in Document-Module

 

Hello Rene,

I have attached  new video for your reference with latest updated .
As I said above that ,is working properly for me . I am not getting traceback which you have got.
I have not configure connection for FTP, that why I am getting connection fail error in video,please ignore. 

Thanks!


** Attachment added: "For more info... see this video"
   https://bugs.launchpad.net/openobject-addons/+bug/922083/+attachment/2696152/+files/vediotest.ogv

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

Title:
  Trunk: Problem with root-directory in Document-Module

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  When I install the document-module in Version 6.1RC1, I always get the
  following warning:

  WARNING:document:Cannot set directory root:No such external ID
  currently defined in the system: document.dir_root

  Further on, whe a PDF-document is created during a sales-proces like
  confirming a sales order, ther is a problem with indexing the file
  probably because of the warning above. I always get the following
  error:

  ERROR:addons.document.content_index:Could not index file VK002.pdf (None)
  Traceback (most recent call last):
    File "/home/erp/openerp_trunk/addons/document/content_index.py", line 182, in doIndex
      res = (mime, fobj.indexContent(content,filename,fname or realfname) )
    File "/home/erp/openerp_trunk/addons/document/content_index.py", line 90, in indexContent
      res = self._doIndexFile(rfname)
    File "/home/erp/openerp_trunk/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/922083/+subscriptions


References