https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-07-30T12:23:43ZQGIS Issue TrackingQGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=630012015-07-30T12:23:43ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> changed from <i>Rasters</i> to <i>115</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Target version</strong> deleted (<del><i>Version 2.10</i></del>)</li></ul><p>Do you refer to the "zonal statistics" core plugin (c++) or its counterpart in the QGIS Processing toolbox?</p>
<p>I cannot replicate the issue with any of my data, can you please attach sample data that cause the issue? thanks.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=630882015-08-01T13:28:44ZSergio Antonio
<ul><li><strong>File</strong> <a href="/attachments/download/8958/ZonalStat.zip">ZonalStat.zip</a> added</li><li><strong>Target version</strong> set to <i>Version 2.10</i></li></ul><p>This zip file contains a clip of srtm_27_17.tif, two polygon grids (shp) created by vector grid tool (10000 x 10000 m and 1000 x 1000m), and the zonalstatistics.qgs. <br />All of them in EPSG 31983 - SIRGAS 2000 / UTM zone 23S. <br />I refer to the "zonal statistics" in the QGIS Processing toolbox.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631002015-08-02T23:55:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>no error here with your project and dataset. What version of Processing are you using (check the version in the plugin manager)?</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631102015-08-03T05:20:02ZSergio Antonio
<ul></ul><p>Category: Analysis <br />Author: Victor Olaya<br />Installed version: 2.10.1 <br />Available version: 2.10.1 (in Official repository of add-ons QGIS)</p>
<p><em>Complementary information</em>:<br />Running <strong>Catchment Area</strong> (Processing toolbox) occurs<br />ERROR 1: Can't load requested DLL: .....apps\\saga\\dll\\ <strong>gdal_MrSID.dll</strong></p>
<p>but gdal_MrSID.dll is there.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631132015-08-03T06:04:36ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Sergio Antonio wrote:</p>
<blockquote>
<p>Category: Analysis <br />Author: Victor Olaya<br />Installed version: 2.10.1 <br />Available version: 2.10.1 (in Official repository of add-ons QGIS)</p>
</blockquote>
<p>still no error here. Tested on Linux and Windows. Seems likely a local issue, would you mind testing on a different system?</p>
<blockquote>
<p><em>Complementary information</em>:<br />Running <strong>Catchment Area</strong> (Processing toolbox) occurs<br />ERROR 1: Can't load requested DLL: .....apps\\saga\\dll\\ <strong>gdal_MrSID.dll</strong></p>
<p>but gdal_MrSID.dll is there.</p>
</blockquote>
<p>that is a message that is thrown by SAGA, not QGIS (is anyway not important apparently).</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631182015-08-03T09:12:46ZSergio Antonio
<ul></ul><p>The error happens in three machines (Windows) that had version 2.6 and were upgraded to 2.8 and, then, to 2.10.<br />Ok, it seems that really isn't a bug. I have discussed it with others users that, like you, didn't find the error.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631192015-08-03T09:20:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Sergio Antonio wrote:</p>
<blockquote>
<p>The error happens in three machines (Windows) that had version 2.6 and were upgraded to 2.8 and, then, to 2.10.<br />Ok, it seems that really isn't a bug. I have discussed it with others users that, like you, didn't find the error.</p>
</blockquote>
<p>I would suggest try (backup and) delete the .qgis2 folder and try again.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631262015-08-04T04:12:15ZSergio Antonio
<ul></ul><p>I deleted the .qgis2 folder, then I removed qgis 2.8 and I restarted the machine: sorry, the problem remains.<br />I verified that this machine had the versions: Brighton, Chugiak, Wien and Lisboa.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631272015-08-04T08:47:28ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Sergio Antonio wrote:</p>
<blockquote>
<p>I deleted the .qgis2 folder, then I removed qgis 2.8 and I restarted the machine: sorry, the problem remains.<br />I verified that this machine had the versions: Brighton, Chugiak, Wien and Lisboa.</p>
</blockquote>
<p>so you have machines where this error always surface but you know that does not happen on other users machines (like mine)... what the machines where the bug occur have in common? XP?</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=631392015-08-05T11:17:33ZSergio Antonio
<ul></ul><p>Yes, XP. <br />Just now I prepared, for testing, a fourth computer that was out of use (Windows XP) and the error occurred again.<br />Those machines do not accept others versions of Windows. I believe that they are gone finally...</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=632052015-08-13T09:36:05ZSergio Antonio
<ul></ul><p>Please, can I consider that the bug is just a XP/QGIS incompatibility and close the updates?</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=638032015-09-24T09:54:21ZSergio Antonio
<ul></ul><p>A new machine (Intel® Core™ i7) is running with Windows 10 and the problem persists.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=652882015-11-07T10:26:47ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> deleted (<del><i>Version 2.10</i></del>)</li></ul> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=665792015-12-21T04:51:23ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>OS version</strong> deleted (<del><i>xp</i></del>)</li><li><strong>Operating System</strong> deleted (<del><i>windows</i></del>)</li></ul><p>tested again on several computers (Windows 7/10, linux) with your data and the latest processing available: no issues.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=669592016-01-06T07:55:44ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>not reproducable</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>closing for lack of feedback, please reopen of necessary.</p> QGIS Application - Bug report #13151: Zonal statistics error: 0-d arrays can't be indexed https://issues.qgis.org/issues/13151?journal_id=737692017-01-02T00:26:52ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> changed from <i>115</i> to <i>Analysis library</i></li></ul>