跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

Cannot Odoo show error Internal Server Error 500 after restoring backup database

訂閱

此帖文有活動時,接收通知

此問題已被標幟
databaseQWebExceptionodoov11
2 回覆
11752 瀏覽次數
頭像
Manili

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
0
頭像
捨棄
頭像
Ashish Singh
最佳答案

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
3
頭像
捨棄
頭像
Manili
作者 最佳答案

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 '')")
0
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
V11CE., Reset records without wiping database 已解決
database records odoov11
頭像
頭像
2
3月 18
4148
How to restore a database without any data in it
database databasebackup sampledata odoov11
頭像
頭像
頭像
2
11月 19
6989
Database disappeared from list after activating Google Oauth for administrator
database
頭像
0
7月 25
2280
Setup Odoo with specific database
database
頭像
頭像
2
11月 24
8473
database locked
database
頭像
頭像
頭像
2
10月 24
4840
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now