Open MaelREBOUX opened 2 years ago
Thanks for reporting this.
This looks to be a similar issue to how the GDAL import paths are being set incorrect, I'll confirm if this is the same cause and if a similar fix can sort it out.
On my Windows system variables I get :
GDAL_DATA
= "C:\applications\postgresql\13.8\gdal-data"And because I have 2 PostgreSQL servers and 2 QGIS installed I get ogr2ogr in 4 places :
And by the game of the path
variable, my current ogr2ogr.exe is the PG 13.8 one.
Hope this will help
Hello any clue to test here on my workstation ?
Nothing immediately, I'm afraid. What did you use to install PostgresQL?
Having the same issue, importing from Postgresql gives the following error
Installed 14.5 using enterprisedb
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
@antoniolocandro Could you double check the 'Import from Database' dialog for me to see that both 'host' and 'port' have values? I am able to recreate this issue when I specify a port, database, table, username and password but not hostname.
Hello a colleague succeed to make kart work. There is an issue in the PG connection string that is raised. The int / str errot is linked to that. I have to double check this and I come back here.
@MaelREBOUX Thanks for the update - if it is something similar to my example above where there some parts of the connection info aren't present then that makes sense and I know what we need to sort out there.
This is what I input, very similar to what I have in DB manager in QGIS (probably would be better if plugin detected existing connections by default also)
Tables are loaded correctly including the corresponding schema but upon selecting one and hitting OK to load the message error pop ups
Thanksk @antoniolocandro that is what I expected, I'll work up a fix for that ASAP but in the meantime if you add localhost
as the host in that dialog does it go through correctly?
Adding localhost solves the issue, hopefully existing connections would be detected and that would save some time
Describe the bug
Really happy to test this famous plugin ! But with a fresh install of QGIS 3.16 and the kart plugin I can initialize a repo but cannot import a layer from a PostGIS database.
Reading the logs I don't know what is wrong. Help wanted...
Voluntary duplicate to #55
To Reproduce
Steps to reproduce the behavior:
Then a modal dialog with errors appears :
And in the kart panel :
But these plugins are present in the directory
Expected behavior To work
Version info (this is important!):