Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Mass Mailing Templates Not Saving

By
Stephen O'Callaghan
on 2/17/16, 2:40 AM 681 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.

This is your root problem: No such file or directory: u'/var/lib/odoo/filestore/infraredheaterpanels/21/21cdf7b6948b5e79d8ffb9977dea2dae5d1ae8fa'

Yenthe
on 2/18/16, 3:56 AM

 Thanks Yenthe for your input.  It certainly is the problem but what is the reason it is not saving?

Stephen O'Callaghan
on 2/18/16, 5:30 AM
0
Dominic
On 4/4/16, 9:29 AM

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. 



Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/17/16, 2:40 AM
Seen: 681 times
Last updated: 4/4/16, 9:29 AM