Getting WeaviateStartUpError in C1M3_Ungraded_Lab_2 notebook

While running 4.3 Loading Chunks into a Vector Database section in C1M3_Ungraded_Lab_2 I’m getting below error -

WeaviateStartUpError: Embedded DB did not start because processes are already listening on ports http:8079 and grpc:50050use weaviate.connect_to_local(port=8079, grpc_port=50050) to connect to the existing instance

During handling of the above exception, another exception occurred:

NameError Traceback (most recent call last)
Cell In[119], line 13
4 client = weaviate.connect_to_embedded(
5 persistence_data_path="/home/jovyan/data/collections/m3/ungraded_lab_2",
6 environment_variables={
(...)
10 }
11 )
12 except Exception as e:
---> 13 ports = extract_ports(str(e))
14 client = weaviate.connect_to_local(port=8079, grpc_port=50050)

NameError: name 'extract_ports' is not defined

Screenshot -

hi @Bhakti

are you running the codes locally? as I didn’t encounter this issue on learning platform.

Also can you post screenshot of complete error, in case the error is too lengthy, kindly take separate two screenshots and post here.

Also post the weaviate startup error, just! look at the issue behind these error logs.