For some unknown reason my mass mailing emails and templates are not saving correctly, previously no problem but I do not khow what has changed. On saving all appears OK but on editing I get the error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_attachment.py", line 151, in _file_read r = open(full_path,'rb').read().encode('base64')IOError: [Errno 2] No such file or directory: u'/var/lib/odoo/filestore/infraredheaterpanels/21/21cdf7b6948b5e79d8ffb9977dea2dae5d1ae8fa'
The template then appears without my edits.
The other error that then subsequently appears on trying to edit the template isO
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 567, in __call__
cleaned_path = cleaned_path.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf001' in position 24: ordinal not in range(128)
I am running Odoo on Docker with Nginx to manage multiple instances and db's. The development instance does not have the problem.
Any ideas would be greatly appreciated.
This is your root problem: No such file or directory: u'/var/lib/odoo/filestore/infraredheaterpanels/21/21cdf7b6948b5e79d8ffb9977dea2dae5d1ae8fa'
Thanks Yenthe for your input. It certainly is the problem but what is the reason it is not saving?