I was able to use osm2pgrouting tool successfully on Windows with PostgreSQL version 11.9 and pgRouting version 3.1.0. I successfully generated my "ways" file in a PostGIS conection in QGIS 3.10.3.Now I want to test a Dijkstra algorithm with the pgRouting Layer plugin, but I constantly get a Python error, as follows:
File "C:/Users/jorge/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pgRoutingLayer\pgRoutingLayer.py", line 1255, in openHelp db = self.actionsDb[dbname].connect() KeyError: ''
I am already connected to my postgres DB through DB Manager of QGIS but in my pgRouting Layer dialogue box, I am never "shown as connected" to my postgres DB as shown in following figure. I tried to press refresh button and drop down list many times but no use. I've also saved my user and password in my DB connection, but it haven't solved my problem.