-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Basic statistics for numeric fields #23664
Comments
Author Name: Paolo Cavallini (@pcav) Still true for 2.18
|
Author Name: Alexander Bruy (@alexbruy) Can't reproduce using Processing and QGIS test data. Can you share dataset which causes this? |
Author Name: Paolo Cavallini (@pcav) It happens with any data here, just tested. |
Author Name: Alexander Bruy (@alexbruy) Strange. Can't reproduce locally, and as I can see Travis also does not report any failure for this alg |
Author Name: Paolo Cavallini (@pcav) Very strange indeed. Could it be due to a different version of a lib? I just tested again, and confirm the issue.
|
Author Name: Giovanni Manghi (@gioman) Work fine here on 2.18 on both Windows (standalone) and Ubuntu 16.04, with any data.
|
Author Name: Giovanni Manghi (@gioman) Paolo Cavallini wrote:
can you test on another machine (with a different os/os version)? thanks. |
Author Name: Paolo Cavallini (@pcav) Sure, already planned, next days during a course, with several machines. |
Author Name: Paolo Cavallini (@pcav) Verified on 10 Windows boxes, it works on only 2 of them, same error confirmed for the other 8. |
Author Name: Giovanni Manghi (@gioman) Paolo Cavallini wrote:
where it fails, are all clean installations? have you tried purge the .qgis2 folder and see if anything changes? |
Author Name: Paolo Cavallini (@pcav) This happens in 9 machines, with a variety of settings. Some of them have uninstalled 2.16 before installing 2.18, some starts from a clean .qgis2. |
Author Name: Alexander Bruy (@alexbruy) Still can not reproduce on Windows and Linux, also tests for this alg passed on Travis. Looks like local issue. |
Author Name: Giovanni Manghi (@gioman)
further testing to find the likely local issue are needed. Please reopen if you find a real evidence of a core qgis problem.
|
Author Name: Joao Paulouro (Joao Paulouro) I can confirm the bug on a QGIS 2.18.13 installation via homebrew on mac. The issue seems to only affect values with decimals (numeric, real, etc) and can only reproduce on Postgis layers. Same layer exported as a shapefile works. |
Author Name: Giovanni Manghi (@gioman) Joao Paulouro wrote:
chekc if you have a "processing" folder in ~/.qgis2/python/plugins/ if yes delete it, restart qgis and try again.
Uncaught error while executing algorithm Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute self.processAlgorithm(progress) File "/usr/share/qgis/python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py", line 175, in processAlgorithm data.append(self.tr('Interquartile Range (IQR): {}').format(iqr)) ValueError: Single '{' encountered in format stringto running the alg from Processing I get: Uncaught error while executing algorithm Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute self.processAlgorithm(progress) File "/usr/share/qgis/python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py", line 175, in processAlgorithm data.append(self.tr('Interquartile Range (IQR): {}').format(iqr)) ValueError: Single '{' encountered in format string |
Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 15742
Affected QGIS version: 2.18.0
Redmine category:processing/qgis
Assignee: Victor Olaya
running the alg from Processing I get:
The text was updated successfully, but these errors were encountered: