-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Enter the x coordinate of the center of the circle: 3
Enter the y coordinate of the center of the circle: 6
Enter the radius of the circle (m): 5
Enter a file name: example_data.txt
Data cleaned...
Insert into database error - (psycopg2.OperationalError) could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Traceback (most recent call last):
Get date from database error - (psycopg2.OperationalError) could not connect to server: Connection refused (0x0000274D/10061)
File "G:/python_postrgresSQL_pandas_test_analysis-master/app.py", line 37, in
record_handler()
Is the server running on host "localhost" (::1) and accepting
File "G:/python_postrgresSQL_pandas_test_analysis-master/app.py", line 28, in record_handler
TCP/IP connections on port 5432?
total_distance(df, cleaned_df['no_of_anchors'])
could not connect to server: Connection refused (0x0000274D/10061)
File "G:\python_postrgresSQL_pandas_test_analysis-master\funcs\total_distance.py", line 8, in total_distance
Is the server running on host "localhost" (127.0.0.1) and accepting
unique_tags_dict = create_tag_df(df)
TCP/IP connections on port 5432?
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Data analysis...
File "G:\python_postrgresSQL_pandas_test_analysis-master\funcs\create_tag_df.py", line 7, in create_tag_df
df[["x_coord", "y_coord"]] = df[["x_coord", "y_coord"]].apply(pd.to_numeric)
TypeError: 'NoneType' object is not subscriptable