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 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 <[email protected]> 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
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer