Create new electorate – works fine, but when I then go to assign selected meshblocks to it, I get a python error, and the meshblocks end up with no electorate assigned:
An error has occurred while executing Python code:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "C:/Users/gbyrom/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\redistrict\redistrict.py", line 635, in redistrict_selected
gui_handler.show_stats_for_district(dlg.selected_district)
File "C:/Users/gbyrom/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\redistrict\linz\linz_redistrict_gui_handler.py", line 50, in show_stats_for_district
if contents['VARIATION'] > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
QGIS version: 3.1.0-Master Master, 4d3ff9a5c7
Python Path:
· C:/OSGEO4~1/apps/qgis-dev/./python
· C:/Users/gbyrom/AppData/Roaming/QGIS/QGIS3\profiles\default/python
· C:/Users/gbyrom/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
· C:/OSGEO4~1/apps/qgis-dev/./python/plugins
· C:\OSGeo4W64\bin\python36.zip
· C:\OSGEO4~1\apps\Python36\DLLs
· C:\OSGEO4~1\apps\Python36\lib
· C:\OSGeo4W64\bin
· C:\OSGEO4~1\apps\Python36
· C:\OSGEO4~1\apps\Python36\lib\site-packages
· C:/Users/gbyrom/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/gbyrom/Desktop/QGIS Redistricting project