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.
As you are running multiple instances this might help you:
On the official page of Docker Hub, odoo indicates following information when running multiple instances:
"Please note that for plain use of mails and reports functionalities, when the host and container ports differ (e.g. 8070 and 8069), one has to set, in Odoo, Settings->Parameters->System Parameters (requires technical features), web.base.url to the container port (e.g. 127.0.0.1:8069)."
Did you solve the problem already? I have similar issues on installing new addons when running multiple instances. Changing to one container only lets me install addons withouth issues.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/17/16, 2:40 AM|
|Seen: 681 times|
|Last updated: 4/4/16, 9:29 AM|