[Qgis-developer] Couldn't load plugin fTools

Arnaud Morvan arnaud.morvan at camptocamp.com
Tue Sep 13 06:05:47 PDT 2016


Or, if this is for development, change the CMAKE_INSTALL_PREFIX path to 
install QGIS master in your home, not in your system folders.

Arnaud Morvan
Ingénieur logiciel
Tél: +33 (0)4 58 48 20 32

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

Le 13/09/2016 14:40, Alexander Bruy a écrit :
> 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
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>



More information about the Qgis-developer mailing list