psycopg2.InterfaceError: connection already closed / pgr_astar
psycopg2.InterfaceError: connection already closed / pgr_astar Question: I am using psycopg2 to access a postgresql database from python. When I try to run the pgrouting function “pgr_astar” for the shortest path, I receive an error cur = db.cursor() psycopg2.InterfaceError: connection already closed Basically, what happened is: when pgr_astar does not find a path between two …
Total answers: 2