Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
24652 Zobrazení

Impacted versions: 17.0


Steps to reproduce: Create multiple companies and multiple websites. Duplicate the database and login as the duplicate db then log back into the original db.


Current behavior: "(null)’s server IP address could not be found." 


Traceback (most recent call last):

  File "/home/odoo17/odoo/http\.py",\ line\ 2157,\ in\ __call__

 \  \ response\ =\ request\._serve_db\(\)

 \ File\ "/home/odoo17/odoo/http\.py",\ line\ 1711,\ in\ _serve_db

 \  \ self\.registry\ =\ Registry\(self\.db\)\.check_signaling\(\)

 \ File\ "/home/odoo17/odoo/modules/registry\.py",\ line\ 89,\ in\ __new__

 \  \ return\ cls\.new\(db_name\)

 \ File\ "",\ line\ 2,\ in\ new

 \ File\ "/home/odoo17/odoo/tools/func\.py",\ line\ 87,\ in\ locked

 \  \ return\ func\(inst,\ \*args,\ \*\*kwargs\)

 \ File\ "/home/odoo17/odoo/modules/registry\.py",\ line\ 113,\ in\ new

 \  \ odoo\.modules\.load_modules\(registry,\ force_demo,\ status,\ update_module\)

 \ File\ "/home/odoo17/odoo/modules/loading\.py",\ line\ 476,\ in\ load_modules

 \  \ processed_modules\ \+=\ load_marked_modules\(env,\ graph,

 \ File\ "/home/odoo17/odoo/modules/loading\.py",\ line\ 364,\ in\ load_marked_modules

 \  \ loaded,\ processed\ =\ load_module_graph\(

 \ File\ "/home/odoo17/odoo/modules/loading\.py",\ line\ 185,\ in\ load_module_graph

 \  \ load_openerp_module\(package\.name\)

 \ File\ "/home/odoo17/odoo/modules/module\.py",\ line\ 390,\ in\ load_openerp_module

 \  \ __import__\(qualname\)

 \ File\ "/home/odoo17/addons/web_editor/__init__\.py",\ line\ 4,\ in\

 \  \ from\ \.\ import\ controllers

 \ File\ "/home/odoo17/addons/web_editor/controllers/__init__\.py",\ line\ 4,\ in\

 \  \ from\ \.\ import\ main

 \ File\ "/home/odoo17/addons/web_editor/controllers/main\.py",\ line\ 12,\ in\

 \  \ from\ PIL\ import\ Image,\ ImageFont,\ ImageDraw

 \ File\ "/home/odoo17/venv/lib/python3\.10/site\-packages/PIL/ImageFont\.py",\ line\ 36,\ in\

 \  \ from\ \._util\ import\ is_directory,\ is_path

ImportError:\ cannot\ import\ name\ 'is_directory'\ from\ 'PIL\._util'\ \(/home/odoo17/venv/lib/python3\.10/site\-packages/PIL/_util.py)


The other websites work fine just not the initial base website.


Expected behavior: The initial website should work fine.


The initial website neither works on the original db nor the dupe db.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 21
4202
3
srp 20
14429
1
bře 24
1553
5
srp 25
9713
2
čvc 25
886