[Qgis-developer] is python2 still supported by qgis 2.12 ?

J.O. Williams j.o.williams.jow at gmail.com
Sat Dec 5 15:13:31 PST 2015


List,

This fix my problem too.  I now have only two problems with "make test"  
instead of 60+.

I just had update "apt-get install python-qt4-sql".  I didn't have to 
run the install for "libqt4-sql".


My OS is Ubuntu 15.10 and is a 3 week old version upgrade. (I am having 
to reinstall a lot of other software as well).

NAME="Ubuntu"
VERSION="15.10 (Wily Werewolf)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 15.10"
VERSION_ID="15.10"

+++++++++++++++++++++++++++++++++++++++++++++

The errors from the "make test" are:

99% tests passed, 2 tests failed out of 166

Total Test time (real) = 119.94 sec

The following tests FAILED:
      64 - qgis_networkcontentfetcher (Failed)
     144 - PyQgsNetworkContentFetcher (Failed)
Errors while running CTest
Makefile:116: recipe for target 'test' failed
make: *** [test] Error 8

I don't have any flavor of any GIS server on my network.

+++++++++++++++++++++++++++++++

Current build is:

QGIS version

	

2.12.1-Lyon

	

QGIS code revision

	

16760fd <https://github.com/qgis/QGIS/commit/16760fd>

Compiled against Qt

	

4.8.6

	

Running against Qt

	

4.8.6

Compiled against GDAL/OGR

	

1.11.2

	

Running against GDAL/OGR

	

1.11.2

Compiled against GEOS

	

3.5.0-CAPI-1.9.0

	

Running against GEOS

	

3.5.0-CAPI-1.9.0 r4084

PostgreSQL Client Version

	

9.4.5

	

SpatiaLite Version

	

4.3.0

QWT Version

	

5.2.3

	

PROJ.4 Version

	

491

QScintilla2 Version

	

2.9

	
	



++++++++++++++++++++++++++++++++++++++++++++++++++++

I used the following to build my current version and it was a virgin git 
pull and build without the DEBUG.  I use "make -j 6" for my builds.

git clone -b release-2_12 --single-branchhttps://github.com/qgis/QGIS.git  QGIS_2_12
cd QGIS_2_12
mkdir qgis-2.12
cd qgis-2.12/
ccmake .. #There in the CMAKE_BUILD_TYPE line I entered "Debug"
make

I make two changes for the "ccmake .." and they are ~/apps for the software location

and...

QWT_POLAR as internal.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Starting qgis from the command line gives:


and error box with a traceback with the following:

ImportError: No module named osgeo


and 2nd, the following in an error box:

Unable to load GdalTools plugin.

The required "osgeo [python-gdal]" module is missing.

Install it and try again.


and qgis starts normally with the following dumped to the command line:

Warning: loading of qgis translation failed [/home/jow/apps/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss"
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
ERROR 4: `/initrd.img' not recognised as a supported file format.


The only problem I see is the ERROR 4:.  Why does qgis want to know about Linux boot disk image?  Which in my case is a "ln -s" to the real file in the /boot directory.

I haven't tried to chase the other two error box problems (so they might not be a problem).

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


This is an FYI post to the list developers.

Thanks for your great work.

J.O. Williams

  

On 12/02/2015 08:53 AM, Sandro Santilli wrote:
> On Wed, Dec 02, 2015 at 04:51:03PM +0100, Luigi Pirelli wrote:
>> libqt4-sql
>> and
>> python-qt4-sql
> Thanks! Installing python-qt4-sql fixed the issue.
>
> --strk;
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151205/271c0fa4/attachment.html>


More information about the Qgis-developer mailing list