← Back to team overview

credativ team mailing list archive

[Bug 905279] Re: problem while saving doc file in document

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

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

Title:
  problem while saving doc file in document

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello,

           Install document model ,
           go to : knowledge -> documents
           click on new   and fill the required fields ,
           and in "file content" select a .doc  file and save it.
           it will give following traceback .

  [2011-12-16 11:18:30,029][?] ERROR:addons.document.content_index:Could not index file test a.doc (None)
  Traceback (most recent call last):
    File "/home/nco/workspace/rdtools/addons/trunk/document/content_index.py", line 182, in doIndex
      res = (mime, fobj.indexContent(content,filename,fname or realfname) )
    File "/home/nco/workspace/rdtools/addons/trunk/document/content_index.py", line 90, in indexContent
      res = self._doIndexFile(rfname)
    File "/home/nco/workspace/rdtools/addons/trunk/document/std_index.py", line 98, in _doIndexFile
      pop = Popen(['antiword', 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


  It will save the other files like .ogv, txt etc.. but gives traceback
  when select a doc file and save it.


  
  Thank You,
     NCO

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


References