openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13839
[Bug 1026954] [NEW] addons.document.content_index: Could not index file XXXX.pdf
Public bug reported:
Hello,
I've configured an email account to forward emails to HR.Recruitment.
There's no problem until I receive an email with a file attached to it.
I'm using OpenERP 6.1.1 downloaded in .tar.gz from openerp.com and
running under Debian.
The file gets stored in OpenERP and the message gets to hr.recruitment,
but an error is thrown.
2012-07-20 08:04:43,291 1049 INFO ? fetchmail: start checking for new emails on imap server X@xxxx
2012-07-20 08:04:44,750 1049 ERROR ? addons.document.content_index: Could not index file we_media_espanol.pdf (None)
Traceback (most recent call last):
File "/opt/server/openerp/addons/document/content_index.py", line 182, in doIndex
res = (mime, fobj.indexContent(content,filename,fname or realfname) )
File "/opt/server/openerp/addons/document/content_index.py", line 90, in indexContent
res = self._doIndexFile(rfname)
File "/opt/server/openerp/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 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
** Affects: openobject-server
Importance: Undecided
Status: New
** Description changed:
Hello,
I've configured an email account to forward emails to HR.Recruitment.
There's no problem until I receive an email with a file attached to it.
I'm using OpenERP 6.1.1 downloaded in .tar.gz from openerp.com and
running under Debian.
- The file gets stored in OpenERP but an error is thrown anyway.
+ The file gets stored in OpenERP and the message gets to hr.recruitment,
+ but an error is thrown.
2012-07-20 08:04:43,291 1049 INFO ? fetchmail: start checking for new emails on imap server X@xxxx
2012-07-20 08:04:44,750 1049 ERROR ? addons.document.content_index: Could not index file we_media_espanol.pdf (None)
Traceback (most recent call last):
- File "/opt/server/openerp/addons/document/content_index.py", line 182, in doIndex
- res = (mime, fobj.indexContent(content,filename,fname or realfname) )
- File "/opt/server/openerp/addons/document/content_index.py", line 90, in indexContent
- res = self._doIndexFile(rfname)
- File "/opt/server/openerp/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 623, in __init__
- errread, errwrite)
- File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
- raise child_exception
+ File "/opt/server/openerp/addons/document/content_index.py", line 182, in doIndex
+ res = (mime, fobj.indexContent(content,filename,fname or realfname) )
+ File "/opt/server/openerp/addons/document/content_index.py", line 90, in indexContent
+ res = self._doIndexFile(rfname)
+ File "/opt/server/openerp/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 623, in __init__
+ errread, errwrite)
+ File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
+ raise child_exception
OSError: [Errno 2] No such file or directory
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1026954
Title:
addons.document.content_index: Could not index file XXXX.pdf
Status in OpenERP Server:
New
Bug description:
Hello,
I've configured an email account to forward emails to HR.Recruitment.
There's no problem until I receive an email with a file attached to
it.
I'm using OpenERP 6.1.1 downloaded in .tar.gz from openerp.com and
running under Debian.
The file gets stored in OpenERP and the message gets to
hr.recruitment, but an error is thrown.
2012-07-20 08:04:43,291 1049 INFO ? fetchmail: start checking for new emails on imap server X@xxxx
2012-07-20 08:04:44,750 1049 ERROR ? addons.document.content_index: Could not index file we_media_espanol.pdf (None)
Traceback (most recent call last):
File "/opt/server/openerp/addons/document/content_index.py", line 182, in doIndex
res = (mime, fobj.indexContent(content,filename,fname or realfname) )
File "/opt/server/openerp/addons/document/content_index.py", line 90, in indexContent
res = self._doIndexFile(rfname)
File "/opt/server/openerp/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 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, 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-server/+bug/1026954/+subscriptions
Follow ups
References