← Back to team overview

openerp-india team mailing list archive

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

 

Hello ,

This bug is due to antiword(Ms Word reader) is not installed. so I have
put error message for installing it.

it has been fixed in https://code.launchpad.net/~openerp-dev/openobject-
addons/trunk-bug-905279-sgo

branch.

Revision ID: sgo@xxxxxxxxxxx-20111219093156-yern0qjj3vz7gpsf
Revision No: 6020

It will be merged soon on addons

Thanks for notify us.

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  problem while saving doc file in document

Status in OpenERP Addons (modules):
  Fix Committed

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