[Qgis-developer] Nightly & OS X Log Messages Panel - Python and QT

Thomas Endres endres.thomas at gmail.com
Thu Apr 28 09:54:02 PDT 2016


HI All,

I have been using the nightly builds for quite some time with OS X 10.11.4.

Couple of questions regarding errors I am seeing in the 'Log Messages
Panel':

1) Are QT Painter errors due to work with 3.0? Should they be disregarded
or reported? Lots of the following after a change in zoom level:

QPainter::begin: Paint device returned engine == 0, type: 3

2016-04-28T11:31:54 1 QPainter::setRenderHint: Painter must be active to
set rendering hints

2016-04-28T11:31:54 1 QPainter::translate: Painter not active

2016-04-28T11:31:54 1 QPainter::end: Painter not active, aborted


2) Ever since I can remember I have had the following appear in the 'Python
warning' tab:

2016-04-28T11:27:20 1
warning:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py:186:
ImportWarning: Not importing directory
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/mpl_toolkits':
missing __init__.py

file, filename, etc = imp.find_module(subname, path)

traceback: File "<string>", line 1, in <module>

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 326, in startPlugin

plugins[packageName] = package.classFactory(iface)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/__init__.py",
line 29, in classFactory

from MetaSearch.plugin import MetaSearchPlugin

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/plugin.py",
line 33, in <module>

from MetaSearch.dialogs.maindialog import MetaSearchDialog

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/dialogs/maindialog.py",
line 43, in <module>

from owslib.csw import CatalogueServiceWeb

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/owslib/csw.py",
line 18, in <module>

from owslib.util import OrderedDict

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/owslib/util.py",
line 13, in <module>

import pytz

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/pytz/__init__.py",
line 29, in <module>

from pkg_resources import resource_stream

File
"/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 600, in _import

mod = _builtin_import(name, globals, locals, fromlist, level)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2813, in <module>

add_activation_listener(lambda dist: dist.activate())

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 686, in subscribe

callback(dist)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2813, in <lambda>

add_activation_listener(lambda dist: dist.activate())

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2346, in activate

list(map(declare_namespace, self._get_metadata('namespace_packages.txt')))

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 1942, in declare_namespace

_handle_ns(packageName, path_item)

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 1899, in _handle_ns

loader = importer.find_module(packageName)


Install or path errors on my end?


Thanks!

-tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160428/a9beb9db/attachment-0001.html>


More information about the Qgis-developer mailing list