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

Spatialite Checkout error #49

Closed
Sameme opened this issue Oct 5, 2016 · 5 comments
Closed

Spatialite Checkout error #49

Sameme opened this issue Oct 5, 2016 · 5 comments

Comments

@Sameme
Copy link

Sameme commented Oct 5, 2016

Spatialite checkout is not working with the plugin. Coming up with this python error

"2016-10-05T19:58:30 1 Traceback (most recent call last):
File "C:/Users/eHA-Samuel/.qgis2/python/plugins\qgis_versioning\versioning.py", line 692, in checkout
tables_for_conninfo, filename, user_selected_features )
File "C:/Users/eHA-Samuel/.qgis2/python/plugins\qgis_versioning\versioning_base.py", line 362, in checkout
"AND "+branch+"_rev_begin IS NOT NULL")
File "C:/Users/eHA-Samuel/.qgis2/python/plugins\qgis_versioning\versioning_base.py", line 123, in execute
self.cur.execute( sql )
OperationalError: near "FROM": syntax error"

I have also attached a screenshot of this error with this issue.
@vmora

versioning_error

@vmora
Copy link
Contributor

vmora commented Oct 6, 2016

The line 123 in master reads:

            self.log = codecs.open( filename, 'w', 'utf-8' )

So I would need the release version you are using.

@Sameme
Copy link
Author

Sameme commented Oct 6, 2016

This the version i have on my system
Installed version: 0.4

I guess this is the only available version on the QGIS Repo or Can one chose version?

@guyschvitz
Copy link

guyschvitz commented Oct 13, 2016

I have the same issue! Also using version 0.4 on QGIS 2.16.2 and PostgreSQL version 9.6.0 The plugin reports this error and then stores a SpatiaLite file that fails to load.

@vmora
Copy link
Contributor

vmora commented Oct 13, 2016

Maybe the same problem, with solution here: GISeHealth#38

@vmora
Copy link
Contributor

vmora commented Apr 7, 2017

@Sameme, @guyschvitz can you confirm that the proposed solution works and close ?

If you need support for spaces in path, then open another issue with that in the name.

@Sameme Sameme closed this as completed Apr 7, 2017
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

3 participants