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

Help me. I couldn't fix it.

By
nyhotpoint@gmail.com
on 10/18/16, 11:56 AM 183 views

System : Odoo8 on Synology DSM 6

Suddenly this errors shown up.

What's problem? Plz help me. Thank you.

-------------------------- error message ---------------------------------

Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 499, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 516, in dispatch result = self._call_function(**self.params) File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 282, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 279, in checked_call return self.endpoint(*a, **kw) File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 732, in __call__ return self.method(*args, **kw) File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 375, in response_wrap response = f(*args, **kw) File "/var/packages/Odoo8/target/addons/calendar/controllers/main.py", line 61, in notify res = registry.get("calendar.alarm_manager").get_next_notif(cr, uid, context=context) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/var/packages/Odoo8/target/addons/calendar/calendar.py", line 500, in get_next_notif all_notif.append(self.do_notif_reminder(cr, uid, alert, context=context)) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/var/packages/Odoo8/target/addons/calendar/calendar.py", line 521, in do_notif_reminder message = event.display_time File "/usr/local/lib/python2.7/site-packages/openerp/fields.py", line 711, in __get__ self.determine_value(record) File "/usr/local/lib/python2.7/site-packages/openerp/fields.py", line 806, in determine_value record._prefetch_field(self) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3180, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 552, in new_api result = method(self._model, cr, uid, self.ids, *args, **kwargs) File "/var/packages/Odoo8/target/addons/calendar/calendar.py", line 1619, in read real_data = super(calendar_event, self).read(cr, uid, [real_id for calendar_id, real_id in select], fields=fields2, context=context, load=load) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3095, in read result = BaseModel.read(records, fields, load=load) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3127, in read self._read_from_database(stored) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper return new_api(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3276, in _read_from_database res2 = self._columns[fs[0]].get(cr, self._model, ids, fs, user, context=context, values=result) File "/usr/local/lib/python2.7/site-packages/openerp/osv/fields.py", line 1308, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/var/packages/Odoo8/target/addons/calendar/calendar.py", line 794, in _compute meeting_data[field] = self._get_display_time(cr, uid, meeting.start, meeting.stop, meeting.duration, meeting.allday, context=context) File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/var/packages/Odoo8/target/addons/calendar/calendar.py", line 768, in _get_display_time event_date = date.strftime(format_date)UnicodeEncodeError: 'ascii' codec can't encode character u'\ub144' in position 2: ordinal not in range(128)

0
Krupesh Laiya
On 10/19/16, 2:23 AM

that error is due to some unicode value which is not converted to string so find that in your module if you are using any unicode.

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: 10/18/16, 11:56 AM
Seen: 183 times
Last updated: 10/19/16, 2:23 AM