عند تشغيل الامر python odoo-bin -r odoo -w odoo --addons-path=addons
تظهر لي عدة اخطاء ويظهر خطأ internal server error ولا يفتح معي الlocal
C:\Users\mohammedal-faifi\odoo>python odoo-bin -r odoo -w odoo --addons-path=addons 2023-06-16 16:27:37,348 7272 INFO ? odoo: Odoo version 15.0
2023-06-16 16:27:37,348 7272 INFO ? odoo: addons paths: ['C:\\Users\\mohammedal-faifi\\odoo\\odoo\\addons', 'c:\\users\\mohammedal-faifi\\appdata\\local\\openerp s.a\\odoo\\addons\\15.0', 'c:\\users\\mohammedal-faifi\\odoo\\addons', 'c:\\users\\mohammedal-faifi\\odoo\\odoo\\addons']
2023-06-16 16:27:37,348 7272 INFO ? odoo: database: odoo@default:default
2023-06-16 16:27:37,700 7272 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports.
2023-06-16 16:27:37,868 7272 WARNING ? py.warnings: C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\ir_mail_server.py:22: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in urllib3 v2.1.0. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680
File "C:\Users\mohammedal-faifi\odoo\odoo-bin", line 8, in <module>
odoo.cli.main()
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\command.py", line 61, in main
o.run(args)
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\server.py", line 179, in run
main(args)
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\server.py", line 173, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 1300, in start
load_server_wide_modules()
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 1210, in load_server_wide_modules
odoo.modules.module.load_openerp_module(m)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\module.py", line 403, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "c:\users\mohammedal-faifi\odoo\addons\web\__init__.py", line 4, in <module>
from . import controllers
File "c:\users\mohammedal-faifi\odoo\addons\web\controllers\__init__.py", line 4, in <module>
from . import main
File "c:\users\mohammedal-faifi\odoo\addons\web\controllers\main.py", line 34, in <module>
from odoo.addons.base.models.ir_qweb import render as qweb_render
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\__init__.py", line 5, in <module>
from . import models
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\__init__.py", line 23, in <module>
from . import ir_mail_server
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\ir_mail_server.py", line 22, in <module>
from urllib3.contrib.pyopenssl import PyOpenSSLContext
2023-06-16 16:27:38,300 7272 INFO ? odoo.service.server: HTTP service (werkzeug) running on MOHAMMEDAL-2E50.localdomain:8069
2023-06-16 16:27:48,630 7272 INFO ? odoo.http: HTTP Configuring static files
2023-06-16 16:27:48,689 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:48,689 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:48,689 7272 INFO odoo odoo.http: Generating nondb routing
2023-06-16 16:27:48,705 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:48,720 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:48,720 7272 INFO odoo werkzeug: 127.0.0.1 - - [16/Jun/2023 16:27:48] "GET / HTTP/1.1" 500 - 6 0.016 0.065
2023-06-16 16:27:48,742 7272 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1469, in _dispatch_nodb
result = request.dispatch()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 815, in dispatch
r = self._call_function(**self.params)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\model.py", line 92, in wrapper
if odoo.registry(dbname)._init and not odoo.tools.config['test_enable']:
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 319, in run_wsgi
execute(self.server.app)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 482, in app
return self.app(e, s)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 112, in application
return application_unproxied(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 87, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1305, in __call__
return self.dispatch(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1271, in __call__
return self.app(environ, start_wrapped)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\middleware\shared_data.py", line 287, in __call__
return self.app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1498, in dispatch
result = _dispatch_nodb()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1471, in _dispatch_nodb
return request._handle_exception(e)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 759, in _handle_exception return super(HttpRequest, self)._handle_exception(exception)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause
psycopg2.errors.InsufficientPrivilege: permission denied for schema public - - -
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:49,398 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:49,398 7272 INFO odoo werkzeug: 127.0.0.1 - - [16/Jun/2023 16:27:49] "GET / HTTP/1.1" 500 - 6 0.008 0.008
2023-06-16 16:27:49,414 7272 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1469, in _dispatch_nodb
result = request.dispatch()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 815, in dispatch
r = self._call_function(**self.params)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\model.py", line 92, in wrapper
if odoo.registry(dbname)._init and not odoo.tools.config['test_enable']:
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 319, in run_wsgi
execute(self.server.app)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 482, in app
return self.app(e, s)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 112, in application
return application_unproxied(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 87, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1305, in __call__
return self.dispatch(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1271, in __call__
return self.app(environ, start_wrapped)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\middleware\shared_data.py", line 287, in __call__
return self.app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1498, in dispatch
result = _dispatch_nodb()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1471, in _dispatch_nodb
return request._handle_exception(e)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 759, in _handle_exception return super(HttpRequest, self)._handle_exception(exception)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause
psycopg2.errors.InsufficientPrivilege: permission denied for schema public - - -
السؤال
محمد الفيفي5
عند تشغيل الامر python odoo-bin -r odoo -w odoo --addons-path=addons
تظهر لي عدة اخطاء ويظهر خطأ internal server error ولا يفتح معي الlocal
C:\Users\mohammedal-faifi\odoo>python odoo-bin -r odoo -w odoo --addons-path=addons 2023-06-16 16:27:37,348 7272 INFO ? odoo: Odoo version 15.0
2023-06-16 16:27:37,348 7272 INFO ? odoo: addons paths: ['C:\\Users\\mohammedal-faifi\\odoo\\odoo\\addons', 'c:\\users\\mohammedal-faifi\\appdata\\local\\openerp s.a\\odoo\\addons\\15.0', 'c:\\users\\mohammedal-faifi\\odoo\\addons', 'c:\\users\\mohammedal-faifi\\odoo\\odoo\\addons']
2023-06-16 16:27:37,348 7272 INFO ? odoo: database: odoo@default:default
2023-06-16 16:27:37,700 7272 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports.
2023-06-16 16:27:37,868 7272 WARNING ? py.warnings: C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\ir_mail_server.py:22: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in urllib3 v2.1.0. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680
File "C:\Users\mohammedal-faifi\odoo\odoo-bin", line 8, in <module>
odoo.cli.main()
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\command.py", line 61, in main
o.run(args)
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\server.py", line 179, in run
main(args)
File "C:\Users\mohammedal-faifi\odoo\odoo\cli\server.py", line 173, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 1300, in start
load_server_wide_modules()
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 1210, in load_server_wide_modules
odoo.modules.module.load_openerp_module(m)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\module.py", line 403, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "c:\users\mohammedal-faifi\odoo\addons\web\__init__.py", line 4, in <module>
from . import controllers
File "c:\users\mohammedal-faifi\odoo\addons\web\controllers\__init__.py", line 4, in <module>
from . import main
File "c:\users\mohammedal-faifi\odoo\addons\web\controllers\main.py", line 34, in <module>
from odoo.addons.base.models.ir_qweb import render as qweb_render
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\__init__.py", line 5, in <module>
from . import models
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\__init__.py", line 23, in <module>
from . import ir_mail_server
File "C:\Users\mohammedal-faifi\odoo\odoo\addons\base\models\ir_mail_server.py", line 22, in <module>
from urllib3.contrib.pyopenssl import PyOpenSSLContext
2023-06-16 16:27:38,300 7272 INFO ? odoo.service.server: HTTP service (werkzeug) running on MOHAMMEDAL-2E50.localdomain:8069
2023-06-16 16:27:48,630 7272 INFO ? odoo.http: HTTP Configuring static files
2023-06-16 16:27:48,689 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:48,689 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:48,689 7272 INFO odoo odoo.http: Generating nondb routing
2023-06-16 16:27:48,705 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:48,720 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:48,720 7272 INFO odoo werkzeug: 127.0.0.1 - - [16/Jun/2023 16:27:48] "GET / HTTP/1.1" 500 - 6 0.016 0.065
2023-06-16 16:27:48,742 7272 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1469, in _dispatch_nodb
result = request.dispatch()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 815, in dispatch
r = self._call_function(**self.params)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\model.py", line 92, in wrapper
if odoo.registry(dbname)._init and not odoo.tools.config['test_enable']:
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 319, in run_wsgi
execute(self.server.app)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 482, in app
return self.app(e, s)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 112, in application
return application_unproxied(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 87, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1305, in __call__
return self.dispatch(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1271, in __call__
return self.app(environ, start_wrapped)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\middleware\shared_data.py", line 287, in __call__
return self.app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1498, in dispatch
result = _dispatch_nodb()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1471, in _dispatch_nodb
return request._handle_exception(e)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 759, in _handle_exception return super(HttpRequest, self)._handle_exception(exception)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause
psycopg2.errors.InsufficientPrivilege: permission denied for schema public - - -
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:49,390 7272 ERROR odoo odoo.sql_db: bad query: CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1
ERROR: permission denied for schema public
2023-06-16 16:27:49,398 7272 ERROR odoo odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
2023-06-16 16:27:49,398 7272 INFO odoo werkzeug: 127.0.0.1 - - [16/Jun/2023 16:27:49] "GET / HTTP/1.1" 500 - 6 0.008 0.008
2023-06-16 16:27:49,414 7272 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1482, in dispatch
odoo.registry(db).check_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 61, in __new__
return cls.registries[db_name]
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'odoo'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1469, in _dispatch_nodb
result = request.dispatch()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 815, in dispatch
r = self._call_function(**self.params)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\model.py", line 92, in wrapper
if odoo.registry(dbname)._init and not odoo.tools.config['test_enable']:
File "C:\Users\mohammedal-faifi\odoo\odoo\__init__.py", line 104, in registry
return modules.registry.Registry(database_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 63, in __new__
return cls.new(db_name)
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 84, in new
registry.setup_signaling()
File "C:\Users\mohammedal-faifi\odoo\odoo\modules\registry.py", line 616, in setup_signaling
cr.execute("CREATE SEQUENCE base_registry_signaling INCREMENT BY 1 START WITH 1")
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "C:\Users\mohammedal-faifi\odoo\odoo\sql_db.py", line 311, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 319, in run_wsgi
execute(self.server.app)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\server.py", line 482, in app
return self.app(e, s)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 112, in application
return application_unproxied(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\service\wsgi_server.py", line 87, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1305, in __call__
return self.dispatch(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1271, in __call__
return self.app(environ, start_wrapped)
File "C:\Users\mohammedal-faifi\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\middleware\shared_data.py", line 287, in __call__
return self.app(environ, start_response)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1498, in dispatch
result = _dispatch_nodb()
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 1471, in _dispatch_nodb
return request._handle_exception(e)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 759, in _handle_exception return super(HttpRequest, self)._handle_exception(exception)
File "C:\Users\mohammedal-faifi\odoo\odoo\http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause
psycopg2.errors.InsufficientPrivilege: permission denied for schema public - - -
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.