Re: [Qgis-developer] qgis 3 still includes qt4+py2 stuff and missing _gdal_array.pyd
Hi Idan, On Wed, 03. May 2017 at 17:23:56 +0300, Idan Miara wrote: > I wondered why does the latest qgis 3.0 weekly build (2.99.0-18) still > contains some qt4 and py2.7 binaries. QGIS depends on GRASS, which still depends on python2. > also, _gdal_array.pyd is missing from > apps\Python36\Lib\site-packages\osgeo > and available only on: > apps\Python27\Lib\site-packages\osgeo > (same for x64 and x86 releases) Still open issue: https://trac.osgeo.org/osgeo4w/ticket/529 Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: PGP signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis 3 still includes qt4+py2 stuff and missing _gdal_array.pyd
I see that indeed this bug is demonstrated by running "import osgeo.gdal_array" (works on qgis2 but not on qgis3) I manually applied the suggested fix in gdal_array.py: -import _gdal_array +from . import _gdal_array But it still doesn't work on qgis3. Isn't _gdal_array.pyd a required file for import gdal_array in py3? It's present only in the py2.7 lib folder. I'm not sure if this file is auto generated by SWIG or if this fix in gdal_array.i would make any difference. On 3 May 2017 at 19:31, Sebastiaan Couwenbergwrote: > On 05/03/2017 06:27 PM, Idan Miara wrote: > > Thanks, Where would be the appropriate place to report this issue? > > Most probably: https://trac.osgeo.org/osgeo4w/ > > Kind Regards, > > Bas > > -- > GPG Key ID: 4096R/6750F10AE88D4AF1 > Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis 3 still includes qt4+py2 stuff and missing _gdal_array.pyd
On 05/03/2017 06:27 PM, Idan Miara wrote: > Thanks, Where would be the appropriate place to report this issue? Most probably: https://trac.osgeo.org/osgeo4w/ Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis 3 still includes qt4+py2 stuff and missing _gdal_array.pyd
Thanks, Where would be the appropriate place to report this issue? On 3 May 2017 5:40 pm, "Bas Couwenberg"wrote: > On 2017-05-03 16:23, Idan Miara wrote: > >> ModuleNotFoundError: No module named '_gdal_array' >> > > That sounds like: https://trac.osgeo.org/gdal/ticket/6801 > > OSGeo4W probably needs to include the patch for that issue like the Debian > package does. > > Kind Regards, > > Bas > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis 3 still includes qt4+py2 stuff and missing _gdal_array.pyd
On 2017-05-03 16:23, Idan Miara wrote: ModuleNotFoundError: No module named '_gdal_array' That sounds like: https://trac.osgeo.org/gdal/ticket/6801 OSGeo4W probably needs to include the patch for that issue like the Debian package does. Kind Regards, Bas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer