[Qgis-developer] No module named

Denis Rouzaud denis.rouzaud at gmail.com
Wed May 3 02:41:53 PDT 2017


Hi Andreas,

I think this is a due to a bad compilcation of the UI files with pyuic. It
probably failed at finding QGIS gui lbrabry.
Look maybe at the Makefile here
https://github.com/3nids/quickfinder/blob/master_2/Makefile to define the
path properly.

Best wishes,
Denis



Le mer. 3 mai 2017 à 10:01, Neumann, Andreas <a.neumann at carto.net> a écrit :

> Hi,
>
> I am trying to get QGIS quickfinder running (the version from github, not
> the packaged version), because I want to test the new Postgres search
> functionality.
>
> I checked out the source from https://github.com/3nids/quickfinder (the
> master_2 version) and also the qsettingsmanager. I changed the Makefile to
> reflect my Pythonpath. The make and make deploy went fine, but when I load
> the plugin I get the error message
>
> ----------------
>
> 2017-05-03T09:55:09 1 Traceback (most recent call last):
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 333, in startPlugin
>
> plugins[packageName] = package.classFactory(iface)
>
> File "C:/Users/nend/.qgis2/python/plugins\quickfinder\__init__.py", line
> 28, in classFactory
>
> from .quickfinder_plugin import QuickFinder
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 607, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/Users/nend/.qgis2/python/plugins\quickfinder\quickfinder_plugin.py",
> line 36, in <module>
>
> from gui.configuration_dialog import ConfigurationDialog
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 607, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/Users/nend/.qgis2/python/plugins\quickfinder\gui\configuration_dialog.py",
> line 38, in <module>
>
> from project_search_dialog import ProjectSearchDialog
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 607, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/Users/nend/.qgis2/python/plugins\quickfinder\gui\project_search_dialog.py",
> line 29, in <module>
>
> from ..ui.ui_projectsearch import Ui_ProjectSearch
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 607, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/Users/nend/.qgis2/python/plugins\quickfinder\ui\ui_projectsearch.py",
> line 123, in <module>
>
> from qgsfieldexpressionwidget import QgsFieldExpressionWidget
>
> File "C:/Program Files/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line
> 607, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> ImportError: No module named qgsfieldexpressionwidget
>
>  ---------------------------------------
>
> Is qgsfieldexpressionwidget a separate Python plugin or why is not found?
>
> Thank you for any hints,
>
> Andreas
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170503/a78dd4ff/attachment.html>


More information about the QGIS-Developer mailing list