Closed Pnoddy1 closed 4 years ago
My initial guess is this is a data error as it's being read as a NoneType. Do you have an exact copy of the error message, including the code line where the plugin fails?
Cheers John
On Fri, Apr 3, 2020 at 2:29 PM Pnoddy1 notifications@github.com wrote:
I am trying to make a map using a shapefile and population data in an XLSX file. The first time I used the plugin using this data set worked fine, but I have now been receiving this error after restarting QGIS.
Here is the issue I am having:
- Load shapefile
- Load XLSX with population field
- Join shapefile and XLSX
- Load plugin
- Make plan and select appropriate fields
- "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'"
QGIS reads the population field as an "int" type. The district and data fields are "QString" types. Is this an issue with the plugin or the data set?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/johnpholden/qgis3redistricter/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEYIAVMKVPXWRGW2R6ORVTRKZIKTANCNFSM4L4OQW4Q .
I added a new field for the district and it seems to work now. If I get the issue again, I will post a screenshot.
Cheers. Hope you don't have any further issues!
On Fri, Apr 3, 2020 at 3:04 PM Pnoddy1 notifications@github.com wrote:
I added a new field for the district and it seems to work now. If I get the issue again, I will post a screenshot.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/johnpholden/qgis3redistricter/issues/1#issuecomment-608708477, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEYIAT246QY2FJH6RTMFH3RKZMO5ANCNFSM4L4OQW4Q .
I am trying to make a map using a shapefile and population data in an XLSX file. The first time I used the plugin using this data set worked fine, but I have now been receiving this error after restarting QGIS.
Here is the issue I am having:
QGIS reads the population field as an "int" type. The district and data fields are "QString" types. Is this an issue with the plugin or the data set?