Before make install command I remove qgis dir from /usr/local/share,

after make install (now without error) qgis runs correctly, but I have not any 
plugin.

So I started to reinstall those important for me...someone (e.g lizmap) gave me 
this message in the error box:


The plugin is broken. Python said:

global name 'Qgis' is not defined


hints?


E.

________________________________
Da: Alexander Bruy <[email protected]>
Inviato: martedì 13 settembre 2016 15.12
A: Eugenio Trumpy
Cc: [email protected]
Oggetto: Re: [Qgis-developer] Couldn't load plugin fTools

I was talking about *installation* directory, not repo.

2016-09-13 16:05 GMT+03:00 Eugenio Trumpy 
<[email protected]<mailto:[email protected]>>:

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 <[email protected]<mailto:[email protected]>>
Inviato: martedì 13 settembre 2016 14.40
A: Eugenio Trumpy
Cc: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>>:
> 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
> [email protected]<mailto:[email protected]>
> 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<http://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



--
Alexander Bruy
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to