credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #04264
[Bug 922083] Re: Trunk: Problem with root-directory in Document-Module
Hi Ravish
Sorry, but I looked at your video and faced the same warnin-message in your traceback. I attached a scrrenshot from your video where you can facxe the message. I think my problems are coming from that warning-message....
** Attachment added: "2012-01-27_113803.pdf"
https://bugs.launchpad.net/openobject-addons/+bug/922083/+attachment/2696197/+files/2012-01-27_113803.pdf
--
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/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