Dev server is shutting down without error message after package import

Hi everyone !
I am facing a very strange problem on my local machine,
after starting my dev server via bench start command, when i am going to a specific doctype where i imported the langchain package my dev server is shutting down without error (only some warnings see below)

but when i am removing some imports this is working.

Could someone help me to fix this please

21:24:41 web.1            | Press CTRL+C to quit
21:24:41 web.1            |  * Restarting with stat
21:24:42 web.1            |  * Debugger is active!
21:24:42 web.1            |  * Debugger PIN: 365-343-222
21:24:44 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/apps/frappe/frappe/utils/caching.py:57: DeprecationWarning: `frappe_last` argument is deprecated and will be removed in v15.
21:24:44 web.1            |   return_val = func(*args, **kwargs)
21:24:45 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:45] "GET /app/mg-meeting HTTP/1.1" 200 -
21:24:45 watch.1          | Watching for changes...
21:24:45 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:45] "GET /api/method/frappe.client.get_js?items=["/assets/frappe/dist/js/build_events.bundle.BEO64C2K.js"]&_=1697653485477 HTTP/1.1" 200 -
21:24:45 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:45] "POST /api/method/frappe.desk.doctype.event.event.get_events HTTP/1.1" 200 -
21:24:46 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:46] "POST /api/method/frappe.desk.doctype.notification_log.notification_log.get_notification_logs HTTP/1.1" 200 -
21:24:46 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/env/lib/python3.10/site-packages/gunicorn/util.py:25: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
21:24:46 web.1            |   import pkg_resources
21:24:46 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/env/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
21:24:46 web.1            | Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
21:24:46 web.1            |   declare_namespace(pkg)
21:24:46 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/env/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
21:24:46 web.1            | Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
21:24:46 web.1            |   declare_namespace(pkg)
21:24:46 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/env/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
21:24:46 web.1            | Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
21:24:46 web.1            |   declare_namespace(pkg)
21:24:46 web.1            | /Users/sathouel/Workspace/frappe/v14/frappe-mtech/env/lib/python3.10/site-packages/pkg_resources/__init__.py:2350: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
21:24:46 web.1            | Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
21:24:46 web.1            |   declare_namespace(parent)
21:24:47 web.1            | ## 4 - SUM
21:24:47 web.1            | ## 5 - SUM
21:24:47 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:47] "GET /api/method/frappe.desk.form.load.getdoctype?doctype=MG%20Meeting&with_parent=1&cached_timestamp=2023-10-18%2015:19:29.233945&_=1697653485476 HTTP/1.1" 200 -
21:24:47 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:47] "POST /api/method/frappe.desk.listview.get_list_settings HTTP/1.1" 200 -
21:24:47 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:47] "GET /api/method/frappe.desk.reportview.get_list?fields=["name","filter_name","for_user","filters"]&filters={"reference_doctype":"MG%20Meeting"}&or_filters=[["for_user","%3D","Administrator"],["for_user","%3D",""]]&doctype=List%20Filter&limit=20&_=1697653485478 HTTP/1.1" 200 -
21:24:47 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:47] "POST /api/method/frappe.desk.reportview.get HTTP/1.1" 200 -
21:24:47 web.1            | 127.0.0.1 - - [18/Oct/2023 21:24:47] "POST /api/method/frappe.desk.reportview.get_count HTTP/1.1" 200 -
21:24:48 system           | web.1 stopped (rc=245)
21:24:48 system           | sending SIGTERM to redis_cache.1 (pid 23803)
21:24:48 system           | sending SIGTERM to redis_socketio.1 (pid 23805)
21:24:48 system           | sending SIGTERM to redis_queue.1 (pid 23807)
21:24:48 system           | sending SIGTERM to socketio.1 (pid 23806)
21:24:48 system           | sending SIGTERM to watch.1 (pid 23811)
21:24:48 system           | sending SIGTERM to schedule.1 (pid 23813)
21:24:48 system           | sending SIGTERM to worker_short.1 (pid 23804)
21:24:48 system           | sending SIGTERM to worker_long.1 (pid 23810)
21:24:48 system           | sending SIGTERM to worker_default.1 (pid 23809)
21:24:48 redis_socketio.1 | 23805:signal-handler (1697653488) Received SIGTERM scheduling shutdown...
21:24:48 redis_cache.1    | 23803:signal-handler (1697653488) Received SIGTERM scheduling shutdown...
21:24:48 redis_queue.1    | 23807:signal-handler (1697653488) Received SIGTERM scheduling shutdown...
21:24:48 system           | worker_short.1 stopped (rc=-15)
21:24:48 system           | worker_long.1 stopped (rc=-15)
21:24:48 system           | worker_default.1 stopped (rc=-15)
21:24:48 system           | schedule.1 stopped (rc=-15)
21:24:48 system           | socketio.1 stopped (rc=-15)
21:24:48 redis_socketio.1 | 23805:M 18 Oct 2023 21:24:48.094 # User requested shutdown...
21:24:48 redis_socketio.1 | 23805:M 18 Oct 2023 21:24:48.095 * Saving the final RDB snapshot before exiting.
21:24:48 redis_queue.1    | 23807:M 18 Oct 2023 21:24:48.104 # User requested shutdown...
21:24:48 redis_queue.1    | 23807:M 18 Oct 2023 21:24:48.104 * Saving the final RDB snapshot before exiting.
21:24:48 system           | watch.1 stopped (rc=-15)
21:24:48 redis_socketio.1 | 23805:M 18 Oct 2023 21:24:48.134 * DB saved on disk
21:24:48 redis_socketio.1 | 23805:M 18 Oct 2023 21:24:48.134 * Removing the pid file.
21:24:48 redis_socketio.1 | 23805:M 18 Oct 2023 21:24:48.136 # Redis is now ready to exit, bye bye...
21:24:48 redis_cache.1    | 23803:M 18 Oct 2023 21:24:48.137 # User requested shutdown...
21:24:48 system           | redis_socketio.1 stopped (rc=0)
21:24:48 redis_cache.1    | 23803:M 18 Oct 2023 21:24:48.137 * Removing the pid file.
21:24:48 redis_cache.1    | 23803:M 18 Oct 2023 21:24:48.137 # Redis is now ready to exit, bye bye...
21:24:48 system           | redis_cache.1 stopped (rc=0)
21:24:48 redis_queue.1    | 23807:M 18 Oct 2023 21:24:48.155 * DB saved on disk
21:24:48 redis_queue.1    | 23807:M 18 Oct 2023 21:24:48.155 * Removing the pid file.
21:24:48 redis_queue.1    | 23807:M 18 Oct 2023 21:24:48.160 # Redis is now ready to exit, bye bye...
21:24:48 system           | redis_queue.1 stopped (rc=0)

Any suggestions? :sweat_smile: