#908: qgis-dev: 3.99.0-1084-b3f3501cea2-1 fails to load Python support
------------------------+---------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Keywords:
------------------------+---------------------------
After updating qgis-dev to 3.99.0-1084-b3f3501cea2-1, QGIS Desktop 3.99.0
(Nightly) reports the following error at startup:
{{{
An error occurred during execution of following code:
_ssr.log_messages()
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
import faulthandler
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
qgis.utils.__qgis_fault_handler_file_path='C:/Users/Andrea/AppData/Local/Temp
/qgis-python-crash-info-2192'
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
qgis.utils.__qgis_fault_handler_file=open('C:/Users/Andrea/AppData/Local/Temp
/qgis-python-crash-info-2192', 'wt')
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
faulthandler.enable(file=qgis.utils.__qgis_fault_handler_file)
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
qgis.utils.initInterface(2159300444608)
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
Couldn't load qgis.user.
Python support will be disabled.
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
An error occurred during execution of following code:
from qgis.core import QgsApplication as _QgsApplication
def _qgis_app_init_qgis():
raise RuntimeError('QgsApplication.initQgis() must never be called from
within the QGIS application. This method is exclusively for standalone
scripts.')
_QgsApplication.initQgis = _qgis_app_init_qgis
def _qgis_app_exit_qgis():
raise RuntimeError('QgsApplication.exitQgis() must never be called from
within the QGIS application. This method is exclusively for standalone
scripts.')
_QgsApplication.exitQgis = _qgis_app_exit_qgis
can't import io
Python version:
QGIS version:
3.99.0-Master 'Master', b3f3501cea2
Python path:
}}}
The issue doesn't occur reverting to qgis-dev 3.99.0-1083-5bb57e0be52-1.
Not sure if the issue is due to recent changes in the QGIS source code or
to a broken qgis-dev package.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/908>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev