Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#36920 closed defect (duplicate)

qgis database type list is empty

Reported by: mcohen@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: qgis

Description

I installed the qgis port (with no options or variants) on Mountain Lion 10.8.2. After starting up qgis, I selected Layer > Add Vector Layer from the menu, then checked the radio button for "Database". The expected form fields appeared, but there were no options available to select in the database "Type" drop-down; it was empty. Thus, I couldn't actually make any database connections.

I then installed qgis using the instructions at http://www.kyngchaos.com/software/qgis instead, and that copy has the database type dropdown correctly populated with ODBC, ESRI Personal GeoDatabase and so on, so I believe the original problem was related to the macport installation in particular.

As an aside, with the macports install I got an error on startup that said:

Unable to load GdalTools plugin. 
The required "osgeo [python-gdal]" module is missing. 
Install it and try again.

I don't think this is related to the database connection problem, but it's worth noting. Now that I've installed the GDAL framework outside of macports I don't get the "Unable to load GdalTools plugin" message when I open up the macports install of qgis, but the database type list in the macports install is still empty.

Change History (3)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to vince@…

In the future, please Cc the port maintainer(s).

comment:2 Changed 11 years ago by Veence (Vincent)

Resolution: duplicate
Status: newclosed

I think this is the same as #36906.

comment:3 in reply to:  2 Changed 11 years ago by mcohen@…

I'm not so sure. I agree that the "Unable to load GdalTools plugin" part is a dupe (sorry about that). But I now have installed (outside of MacPorts) a GDAL framework that my macports qgis installation can find. I no longer get that error message on startup, but my database Type list is still empty, which makes me think there's another problem, possibly unrelated to GDAL.

I suppose for now I'll watch #36906 and give it another try when that's fixed. If the database list problem persists I'll reopen this. Thanks for your work, Vince!

Note: See TracTickets for help on using tickets.