Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Uncaught AssertionError #47

Closed
simbamangu opened this issue Aug 18, 2016 · 2 comments
Closed

Uncaught AssertionError #47

simbamangu opened this issue Aug 18, 2016 · 2 comments

Comments

@simbamangu
Copy link

Steps to reproduce

  1. Add PostGIS layer to group;
  2. Select 'versioning' tool
  3. Confirm that '4 fields will be added ...'

Fails with the below error on Mac OS X 10.10.5, QGIS 2.14.

Also fails on Linux 16.04, QGIS 2.16.

Traceback (most recent call last):
  File "/Users/simbamangu/.qgis2/python/plugins/qgis_versioning/versioning.py", line 616, in historize
    versioning_base.historize( self.pg_conn_info(), schema )
  File "/Users/simbamangu/.qgis2/python/plugins/qgis_versioning/versioning.py", line 110, in pg_conn_info
    assert(False) # TODO request connection
AssertionError

qgis_versioning 0.4, QGIS 2.14.3-Essen on Darwin 14.5.0

@vmora
Copy link
Contributor

vmora commented Apr 7, 2017

The plugin tries to guess the connection to posgresql, but fails because there are several postgresql databases in the project.

Can you confirm and change the title to "Add support for project with heterogeneous posgresql sources" ?

@SebastienPeillet
Copy link

Project migrated to : https://gitlab.com/Oslandia/qgis/qgis-versioning

@delhomer delhomer closed this as completed Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants