ishanra

odoo 13 error

May 5th, 2022
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.81 KB | None | 0 0
  1. KeyError: 'odoo13db'
  2.  
  3. During handling of the above exception, another exception occurred:
  4.  
  5. Traceback (most recent call last):
  6.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/serving.py", line 304, in run_wsgi
  7.     execute(self.server.app)
  8.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/serving.py", line 292, in execute
  9.     application_iter = app(environ, start_response)
  10.   File "/home/shani/fynarfin/odoo14/odoo/service/server.py", line 440, in app
  11.     return self.app(e, s)
  12.   File "/home/shani/fynarfin/odoo14/odoo/service/wsgi_server.py", line 142, in application
  13.     return application_unproxied(environ, start_response)
  14.   File "/home/shani/fynarfin/odoo14/odoo/service/wsgi_server.py", line 117, in application_unproxied
  15.     result = odoo.http.root(environ, start_response)
  16.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1288, in __call__
  17.     return self.dispatch(environ, start_response)
  18.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1258, in __call__
  19.     return self.app(environ, start_wrapped)
  20.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__
  21.     return self.app(environ, start_response)
  22.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1479, in dispatch
  23.     response = self.get_response(httprequest, result, explicit_session)
  24.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 285, in __exit__
  25.     elif self.registry:
  26.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 369, in registry
  27.     return odoo.registry(self.db)
  28.   File "/home/shani/fynarfin/odoo14/odoo/__init__.py", line 104, in registry
  29.     return modules.registry.Registry(database_name)
  30.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 63, in __new__
  31.     return cls.new(db_name)
  32.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 87, in new
  33.     odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  34.   File "/home/shani/fynarfin/odoo14/odoo/modules/loading.py", line 544, in load_modules
  35.     model._register_hook()
  36.   File "/home/shani/fynarfin/odoo14/odoo/addons/base/models/res_lang.py", line 88, in _register_hook
  37.     if not self.search_count([]):
  38.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1632, in search_count
  39.     res = self.search(args, count=True)
  40.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1655, in search
  41.     res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  42.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4506, in _search
  43.     query = self._where_calc(args)
  44.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4228, in _where_calc
  45.     where_clause, where_params = e.to_sql()
  46.   File "/home/shani/fynarfin/odoo14/odoo/osv/expression.py", line 1306, in to_sql
  47.     q, ps = self.__leaf_to_sql(leaf)
  48. TypeError: _wrapper() missing 2 required positional arguments: 'model' and 'alias' - - -
  49. 2022-05-05 12:55:26,036 41783 INFO odoo13db odoo.modules.loading: loading 1 modules...
  50. 2022-05-05 12:55:26,052 41783 INFO odoo13db odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries
  51. 2022-05-05 12:55:26,056 41783 INFO odoo13db odoo.modules.loading: loading 8 modules...
  52. 2022-05-05 12:55:26,072 41783 INFO odoo13db odoo.modules.loading: 8 modules loaded in 0.02s, 0 queries
  53. 2022-05-05 12:55:26,100 41783 INFO odoo13db odoo.modules.loading: Modules loaded.
  54. 2022-05-05 12:55:26,101 41783 WARNING odoo13db odoo.modules.loading: Transient module states were reset
  55. 2022-05-05 12:55:26,101 41783 ERROR odoo13db odoo.modules.registry: Failed to load registry
  56. Traceback (most recent call last):
  57.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 61, in __new__
  58.     return cls.registries[db_name]
  59.   File "/home/shani/fynarfin/odoo14/odoo/tools/func.py", line 69, in wrapper
  60.     return func(self, *args, **kwargs)
  61.   File "/home/shani/fynarfin/odoo14/odoo/tools/lru.py", line 44, in __getitem__
  62.     a = self.d[obj].me
  63. KeyError: 'odoo13db'
  64.  
  65. During handling of the above exception, another exception occurred:
  66.  
  67. Traceback (most recent call last):
  68.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 87, in new
  69.     odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  70.   File "/home/shani/fynarfin/odoo14/odoo/modules/loading.py", line 544, in load_modules
  71.     model._register_hook()
  72.   File "/home/shani/fynarfin/odoo14/odoo/addons/base/models/res_lang.py", line 88, in _register_hook
  73.     if not self.search_count([]):
  74.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1632, in search_count
  75.     res = self.search(args, count=True)
  76.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1655, in search
  77.     res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  78.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4506, in _search
  79.     query = self._where_calc(args)
  80.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4228, in _where_calc
  81.     where_clause, where_params = e.to_sql()
  82.   File "/home/shani/fynarfin/odoo14/odoo/osv/expression.py", line 1306, in to_sql
  83.     q, ps = self.__leaf_to_sql(leaf)
  84. TypeError: _wrapper() missing 2 required positional arguments: 'model' and 'alias'
  85. 2022-05-05 12:55:26,104 41783 INFO odoo13db werkzeug: 127.0.0.1 - - [05/May/2022 12:55:26] "POST /web/webclient/version_info HTTP/1.1" 500 - 14 0.007 0.070
  86. 2022-05-05 12:55:26,110 41783 ERROR odoo13db werkzeug: Error on request:
  87. Traceback (most recent call last):
  88.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 61, in __new__
  89.     return cls.registries[db_name]
  90.   File "/home/shani/fynarfin/odoo14/odoo/tools/func.py", line 69, in wrapper
  91.     return func(self, *args, **kwargs)
  92.   File "/home/shani/fynarfin/odoo14/odoo/tools/lru.py", line 44, in __getitem__
  93.     a = self.d[obj].me
  94. KeyError: 'odoo13db'
  95.  
  96. During handling of the above exception, another exception occurred:
  97.  
  98. Traceback (most recent call last):
  99.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/serving.py", line 304, in run_wsgi
  100.     execute(self.server.app)
  101.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/serving.py", line 292, in execute
  102.     application_iter = app(environ, start_response)
  103.   File "/home/shani/fynarfin/odoo14/odoo/service/server.py", line 440, in app
  104.     return self.app(e, s)
  105.   File "/home/shani/fynarfin/odoo14/odoo/service/wsgi_server.py", line 142, in application
  106.     return application_unproxied(environ, start_response)
  107.   File "/home/shani/fynarfin/odoo14/odoo/service/wsgi_server.py", line 117, in application_unproxied
  108.     result = odoo.http.root(environ, start_response)
  109.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1288, in __call__
  110.     return self.dispatch(environ, start_response)
  111.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1258, in __call__
  112.     return self.app(environ, start_wrapped)
  113.   File "/home/shani/fynarfin/odoo14/odoo14env/lib/python3.8/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__
  114.     return self.app(environ, start_response)
  115.   File "/home/shani/fynarfin/odoo14/odoo/http.py", line 1457, in dispatch
  116.     odoo.registry(db).check_signaling()
  117.   File "/home/shani/fynarfin/odoo14/odoo/__init__.py", line 104, in registry
  118.     return modules.registry.Registry(database_name)
  119.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 63, in __new__
  120.     return cls.new(db_name)
  121.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 87, in new
  122.     odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  123.   File "/home/shani/fynarfin/odoo14/odoo/modules/loading.py", line 544, in load_modules
  124.     model._register_hook()
  125.   File "/home/shani/fynarfin/odoo14/odoo/addons/base/models/res_lang.py", line 88, in _register_hook
  126.     if not self.search_count([]):
  127.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1632, in search_count
  128.     res = self.search(args, count=True)
  129.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1655, in search
  130.     res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  131.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4506, in _search
  132.     query = self._where_calc(args)
  133.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4228, in _where_calc
  134.     where_clause, where_params = e.to_sql()
  135.   File "/home/shani/fynarfin/odoo14/odoo/osv/expression.py", line 1306, in to_sql
  136.     q, ps = self.__leaf_to_sql(leaf)
  137. TypeError: _wrapper() missing 2 required positional arguments: 'model' and 'alias' - - -
  138. 2022-05-05 12:55:29,614 41783 INFO odoo13db odoo.modules.loading: loading 1 modules...
  139. 2022-05-05 12:55:29,659 41783 INFO odoo13db odoo.modules.loading: 1 modules loaded in 0.04s, 0 queries
  140. 2022-05-05 12:55:29,668 41783 INFO odoo13db odoo.modules.loading: loading 8 modules...
  141. 2022-05-05 12:55:29,693 41783 INFO odoo13db odoo.modules.loading: 8 modules loaded in 0.03s, 0 queries
  142. 2022-05-05 12:55:29,718 41783 INFO odoo13db odoo.modules.loading: Modules loaded.
  143. 2022-05-05 12:55:29,719 41783 WARNING odoo13db odoo.modules.loading: Transient module states were reset
  144. 2022-05-05 12:55:29,719 41783 ERROR odoo13db odoo.modules.registry: Failed to load registry
  145. Traceback (most recent call last):
  146.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 61, in __new__
  147.     return cls.registries[db_name]
  148.   File "/home/shani/fynarfin/odoo14/odoo/tools/func.py", line 69, in wrapper
  149.     return func(self, *args, **kwargs)
  150.   File "/home/shani/fynarfin/odoo14/odoo/tools/lru.py", line 44, in __getitem__
  151.     a = self.d[obj].me
  152. KeyError: 'odoo13db'
  153.  
  154. During handling of the above exception, another exception occurred:
  155.  
  156. Traceback (most recent call last):
  157.   File "/home/shani/fynarfin/odoo14/odoo/modules/registry.py", line 87, in new
  158.     odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  159.   File "/home/shani/fynarfin/odoo14/odoo/modules/loading.py", line 544, in load_modules
  160.     model._register_hook()
  161.   File "/home/shani/fynarfin/odoo14/odoo/addons/base/models/res_lang.py", line 88, in _register_hook
  162.     if not self.search_count([]):
  163.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1632, in search_count
  164.     res = self.search(args, count=True)
  165.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 1655, in search
  166.     res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  167.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4506, in _search
  168.     query = self._where_calc(args)
  169.   File "/home/shani/fynarfin/odoo14/odoo/models.py", line 4228, in _where_calc
  170.     where_clause, where_params = e.to_sql()
  171.   File "/home/shani/fynarfin/odoo14/odoo/osv/expression.py", line 1306, in to_sql
  172.     q, ps = self.__leaf_to_sql(leaf)
  173. TypeError: _wrapper() missing 2 required positional arguments: 'model' and 'alias'
Advertisement
Add Comment
Please, Sign In to add comment