Closed sfkeller closed 4 years ago
Hello thank you for your interest in our plugin, you are likely getting this error because you did not install the dependencies for the plugin. Please have a look at our repository for dependencies. https://github.com/sparqlunicorn/unicornQGISdepInstaller The dependencies need to be installed before installing the plugin and whenever you install a new version of QGIS. Let us know if this solves your problem!
Please also be aware that because of a bug in rdflib installing the dependencies SPARQLWrapper and rdflib manually will not work. For now you need to use our installer because it includes a patched version of rdflib which solves the issue you are describing. This issue is also still open to be solved but depends on a change in rdflib that we filed at their bug tracker https://github.com/RDFLib/rdflib/pull/945
Thanks to support we received at FOSSGIS we will soon be shipping a new version which bundles the dependencies. Then there will be no need for the dependency installer anymore. Stay tuned!
Version 0.10 fixes this issue, as the correct dependencies are now bundled with the plugin.
Nice.
Don't forget to update the description in metadata.txt too https://github.com/sparqlunicorn/sparqlunicornGoesGIS/blob/master/sparql_unicorn/metadata.txt#L13
While speaking about metadata.txt I usually propose in any case (and in addition to the common publishing guidelines: http://plugins.qgis.org/publish/ ) to write a consice description text section there.
Thank you for the suggestion. I forgot to commit the metadata update into the master branch. Done now.
While trying to install or upgrade this plugin v0.8 I get error "AttributeError: 'NoneType' object has no attribute 'isatty'" : See below.