Skip to content
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

Composite Index - Output save is not working #12

Open
mvidaurre opened this issue Jun 11, 2022 · 0 comments
Open

Composite Index - Output save is not working #12

mvidaurre opened this issue Jun 11, 2022 · 0 comments

Comments

@mvidaurre
Copy link

Expected behavior

Selecting a folder and writing a file name should produce a shp for the output result of the Composite Index

Actual behavior

If you use Browse the name that you write is replaced by "/" if you write a name and click OK this produce an error. The map is generated but not saved

Screenshots and GIFs

image
image
image
image

Errors

2022-06-11T11:06:36     WARNING    Traceback (most recent call last):
              File "/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/gui/analysis/composite_index_dialog.py", line 157, in open_file_browser
              self.le_output_filepath.setText(output_file[0])
             IndexError: string index out of range

Warnings

022-06-11T10:58:41     WARNING    warning:/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/gui/analysis/composite_index_dialog.py:325: DeprecationWarning: QgsGraduatedSymbolRenderer.createRenderer() is deprecated
              renderer = QgsGraduatedSymbolRenderer.createRenderer(
             
             traceback: File "/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/plugin.py", line 95, in open_main_window
              dialog.exec_()
              File "/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/gui/analysis/composite_index_dialog.py", line 348, in run_stats
              CommonCompositeIndexDialog.run_stats(self)
              File "/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/gui/analysis/composite_index_dialog.py", line 284, in run_stats
              self.add_symbology()
              File "/Users/mvidaurre/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/GeoPublicHealth/src/gui/analysis/composite_index_dialog.py", line 325, in add_symbology
              renderer = QgsGraduatedSymbolRenderer.createRenderer(

Context for the behavior

Operative System

MacOS Monterrey 12.4

QGIS Version and settings details

QGIS version 3.24.3-Tisler QGIS code revision cf22b74e01
Qt version 5.15.2
Python version 3.9.5
GDAL/OGR version 3.3.2
PROJ version 8.1.1
EPSG Registry database version v10.028 (2021-07-07)
GEOS version 3.9.1-CAPI-1.14.2
SQLite version 3.35.2
PDAL version 2.3.0
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.6
QScintilla2 version 2.11.5
OS version macOS 12.4

Active Python plugins
GeoPublicHealth
version 0.98
processing
2.12.99
sagaprovider
2.12.99
grassprovider
2.12.99
db_manager
0.1.20
MetaSearch
0.3.6

Steps for reproducing the behavior

1. From a shp give the parameters to create a Composite Index
2. In Output give a name for save the output
3. Click OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant