Skip to Content
Menu
This question has been flagged
3 Replies
3961 Views

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.

Avatar
Discard

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?

Best Answer

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. 



Avatar
Discard
Related Posts Replies Views Activity
1
Mar 24
585
1
Apr 21
1097
2
Jun 20
2018
5
Jan 20
4541
2
Feb 18
2566