[Qgis-developer] Couldn't load plugin fTools

Eugenio Trumpy frippe12573 at hotmail.com
Tue Sep 13 06:05:28 PDT 2016


Hi Alexander,


I just clone newly the qgis repo, I started from scratch.

What kind of old file do you mean?


E.


________________________________
Da: Alexander Bruy <alexander.bruy at gmail.com>
Inviato: martedì 13 settembre 2016 14.40
A: Eugenio Trumpy
Cc: qgis-developer at lists.osgeo.org
Oggetto: Re: [Qgis-developer] Couldn't load plugin fTools

Seems you trying to install QGIS master on the top of existing QGIS
installation without removing old files. fTools plugin was removed in
QGIS 2.16.

Please perform clean install (remove all old files first)

2016-09-13 15:07 GMT+03:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
> 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
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Qgis-developer Info Page - lists.osgeo.org Mailing Lists<http://lists.osgeo.org/mailman/listinfo/qgis-developer>
lists.osgeo.org
Discussion of all things QGIS development related. To see the collection of prior postings to the list, visit the Qgis-developer Archives.


> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer



--
Alexander Bruy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160913/89d3d60f/attachment-0001.html>


More information about the Qgis-developer mailing list