[Qgis-developer] No module named
Andreas Neumann
a.neumann at carto.net
Wed May 3 03:07:34 PDT 2017
Hi Denis,
I modified QGISBUILDDIR in the makefile. First tried with
QGISBUILDDIR =
$(HOME)/dev/QGIS${QGIS_MAJOR_VERSION}/ninja-build/output/python
but also
QGISBUILDDIR = /home/an/QGIS/2.18/share/qgis/python
Which is the install dir of QGIS 2.18.
In general, the Makefile works fine. But during "make deploy" I get the
error:
pylupdate4 error: Cannot save 'i18n/quickfinder_fr.ts': No such file or
directory
pylupdate4 error: Cannot save 'i18n/quickfinder_de.ts': No such file or
directory
These are the only error messages I got during Makefile execution.
Anyway - if you update the quickfinder plugin anyway - I'll probably
wait for that.
Andreas
On 03.05.2017 11:41, Denis Rouzaud wrote:
>
> 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
> <mailto: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 <mailto: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/90132488/attachment-0001.html>
More information about the QGIS-Developer
mailing list