[Qgis-developer] Couldn't load plugin fTools

Eugenio Trumpy frippe12573 at hotmail.com
Tue Sep 13 05:07:54 PDT 2016


Hi all,


I just compiled without error qgis master  2.99.0-master d265f33 on ubuntu 16.04.

However I got this error on launching the application:


Couldn't load plugin fTools due to an error when calling its classFactory() method

ImportError: cannot import name QGis

Traceback (most recent call last):
  File "/usr/local/share/qgis/python/qgis/utils.py", line 333, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/usr/local/share/qgis/python/plugins/fTools/__init__.py", line 33, in classFactory
    from .fTools import fToolsPlugin
  File "/usr/local/share/qgis/python/qgis/utils.py", line 642, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/local/share/qgis/python/plugins/fTools/fTools.py", line 33, in
    from qgis.core import QGis
ImportError: cannot import name QGis

Python version: 2.7.12 (default, Jul  1 2016, 15:12:24) [GCC 5.4.0 20160609]
QGIS version: 2.99.0-Master Master, d265f33

Python Path:

  *   /usr/local/share/qgis/python/plugins/processing
  *   /usr/local/share/qgis/python
  *   /home/eugenio/.qgis-dev//python
  *   /home/eugenio/.qgis-dev//python/plugins
  *   /usr/local/share/qgis/python/plugins
  *   /usr/lib/python2.7
  *   /usr/lib/python2.7/plat-x86_64-linux-gnu
  *   /usr/lib/python2.7/lib-tk
  *   /usr/lib/python2.7/lib-old
  *   /usr/lib/python2.7/lib-dynload
  *   /usr/local/lib/python2.7/dist-packages
  *   /usr/lib/python2.7/dist-packages
  *   /usr/lib/python2.7/dist-packages/PILcompat
  *   /usr/lib/python2.7/dist-packages/gtk-2.0
  *   /usr/lib/python2.7/dist-packages/ubuntu-sso-client
  *   /usr/lib/python2.7/dist-packages/wx-3.0-gtk2
  *   /home/eugenio/.qgis-dev//python

After that qgis start normally, but all the python plugin were not loaded.


Any hints on this regard?


Eugenio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160913/d7d715f3/attachment.html>


More information about the Qgis-developer mailing list