planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Cannot run test suite with windows suite install #125

Closed jj0hns0n closed 10 years ago

jj0hns0n commented 10 years ago

The tests are still trying to write to a directory under Program Files which is not writeable.

@ischneider can you test with the latest windows build from @mweisman and modify the tests so they can run in this configuration. Once they are fixed we will need a new build.

Note that the initial run here was when the option to always use REST was disabled. We should probably make sure the tests all pass even when in importer mode, even if some are skipped.

https://dpaste.de/ERNH

ischneider commented 10 years ago

Dunno why the logging is so verbose, but one of the primary issues is that it cannot connect to the database. The credentials it uses are:

{'USER': 'postgres', 'HOST': 'localhost', 'PASSWORD': 'postgres', 'PORT': '54321', 'DATABASE': 'opengeo'}

If that connection works, then you need to ensure the opengeo database has the postgis extension installed:

CREATE EXTENSION postgis;

ischneider commented 10 years ago

If you're not wanting to wait for a build, this is a pretty small fix to apply manually. I verified both the problem and the fix on win7.