<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Election script help in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609784#M3926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I guess I need to figure out in the script how to make it skip blanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 02:44:34 GMT</pubDate>
    <dc:creator>LeeMadison</dc:creator>
    <dc:date>2016-04-26T02:44:34Z</dc:date>
    <item>
      <title>Election script help</title>
      <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609782#M3924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to modify the elections app where I can update results using one spreadsheet.&lt;/P&gt;&lt;P&gt;Its for a small local election with 20 districts and each district has&amp;nbsp; different number of candidates.&lt;/P&gt;&lt;P&gt;district 1 might have 5 candidates &amp;amp; district 3 may only have 3 candidates . I can do it with 20 spreadsheets but that will get messy. Any idea how to edit the script that if a candidate space is empty it will skip?&lt;/P&gt;&lt;P&gt;This is the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1682, in execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 897, in runElectionResults&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeError: int() argument must be a string or a number, not 'NoneType'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spread sheet shows what I'm trying to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609782#M3924</guid>
      <dc:creator>LeeMadison</dc:creator>
      <dc:date>2016-04-26T02:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Election script help</title>
      <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609783#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the script doesn't accept blank cells, it is trying to convert a string to an integer so whatever the line of the script refers to doesn't allow for nulls/blanks and/or it doesn't check for them and skip them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609783#M3925</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-04-26T02:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Election script help</title>
      <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609784#M3926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I guess I need to figure out in the script how to make it skip blanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609784#M3926</guid>
      <dc:creator>LeeMadison</dc:creator>
      <dc:date>2016-04-26T02:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Election script help</title>
      <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609785#M3927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't know what language but generically&lt;/P&gt;&lt;P&gt;if whatever != "":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable whatever is not equal to "" (normally nothing, null, depending on language, database)&lt;/P&gt;&lt;P&gt;do the something part and it will skip it otherwise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609785#M3927</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-04-26T02:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Election script help</title>
      <link>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609786#M3928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its literally just using the ESRI elections script&amp;nbsp; &lt;A href="http://links.esri.com/localgovernment/download/ElectionsResults/"&gt;http://links.esri.com/localgovernment/download/ElectionsResults/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I'll have to brush up on my python!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 03:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/election-script-help/m-p/609786#M3928</guid>
      <dc:creator>LeeMadison</dc:creator>
      <dc:date>2016-04-26T03:08:32Z</dc:date>
    </item>
  </channel>
</rss>

