Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSpatialite plugin installation fault in QGIS master #15644

Closed
qgib opened this issue Sep 21, 2012 · 2 comments
Closed

QSpatialite plugin installation fault in QGIS master #15644

qgib opened this issue Sep 21, 2012 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins

Comments

@qgib
Copy link
Contributor

qgib commented Sep 21, 2012

Author Name: Gerhard Spieles (Gerhard Spieles)
Original Redmine Issue: 6386
Affected QGIS version: master
Redmine category:python_plugins


Installing qspatialit in QGis master terminat with fault:
The plugin depends on some components missing on your system. You need to install following python module in order to enable it: _qspatialite

Starting QGgis, popup window reports:

Konnte Erweiterung QspatiaLite nicht laden wegen eines Fehler beim Aufruf seiner classFactory()-Methode

Traceback (most recent call last):
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 164, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Dokumente und Einstellungen/gerhard/.qgis//python/plugins\\QspatiaLite\\__init__.py", line 34, in classFactory
    from qspatialite import QspatiaLite
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 360, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Dokumente und Einstellungen/gerhard/.qgis//python/plugins\\QspatiaLite\\qspatialite.py", line 29, in 
    from QspatiaLiteApp import QspatiaLiteApp
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 360, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Dokumente und Einstellungen/gerhard/.qgis//python/plugins\\QspatiaLite\\QspatiaLiteApp.py", line 27, in 
    from Classes.Database import *
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 360, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Dokumente und Einstellungen/gerhard/.qgis//python/plugins\\QspatiaLite\\Classes\\Database.py", line 1, in 
    from pyspatialite import dbapi2 as sqlite #Load PySpatiaLite
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 360, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGeo4W/apps/qgis-dev/./python\\pyspatialite\\dbapi2.py", line 27, in 
  File "C:/OSGeo4W/apps/qgis-dev/./python\\qgis\\utils.py", line 360, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named _spatialite

Python-Version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


QGIS-Version:
1.9.0-Master Master, e4793d6

Python-Pfad: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Dokumente und Einstellungen/gerhard/.qgis//python', 'C:/Dokumente und Einstellungen/gerhard/.qgis//python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\\\\OSGeo4W\\\\bin\\\\python27.zip', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\DLLs', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\plat-win', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\lib-tk', 'C:\\\\OSGeo4W\\\\bin', 'C:\\\\OSGeo4W\\\\apps\\\\Python27', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\PIL', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode', 'C:\\\\Dokumente und Einstellungen\\\\gerhard\\\\.qgis\\\\python\\\\plugins\\\\mmqgis/forms', '/usr/share/qgis/python']

@qgib
Copy link
Contributor Author

qgib commented Sep 21, 2012

Author Name: Alexander Bruy (@alexbruy)


This is QSpatiaLite error. Please submit such bugs to plugin bugtracker not to QGIS one


  • status_id was changed from Open to Rejected

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


It's not a QSpatialite problem, but a OSGeo4W one (see http://lists.osgeo.org/pipermail/qgis-user/2012-April/016552.html) which should be fixed anyway.

Try to delete c:\osgeo4w\apps\qgis\python\pyspatialite, then it should work.


  • status_id was changed from Rejected to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant