TypeError: 'NoneType' on every kind of file upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to upload a file I get an error. It doesn't matter where I upload it. When I for example try to upload a file as mail attachment an error shows up in the upper right corner, when I try to attach a file via the document management system module it's just loading forever and nothing happens.
The error in the errorlog hover is always nearly the same:
2013-01-18 23:29:27,689 60122 ERROR openerp_db openerp.
Traceback (most recent call last):
File "/usr/lib/
res = (mime, fobj.indexConte
File "/usr/lib/
res = self._doIndexFi
File "/usr/lib/
pop = Popen(['pdftotext', '-enc', 'UTF-8', '-nopgbrk', fname, '-'], shell=False, stdout=PIPE)
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
2013-01-18 23:29:27,690 60122 ERROR openerp_db openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
vals[
File "/usr/lib/
mime, icont = cntIndex.
TypeError: 'NoneType' object is not iterable
2013-01-18 23:29:27,691 60122 ERROR openerp_db openerp.netsvc: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
vals[
File "/usr/lib/
mime, icont = cntIndex.
TypeError: 'NoneType' object is not iterable
2013-01-18 23:29:27,693 60122 INFO openerp_db werkzeug: 10.0.10.4 - - [18/Jan/2013 23:29:27] "POST /web/binary/
The upload itself looks like it would work. In Chrome I see the progress for the file upload on the bottom left corner behaving normally and at 100% the openERP error shows up.
My first guess would be there are some file permissions missing but I don't really know were to start looking (my only try so far was to give the openerp user full access to /usr/lib/
I installed openERP (7.0-20130118-
Sorry if this bug report should be at the wrong place here.. I wasn't very sure where to put it.
Oh, I forgot to mention that my server is a Ubuntu Server 12.04.1 (GNU/Linux 3.2.0-34-generic x86_64).