This question has been flagged
2 Replies
8769 Views

Hi all,

I back-up my data using Odoo. Then reinstalled the whole OS (Windows). Now after I restore the database at the beginning of Odoo-11 installation process, I got "Internal server error 500". here's what I found at the log file (odoo.log):

2020-03-31 20:00:33,186 9892 INFO ? odoo: Odoo version 11.0-20200331
2020-03-31 20:00:33,186 9892 INFO ? odoo: Using configuration file at C:\Program Files (x86)\Odoo 11.0\server\odoo.conf
2020-03-31 20:00:33,186 9892 INFO ? odoo: addons paths: ['c:\\users\\someuser\\appdata\\local\\openerp s.a\\odoo\\addons\\11.0', 'c:\\program files (x86)\\odoo 11.0\\server\\odoo\\addons', 'C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\addons']
2020-03-31 20:00:33,186 9892 INFO ? odoo: database: openpg@localhost:5432
2020-03-31 20:00:33,294 9892 INFO ? odoo.service.server: Initiating shutdown
2020-03-31 20:00:33,294 9892 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2020-03-31 20:00:35,622 940 INFO ? odoo: Odoo version 11.0-20200331
2020-03-31 20:00:35,622 940 INFO ? odoo: Using configuration file at C:\Program Files (x86)\Odoo 11.0\server\odoo.conf
2020-03-31 20:00:35,622 940 INFO ? odoo: addons paths: ['c:\\users\\ someuser\\appdata\\local\\openerp s.a\\odoo\\addons\\11.0', 'c:\\program files (x86)\\odoo 11.0\\server\\odoo\\addons', 'C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\addons']
2020-03-31 20:00:35,622 940 INFO ? odoo: database: openpg@localhost:5432 2020-03-31 20:00:36,513 940 INFO ? odoo.service.server: HTTP service (werkzeug) running on MANILI:8069 2020-03-31 20:00:36,950 940 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 11.0\thirdparty\wkhtmltopdf.exe 2020-03-31 20:02:53,948 940 INFO ? odoo.addons.sms.wizard.send_sms: The `phonenumbers` Python module is not available. Phone number validation will be skipped. Try `pip3 install phonenumbers` to install it. 2020-03-31 20:02:58,619 940 INFO ? odoo.http: HTTP Configuring static files 2020-03-31 20:02:58,744 940 INFO ? odoo.http: Generating nondb routing 2020-03-31 20:02:59,010 940 INFO ? werkzeug: 127.0.0.1 - - [31/Mar/2020 20:02:59] "GET / HTTP/1.1" 303 - 2020-03-31 20:02:59,260 940 INFO ? werkzeug: 127.0.0.1 - - [31/Mar/2020 20:02:59] "GET /web HTTP/1.1" 303 - 2020-03-31 20:02:59,885 940 INFO ? werkzeug: 127.0.0.1 - - [31/Mar/2020 20:02:59] "GET /web/database/selector HTTP/1.1" 200 - 2020-03-31 20:03:03,525 940 INFO ? werkzeug: 127.0.0.1 - - [31/Mar/2020 20:03:03] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 - 2020-03-31 20:03:04,150 940 INFO ? werkzeug: 127.0.0.1 - - [31/Mar/2020 20:03:04] "GET /web/static/src/img/favicon.ico HTTP/1.1" 200 - 2020-03-31 20:03:55,127 940 INFO IVS_CRM odoo.modules.loading: loading 1 modules... 2020-03-31 20:03:55,143 940 INFO IVS_CRM odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries 2020-03-31 20:03:55,300 940 WARNING IVS_CRM odoo.modules.graph: module web_rtl: not installable, skipped 2020-03-31 20:03:55,346 940 INFO IVS_CRM odoo.modules.loading: loading 32 modules... 2020-03-31 20:03:55,862 940 INFO IVS_CRM odoo.modules.loading: 32 modules loaded in 0.52s, 0 queries 2020-03-31 20:03:56,300 940 INFO IVS_CRM odoo.modules.loading: Modules loaded. 2020-03-31 20:04:07,579 940 INFO IVS_CRM odoo.service.db: RESTORE DB: IVS_CRM 2020-03-31 20:04:07,595 940 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:04:07] "POST /web/database/restore HTTP/1.1" 303 - 2020-03-31 20:04:07,657 940 INFO IVS_CRM odoo.addons.base.ir.ir_http: Generating routing map 2020-03-31 20:04:07,985 940 INFO IVS_CRM odoo.modules.registry: At least one model cache has been invalidated, signaling through the database. 2020-03-31 20:04:07,985 940 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:04:07] "GET /web/database/manager HTTP/1.1" 200 - 2020-03-31 20:04:38,201 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Calendar: Event Reminder`. 2020-03-31 20:04:38,294 940 INFO IVS_CRM odoo.modules.registry: At least one model cache has been invalidated, signaling through the database. 2020-03-31 20:04:38,294 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Calendar: Event Reminder` done. 2020-03-31 20:04:38,294 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:04:38,325 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:04:38,325 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Email Queue Manager`. 2020-03-31 20:04:38,341 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Email Queue Manager` done. 2020-03-31 20:04:38,341 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Google Calendar: synchronization`. 2020-03-31 20:04:38,341 940 INFO IVS_CRM odoo.addons.google_calendar.models.google_calendar: Calendar Synchro - Started by cron 2020-03-31 20:04:38,341 940 INFO IVS_CRM odoo.addons.google_calendar.models.google_calendar: Calendar Synchro - Starting synchronization for a new user [13] 2020-03-31 20:04:38,372 940 INFO IVS_CRM requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): accounts.google.com 2020-03-31 20:04:39,294 940 INFO IVS_CRM requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): www.googleapis.com 2020-03-31 20:04:39,856 940 INFO IVS_CRM odoo.addons.google_calendar.models.google_calendar: [13] Calendar Synchro - MODE SINCE_MODIFIED : 2018-10-01 11:13:54 ! 2020-03-31 20:04:39,887 940 INFO IVS_CRM requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): www.googleapis.com 2020-03-31 20:04:40,512 940 ERROR IVS_CRM odoo.addons.google_account.models.google_service: Bad google request : b'{\n "error": {\n "errors": [\n {\n "domain": "calendar",\n "reason": "updatedMinTooLongAgo",\n "message": "The requested minimum modification time lies too far in the past.",\n "locationType": "parameter",\n "location": "updatedMin"\n }\n ],\n "code": 410,\n "message": "The requested minimum modification time lies too far in the past."\n }\n}\n' ! Traceback (most recent call last): File "c:\program files (x86)\odoo 11.0\server\odoo\addons\google_account\models\google_service.py", line 172, in _do_request res.raise_for_status() File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\requests\models.py", line 862, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 410 Client Error: Gone for url: https://www.googleapis.com/calendar/v3/calendars/primary/events?fields=items%2CnextPageToken&access_token=ya29.a0Ae4lvC3rFjAyhsCbRCbgKToNlmO8ik8iEoY5Rgy07IPpUTxt-nJE3NJNj7VonPk5JFbYVE253c6u_o0KBn7QGNHONLF6LRXC6Nr4NQaTAQ1uOjsGUES7KrG6zQqVbwQO-SpxXSlvtlH71Gj3dZ2CvPLO8uMjvRGgaHW1FQ&maxResults=1000&updatedMin=2018-10-01T11%3A13%3A54.000000z&showDeleted=True 2020-03-31 20:04:40,544 940 INFO IVS_CRM odoo.addons.google_calendar.models.google_calendar: [13] Calendar Synchro - Exception : Google is lost... the next synchro will be a full synchro. The requested minimum modification time lies too far in the past. ! 2020-03-31 20:04:40,544 940 INFO IVS_CRM odoo.addons.google_calendar.models.google_calendar: Calendar Synchro - Ended by cron 2020-03-31 20:04:40,544 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Google Calendar: synchronization` done. 2020-03-31 20:04:40,544 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Base: Auto-vacuum internal data`. 2020-03-31 20:04:40,559 940 INFO IVS_CRM odoo.addons.base.ir.ir_attachment: filestore gc 0 checked, 0 removed 2020-03-31 20:04:40,590 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted res.config.settings records with IDs: [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22] 2020-03-31 20:04:40,606 940 ERROR IVS_CRM odoo.sql_db: bad query: DELETE FROM change_password_wizard WHERE id IN (2, 3) ERROR: null value in column "wizard_id" violates not-null constraint DETAIL: Failing row contains (2, null, 18, null, null, 12, 2018-04-23 10:40:00.044311, 12, 2018-04-23 10:40:04.108591). CONTEXT: SQL statement "UPDATE ONLY "public"."change_password_user" SET "wizard_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "wizard_id"" 2020-03-31 20:04:40,606 940 WARNING IVS_CRM odoo.addons.base.ir.ir_autovacuum: Failed to clean transient model change.password.wizard() null value in column "wizard_id" violates not-null constraint DETAIL: Failing row contains (2, null, 18, null, null, 12, 2018-04-23 10:40:00.044311, 12, 2018-04-23 10:40:04.108591). CONTEXT: SQL statement "UPDATE ONLY "public"."change_password_user" SET "wizard_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "wizard_id"" 2020-03-31 20:04:40,606 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted change.password.user records with IDs: [2, 3] 2020-03-31 20:04:40,622 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted base_import.import records with IDs: [9, 10, 11, 12, 13, 14] 2020-03-31 20:04:40,747 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted mail.compose.message records with IDs: [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 54, 24, 25, 29, 26, 28, 27, 30, 44, 31, 32, 33, 34, 35, 57, 36, 37, 38, 39, 40, 41, 42, 113, 43, 45, 46, 47, 48, 49, 50, 51, 53, 66, 73, 52, 55, 56, 58, 59, 63, 64, 65, 60, 61, 62, 71, 72, 67, 68, 69, 70, 74, 75, 76, 77, 78, 87, 79, 115, 80, 81, 82, 83, 84, 85, 86, 88, 89, 90, 91, 92, 95, 93, 94, 96, 125, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 127, 128, 129, 130, 131, 132, 133, 134, 161, 135, 136, 137, 138, 140, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 163, 160, 165, 162, 164, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 207, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 220, 203, 204, 205, 206, 208, 213, 209, 214, 216, 210, 211, 212, 215, 217, 218, 219, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 244, 237, 238, 239, 240, 241, 242, 243, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 265, 264, 266, 267, 268, 269, 270] 2020-03-31 20:04:40,763 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted crm.lead.lost records with IDs: [7, 8, 9, 10, 11, 13, 14, 15, 12, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48] 2020-03-31 20:04:40,778 940 INFO IVS_CRM odoo.addons.base.ir.ir_autovacuum: GC'd 708 user log entries 2020-03-31 20:04:40,793 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Base: Auto-vacuum internal data` done. 2020-03-31 20:04:40,793 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Publisher: Update Notification`. 2020-03-31 20:04:40,809 940 INFO IVS_CRM requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): services.openerp.com 2020-03-31 20:04:42,262 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Publisher: Update Notification` done. 2020-03-31 20:08:42,310 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:08:42,341 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:09:45,161 940 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:09:45] "GET /web?db=IVS_CRM HTTP/1.1" 303 - 2020-03-31 20:09:50,973 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1044] 2020-03-31 20:09:52,192 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1045] 2020-03-31 20:09:53,472 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1046] 2020-03-31 20:09:53,613 940 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1047] 2020-03-31 20:09:53,816 940 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:09:53] "GET /web/login HTTP/1.1" 500 - 2020-03-31 20:09:53,928 940 ERROR IVS_CRM werkzeug: Error on request: Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 209, in run_wsgi execute(self.server.app) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 197, in execute application_iter = app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\server.py", line 348, in app return self.app(e, s) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 166, in application return application_unproxied(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 154, in application_unproxied result = handler(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1321, in __call__ return self.dispatch(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1295, in __call__ return self.app(environ, start_wrapped) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\wsgi.py", line 600, in __call__ return self.app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1493, in dispatch result = ir_http._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch return super(Http, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_http.py", line 22, in _dispatch return super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\http_routing\models\ir_http.py", line 396, in _dispatch result = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 26, in _dispatch response = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 212, in _dispatch return cls._handle_exception(e) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 31, in _handle_exception response = super(IrHttp, cls)._handle_exception(exc) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 182, in _handle_exception return request._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 773, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 208, in _dispatch result = request.dispatch() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 832, in dispatch r = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 340, in checked_call result.flatten() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1272, in flatten self.response.append(self.render()) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1265, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1230, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_ui_view.py", line 27, in render return super(IrUiView, self).render(values=values, engine=engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1239, in render return self.env[engine].render(self.id, qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 57, in render return super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 275, in render self.compile(template, options)(self, body.append, values or {}) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_161_5 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_login_layout_11 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 353, in _compiled_fn raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name) odoo.addons.base.ir.ir_qweb.qweb.QWebException: unsupported operand type(s) for +: 'NoneType' and 'str' Traceback (most recent call last): File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_layout_32 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Error to render compiling AST TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Template: web.layout Path: /templates/t/t Node: <t t-set="body_classname" t-value="lang_direction + ' ' + (body_classname or '')"/> 2020-03-31 20:13:42,380 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:13:42,397 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:18:42,436 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:18:42,467 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:23:42,538 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Calendar: Event Reminder`. 2020-03-31 20:23:42,554 940 INFO IVS_CRM odoo.modules.registry: At least one model cache has been invalidated, signaling through the database. 2020-03-31 20:23:42,568 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Calendar: Event Reminder` done. 2020-03-31 20:23:42,568 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Email Queue Manager`. 2020-03-31 20:23:42,568 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Email Queue Manager` done. 2020-03-31 20:23:42,568 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:23:42,584 940 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:32:26,908 5200 INFO ? odoo: Odoo version 11.0-20200331 2020-03-31 20:32:26,924 5200 INFO ? odoo: Using configuration file at C:\Program Files (x86)\Odoo 11.0\server\odoo.conf 2020-03-31 20:32:26,924 5200 INFO ? odoo: addons paths: ['c:\\users\\mohammadaminnili\\appdata\\local\\openerp s.a\\odoo\\addons\\11.0', 'c:\\program files (x86)\\odoo 11.0\\server\\odoo\\addons', 'C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\addons'] 2020-03-31 20:32:26,924 5200 INFO ? odoo: database: openpg@localhost:5432 2020-03-31 20:32:28,049 5200 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 11.0\thirdparty\wkhtmltopdf.exe 2020-03-31 20:32:28,564 5200 INFO ? odoo.service.server: HTTP service (werkzeug) running on MANILI:8069 2020-03-31 20:44:27,328 5200 INFO ? odoo.addons.sms.wizard.send_sms: The `phonenumbers` Python module is not available. Phone number validation will be skipped. Try `pip3 install phonenumbers` to install it. 2020-03-31 20:44:28,312 5200 INFO ? odoo.http: HTTP Configuring static files 2020-03-31 20:44:28,484 5200 INFO IVS_CRM odoo.modules.loading: loading 1 modules... 2020-03-31 20:44:28,500 5200 INFO IVS_CRM odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries 2020-03-31 20:44:28,609 5200 WARNING IVS_CRM odoo.modules.graph: module web_rtl: not installable, skipped 2020-03-31 20:44:28,640 5200 INFO IVS_CRM odoo.modules.loading: loading 32 modules... 2020-03-31 20:44:28,796 5200 INFO IVS_CRM odoo.modules.loading: 32 modules loaded in 0.16s, 0 queries 2020-03-31 20:44:29,140 5200 INFO IVS_CRM odoo.modules.loading: Modules loaded. 2020-03-31 20:44:29,156 5200 INFO IVS_CRM odoo.addons.base.ir.ir_http: Generating routing map 2020-03-31 20:44:35,358 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1044] 2020-03-31 20:44:36,530 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1045] 2020-03-31 20:44:37,920 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1046] 2020-03-31 20:44:38,061 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1047] 2020-03-31 20:44:38,281 5200 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:44:38] "GET /web/login HTTP/1.1" 500 - 2020-03-31 20:44:38,421 5200 ERROR IVS_CRM werkzeug: Error on request: Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 209, in run_wsgi execute(self.server.app) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 197, in execute application_iter = app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\server.py", line 348, in app return self.app(e, s) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 166, in application return application_unproxied(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 154, in application_unproxied result = handler(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1321, in __call__ return self.dispatch(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1295, in __call__ return self.app(environ, start_wrapped) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\wsgi.py", line 600, in __call__ return self.app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1493, in dispatch result = ir_http._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch return super(Http, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_http.py", line 22, in _dispatch return super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\http_routing\models\ir_http.py", line 396, in _dispatch result = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 26, in _dispatch response = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 212, in _dispatch return cls._handle_exception(e) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 31, in _handle_exception response = super(IrHttp, cls)._handle_exception(exc) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 182, in _handle_exception return request._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 773, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 208, in _dispatch result = request.dispatch() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 832, in dispatch r = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 340, in checked_call result.flatten() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1272, in flatten self.response.append(self.render()) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1265, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1230, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_ui_view.py", line 27, in render return super(IrUiView, self).render(values=values, engine=engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1239, in render return self.env[engine].render(self.id, qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 57, in render return super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 275, in render self.compile(template, options)(self, body.append, values or {}) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_161_5 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_login_layout_11 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 353, in _compiled_fn node = element.getroottree().xpath(path) if ':' not in path else None odoo.addons.base.ir.ir_qweb.qweb.QWebException: unsupported operand type(s) for +: 'NoneType' and 'str' Traceback (most recent call last): File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_layout_32 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Error to render compiling AST TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Template: web.layout Path: /templates/t/t Node: <t t-set="body_classname" t-value="lang_direction + ' ' + (body_classname or '')"/> 2020-03-31 20:44:40,718 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:44:40,811 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:46:49,545 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1044] 2020-03-31 20:46:50,530 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1045] 2020-03-31 20:46:50,967 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1046] 2020-03-31 20:46:51,045 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1047] 2020-03-31 20:46:51,076 5200 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:46:51] "GET /web/login HTTP/1.1" 500 - 2020-03-31 20:46:51,092 5200 ERROR IVS_CRM werkzeug: Error on request: Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 209, in run_wsgi execute(self.server.app) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 197, in execute application_iter = app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\server.py", line 348, in app return self.app(e, s) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 166, in application return application_unproxied(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 154, in application_unproxied result = handler(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1321, in __call__ return self.dispatch(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1295, in __call__ return self.app(environ, start_wrapped) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\wsgi.py", line 600, in __call__ return self.app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1493, in dispatch result = ir_http._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch return super(Http, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_http.py", line 22, in _dispatch return super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\http_routing\models\ir_http.py", line 396, in _dispatch result = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 26, in _dispatch response = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 212, in _dispatch return cls._handle_exception(e) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 31, in _handle_exception response = super(IrHttp, cls)._handle_exception(exc) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 182, in _handle_exception return request._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 773, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 208, in _dispatch result = request.dispatch() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 832, in dispatch r = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 340, in checked_call result.flatten() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1272, in flatten self.response.append(self.render()) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1265, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1230, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_ui_view.py", line 27, in render return super(IrUiView, self).render(values=values, engine=engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1239, in render return self.env[engine].render(self.id, qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 57, in render return super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 275, in render self.compile(template, options)(self, body.append, values or {}) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_161_38 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_login_layout_44 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 353, in _compiled_fn node = element.getroottree().xpath(path) if ':' not in path else None odoo.addons.base.ir.ir_qweb.qweb.QWebException: unsupported operand type(s) for +: 'NoneType' and 'str' Traceback (most recent call last): File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_layout_65 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Error to render compiling AST TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Template: web.layout Path: /templates/t/t Node: <t t-set="body_classname" t-value="lang_direction + ' ' + (body_classname or '')"/> 2020-03-31 20:46:51,154 5200 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:46:51] "GET /favicon.ico HTTP/1.1" 404 - 2020-03-31 20:48:08,630 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1044] 2020-03-31 20:48:09,630 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1045] 2020-03-31 20:48:10,068 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1046] 2020-03-31 20:48:10,131 5200 INFO IVS_CRM odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [1047] 2020-03-31 20:48:10,177 5200 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:48:10] "GET /web/login HTTP/1.1" 500 - 2020-03-31 20:48:10,193 5200 ERROR IVS_CRM werkzeug: Error on request: Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 209, in run_wsgi execute(self.server.app) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\serving.py", line 197, in execute application_iter = app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\server.py", line 348, in app return self.app(e, s) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 166, in application return application_unproxied(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\wsgi_server.py", line 154, in application_unproxied result = handler(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1321, in __call__ return self.dispatch(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1295, in __call__ return self.app(environ, start_wrapped) File "C:\Program Files (x86)\Odoo 11.0\python\lib\site-packages\werkzeug\wsgi.py", line 600, in __call__ return self.app(environ, start_response) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1493, in dispatch result = ir_http._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch return super(Http, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_http.py", line 22, in _dispatch return super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\http_routing\models\ir_http.py", line 396, in _dispatch result = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 26, in _dispatch response = super(IrHttp, cls)._dispatch() File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 212, in _dispatch return cls._handle_exception(e) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\utm\models\ir_http.py", line 31, in _handle_exception response = super(IrHttp, cls)._handle_exception(exc) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 182, in _handle_exception return request._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 773, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_http.py", line 208, in _dispatch result = request.dispatch() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 832, in dispatch r = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 340, in checked_call result.flatten() File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1272, in flatten self.response.append(self.render()) File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 1265, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1230, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\web_editor\models\ir_ui_view.py", line 27, in render return super(IrUiView, self).render(values=values, engine=engine) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1239, in render return self.env[engine].render(self.id, qcontext) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 57, in render return super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 275, in render self.compile(template, options)(self, body.append, values or {}) File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_161_71 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn raise e File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_login_layout_77 File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 353, in _compiled_fn node = element.getroottree().xpath(path) if ':' not in path else None odoo.addons.base.ir.ir_qweb.qweb.QWebException: unsupported operand type(s) for +: 'NoneType' and 'str' Traceback (most recent call last): File "c:\program files (x86)\odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 346, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_web_layout_98 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Error to render compiling AST TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Template: web.layout Path: /templates/t/t Node: <t t-set="body_classname" t-value="lang_direction + ' ' + (body_classname or '')"/> 2020-03-31 20:48:10,208 5200 INFO IVS_CRM werkzeug: 127.0.0.1 - - [31/Mar/2020 20:48:10] "GET /favicon.ico HTTP/1.1" 404 - 2020-03-31 20:48:44,861 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:48:44,892 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done. 2020-03-31 20:55:48,056 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Calendar: Event Reminder`. 2020-03-31 20:55:48,086 5200 INFO IVS_CRM odoo.modules.registry: At least one model cache has been invalidated, signaling through the database. 2020-03-31 20:55:48,102 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Calendar: Event Reminder` done. 2020-03-31 20:55:48,102 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Starting job `Mail: Fetchmail Service`. 2020-03-31 20:55:48,102 5200 INFO IVS_CRM odoo.addons.base.ir.ir_cron: Job `Mail: Fetchmail Service` done.
Any help?
Thanks
Avatar
Discard
Best Answer

Hi Manili

Seems like issue with the below line

<t t-set="body_classname" t-value="lang_direction + ' ' + (body_classname or '')"/>

Actually whenever "lang_direction" value is false or None then you will face this issue. So in order to avoid this issue you can update this line like below line,

<t t-set="body_classname" t-value="(lang_direction or '') + ' ' + (body_classname or '')"/>
Feel free to ask in case you have any confusion related to the above point

Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Avatar
Discard
Author Best Answer

According to Ashish's answer, I finally found how to deal with this:

1. Install the Odoo 11 and its requirements (i.e. PostgreSQL)

2. Find qweb.py file (you should find it at $InstallationPATH\server\odoo\addons\base\ir\ir_qweb\qweb.py)

3. At function "get_template", add the following code after line 388 (if node.get('t-name')...)

4. Restart the Odoo server (you can also select "Python3" and then click "End Process" from task manager at windows)
5. Go to http://localhost:8069 and restore your DB

6. Good Luck

7. Thanks Ashish for the help

Here is the code:

if "lang_direction +" in str(document):
for value in node.iter('t'):
if "t-value" in value.attrib:
value.set("t-value", "(lang_direction or '') + ' ' + (body_classname or '')")
Avatar
Discard