Skip to Content
Menu
This question has been flagged
2 Replies
796 Views


​In ODOO I have installed python 'searoute' package, but it give me following error. The problem is that every time I restart the ODOO service the execute without any error but after some time it gives the same error that module not found even though it is present if I again restart ODOO service the error goes why this problem occurs please give me steps to resolve this issue that it unable to locate python package after some time.

RPC_ERROR


Odoo Server Error


Occured on localhost:8069 on model ir.module.module and id 18 on 2024-12-27 03:45:49 GMT


Traceback (most recent call last):

    __import__(qualname)

  from . import sea_route_tracker

  "sea_route_tracker.py", line 4, in <module>

 import searoute as sr

ModuleNotFoundError: No module named 'searoute'


The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

 

Avatar
Discard
Author Best Answer

I have checked the that whether searoute is installed or not also i have reinstalled the package but problems is when i restart the odoo code from VSCode it give the no module found error  but when i restart odoo from the services it works fine, every time when I restart from vscode it give same error so I need to restart the service itself. Also if when shut down PC and again after starting directly open localhost:8069 then it give internal server error due to no module found error and if i again restart the ODOO from services it works fine.

Avatar
Discard
Best Answer

Hello Prajwal,

I Hope you are doing well,
​ 

​check if search searoute is installed:
​-  
pip show searoute
If it's not listed, install it:
pip install searoute

​else Reinstall searoute to refresh it:
​pip uninstall searoute

​pip install searoute


I hope this msg help for you

Thanks & Regards
Kunjan Patel

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 25
605
4
Apr 24
173014
0
Dec 23
1563
5
Feb 25
224751
1
Dec 22
2485