Giter Site home page Giter Site logo

sducournau / filter_mate Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 8.93 MB

FilterMate is a Qgis plugin, an everyday companion that allows you to easily filter your vector layers

Home Page: https://sducournau.github.io/filter_mate/

License: MIT License

Python 100.00%
data exploratory-data-analysis filter geospatial ogr postgis qgis qgis-plugin qgis3 qgis3-plugin

filter_mate's People

Contributors

sducournau avatar

Stargazers

 avatar  avatar  avatar

filter_mate's Issues

error at launch - unable to open database file

Hi,

at launch of the plugin, QGIS throws this error.
Can I do something to test what is going on?
This is on a Windows10 machine with QGIS 3.34.5

Traceback (most recent call last):
File "C:\Users/Jeroen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\filter_mate\filter_mate.py", line 296, in run
self.app = FilterMateApp(self.plugin_dir)
File "C:\Users/Jeroen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\filter_mate\filter_mate_app.py", line 82, in init
self.run()
File "C:\Users/Jeroen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\filter_mate\filter_mate_app.py", line 99, in run
self.init_filterMate_db()
File "C:\Users/Jeroen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\filter_mate\filter_mate_app.py", line 605, in init_filterMate_db
conn = spatialite_connect(self.db_file_path)
File "C:\PROGRA1/QGIS331.5/apps/qgis-ltr/./python\qgis\utils.py", line 756, in spatialite_connect
con = sqlite3.dbapi2.connect(*args, **kwargs)
sqlite3.OperationalError: unable to open database file

Python versie: 3.9.18 (heads/master:5eba59e, Feb 1 2024, 20:02:10) [MSC v.1929 64 bit (AMD64)]
QGIS versie: 3.34.5-Prizren Prizren, 4b308492

Error at launch of Filter_mate 1.5

Hi, Filter_mate causes an error when launching QGIS.

`Impossible de charger l'extension 'filter_mate' provoque une erreur lors de l'appel à sa méthode classFactory()

KeyError: 'APPDATA'
Traceback (most recent call last):
File "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/filter_mate/init.py", line 33, in classFactory
from .filter_mate import FilterMate
File "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/filter_mate/filter_mate.py", line 38, in
from .filter_mate_app import *
File "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/filter_mate/filter_mate_app.py", line 16, in
from .config.config import *
File "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/filter_mate/config/config.py", line 34, in
PLUGIN_CONFIG_DIRECTORY = os.path.normpath(os.environ['APPDATA'] + '\QGIS\QGIS3\profiles\default\FilterMate')
File "/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/os.py", line 679, in getitem
raise KeyError(key) from None
KeyError: 'APPDATA'

Version de Python : 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)]
Version de QGIS : 3.28.13-Firenze Firenze, 3b4db4f5618

Chemin Python :
/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/scipy-1.5.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/geopandas-0.8.1-py3.9.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/opencv_contrib_python-4.3.0.36-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Rtree-0.9.7-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/statsmodels-0.11.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/cftime-1.2.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/lib-dynload
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/rasterio-1.1.5-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python39.zip
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/netCDF4-1.5.4-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/patsy-0.5.1-py3.9.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Pillow-7.2.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/matplotlib-3.3.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/numpy-1.20.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/GDAL-3.3.2-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Fiona-1.8.13.post1-py3.9-macosx-10.13.0-x86_64.egg
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res
/Users/didier/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/DataDrivenInputMask`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.