[QGIS-Developer] Python support broken in OSGeo4W nightly?

Andreas Neumann a.neumann at carto.net
Tue Jun 5 06:47:05 PDT 2018


Ok - thanks for confirming. I wait for the next nightly build then. 

Andreas 

On 2018-06-05 15:28, Denis Rouzaud wrote:

> Hi Andreas, 
> 
> It's my fault, it'll be fixed by tomorrow's build. 
> In the mean time, you can manually fix this by adding missing __init__.py in python/{core|gui|analysis|server}/ 
> you can use empty files as a quick and dirty or copy the content from here (rename .py.in [1] to .py) 
> https://github.com/qgis/QGIS/blob/master/python/core/__init__.py.in 
> 
> Sorry for the inconvenience. 
> Denis 
> 
> Le mar. 5 juin 2018 à 09:15, Andreas Neumann <a.neumann at carto.net> a écrit : 
> 
>> Hi, 
>> 
>> With version https://github.com/qgis/QGIS/commit/8f55093642 (OSGeo4W nightly of QGIS master) I get a Python error message on startup, and as a result all Python support is disabled: 
>> 
>> Error message: 
>> 
>> ---------------- 
>> 
>> Traceback (most recent call last):
>> File "", line 1, in 
>> File "C:/Programme/OSGeo4W64/apps/qgis-dev/./python\qgis\utils.py", line 33, in 
>> from qgis.core import Qgis, QgsExpression, QgsMessageLog, qgsfunction, QgsMessageOutput, QgsWkbTypes
>> ImportError: cannot import name 'Qgis' 
>> 
>> ------------------------- 
>> 
>> Is this a windows specific problem or a general problem in master in this commit? 
>> 
>> Or is this fixed by https://github.com/qgis/QGIS/commit/8ef0d1f7d95bdc52904cd1d075f2f409f8523cb6 ? 
>> 
>> Thanks for your reply, 
>> 
>> Andreas _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

 

Links:
------
[1] http://py.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180605/3d008183/attachment.html>


More information about the QGIS-Developer mailing list