https://issues.qgis.org/https://issues.qgis.org/favicon.ico2017-01-31T02:20:55ZQGIS Issue TrackingQGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=743582017-01-31T02:20:55ZVictor Olayavolayaf@gmail.com
<ul></ul><p>Two questions:</p>
<p>Does the mentioned layer file exist and can be opened manually from QGIS?</p>
<p>Does this happen with other algorithms that generate tables?</p>
<p>It might be an error fo the algorithm itself, or a more generic thing affecting table outputs</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=743592017-01-31T04:36:58Zmatteo ghettamatteo.ghetta@gmail.com
<ul></ul><pre>
Does the mentioned layer file exist and can be opened manually from QGIS?
</pre>
<p>yes, they exist. In fact, I tried the algorithm with some custom test data of processing (points, polys) and other standard shapefiles with I can normally work (other algorithms works fine)</p>
<pre>
Does this happen with other algorithms that generate tables?
</pre><br />I guess you are right. The algorithm <strong>Statistics by categories</strong> gives the same error.
<p>BTW: I tried the same algorithms in 2.18 (same input layer) and they work just fine</p>
<p>Can I help in other ways?</p>
<p>Thanks!</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=744862017-02-08T01:41:09ZAlexander Bruy
<ul><li><strong>Subject</strong> changed from <i>Processing Frequency Analysis fails</i> to <i>Wrong default extension picked for table outputs</i></li><li><strong>Operating System</strong> deleted (<del><i>Linux Mint</i></del>)</li><li><strong>OS version</strong> deleted (<del><i>18</i></del>)</li></ul><p>Well, all algorithms that produce table output work like a charm.</p>
<p>They fail only if output saved to the temporary file. And fail because temporary file uses wrong extension by default: ".dbf" instead of ".csv".</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=745512017-02-14T00:22:31Zmatteo ghettamatteo.ghetta@gmail.com
<ul></ul><p>Ok, I see that the algorithm works fine if the file is saved somewhere else.</p>
<p>But, how to deal with temporary tables? Should we not consider this a bug?</p>
<p>Thanks</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=749702017-03-07T02:20:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> changed from <i>Future Release - High Priority</i> to <i>Version 3.0</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Severe/Regression</i></li></ul><p>In master "statistics by category" does not work regardless if the output is temporary or if the user chooses a location on disk. The tool works fine on 2.18.4. Maybe other tools are affected on master(?).</p>
<p>2017-03-07T11:25:25 2 Error loading result layer:<br /> Traceback (most recent call last):<br /> File "C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins\\processing\\gui\\Postprocessing.py", line 75, in handleAlgorithmResults<br /> out.name))<br /> File "C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins\\processing\\tools\\dataobjects.py", line 223, in load<br /> + '\<br />Check the processing framework log to look for errors')<br /> RuntimeError: Could not load layer: C:\\Users\\qgis\\AppData\\Local\\Temp\\processing9b7c26fa6fda4188a46f914f4dfd4639\\5f1c58d71ff441f68b534f00dbf467bd\\OUTPUT.dbf<br /> Check the processing framework log to look for errors</p>
<p>2017-03-07T11:25:45 2 Error loading result layer:<br /> Traceback (most recent call last):<br /> File "C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins\\processing\\gui\\Postprocessing.py", line 75, in handleAlgorithmResults<br /> out.name))<br /> File "C:/PROGRA~1/QGIS2~1.99/apps/qgis-dev/./python/plugins\\processing\\tools\\dataobjects.py", line 223, in load<br /> + '\<br />Check the processing framework log to look for errors')<br /> RuntimeError: Could not load layer: C:/Users/qgis/Desktop/dede.dbf<br /> Check the processing framework log to look for errors</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=755752017-04-28T10:31:51ZArnaud Morvan
<ul></ul><p>This seems to have been introduced by #dfb4cdd34b93d0d05ce94a842a4cf871c5a900fd<br />(changed default extension from .csv to .dbf in OutputTable class)</p>
<p>I also note this the TableWriter add a .csv extension if it is not there.</p>
<p>So the file is really created with .dbf.csv extension and the ouput value is not updated.</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=757552017-04-30T15:08:21ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> set to <i>Yes</i></li></ul> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=758142017-04-30T15:08:58ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Severe/Regression</i> to <i>High</i></li></ul> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=787902017-04-30T23:10:56ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Easy fix?</strong> set to <i>No</i></li></ul> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=839522017-10-30T04:51:50ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Should no longer be an issue on master - we now use proper layers instead of the old table outputs, so format/extension is any valid vector format.</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=839952017-10-31T18:08:22Zmatteo ghettamatteo.ghetta@gmail.com
<ul></ul><p>Confirmed. I think we can close this issue. Thanks</p> QGIS Application - Bug report #16133: Wrong default extension picked for table outputshttps://issues.qgis.org/issues/16133?journal_id=840022017-10-31T22:44:49ZNyall Dawson
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>