Odoo Help

0

Mass Mailing Templates Not Saving

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



About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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