<?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: python toolbox &amp;quot;no syntax errors&amp;quot; yet non-functional in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413112#M32508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I apologize, but it turns out this is a repeat of a previous issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/69714-Debug-Python-Toolbox"&gt;http://forums.arcgis.com/threads/69714-Debug-Python-Toolbox&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, a syntax error, this time in a dictionary comprehension, foiled my Python Toolbox. Since it was a syntax error in Python, I figured the debugger should be able to inform me of it. Why does it pick up some errors and ignore others?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 20:30:08 GMT</pubDate>
    <dc:creator>JamieKass</dc:creator>
    <dc:date>2013-05-15T20:30:08Z</dc:date>
    <item>
      <title>python toolbox &amp;quot;no syntax errors&amp;quot; yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413106#M32502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I make many small changes to the code in my Python Toolbox on a daily basis, and therefore often refresh the toolbox to solidify the changes before running the tool. Usually when I have a syntax error, I am notified when I right-click of the location of the error. However, and I've noticed this a number of times, the message will be "no syntax errors" while the red X remains. In these cases, I am forced to find the part of the code ArcGIS doesn't like. This error does not always translate to a Python syntax error, so compiling to find errors quickly does not work all the time. If a red X is present and my tool is not accessible, the Python Toolbox should be able to notify me where the error is all the time. Has anyone else found this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 20:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413106#M32502</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-05-08T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413107#M32503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No matter how great a debugger is, they can only be so good at finding what are called "logical" errors. Syntax errors are just that--perhaps a missing colon or indentation. Logical errors mean that the way you've tried to solve a problem is incorrect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For clarification, do these tools just stop working after some period of time even if you haven't ever edited them? Or are you changing them and then realizing they don't work? And one more point of clarification: are the errors you're being required to manually locate actually syntax errors? I don't think that part was quite clear to me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 22:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413107#M32503</guid>
      <dc:creator>JennB</dc:creator>
      <dc:date>2013-05-08T22:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413108#M32504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me clarify -- my .pyt calls other custom modules, and if there is a syntax error in one of these modules, a red X appears (rendering the toolbox unusable) and the message is "no syntax errors" even though there is one, though not in the .pyt. Shouldn't the debugger be able to point me to the file with the error? My particular syntax error arose because I am using GitHub and had a merge conflict, which wrote a bunch of lines like "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;HEAD" as guidance for manual edits. Since one of the custom module scripts had the error, compiling the .pyt worked fine, but as the module is imported, opening the toolbox in ArcGIS won't work. Could there be more direction to errors in imported modules? Otherwise, debugging becomes difficult.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 17:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413108#M32504</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-05-09T17:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413109#M32505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now having an identical error, yet no GitHub merge conflict text. Even turned on SublimeLinter in SublimeText2 to try and find errors, and came up with nothing. If these are not syntax errors, and are in fact logic errors, why does the .pyt shut down completely and not let me run through the logic of the tool and experience the error myself? Currently, the .pyt has a big red X and tells me "no syntax errors". Any help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 23:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413109#M32505</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-05-14T23:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413110#M32506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you post your code for the python toolbox?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now having an identical error, yet no GitHub merge conflict text. Even turned on SublimeLinter in SublimeText2 to try and find errors, and came up with nothing. If these are not syntax errors, and are in fact logic errors, why does the .pyt shut down completely and not let me run through the logic of the tool and experience the error myself? Currently, the .pyt has a big red X and tells me "no syntax errors". Any help?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 02:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413110#M32506</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2013-05-15T02:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413111#M32507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are over a thousand lines, plus 6 other .py files that get called with close to 500 lines each, so it's not feasible to publish the whole thing. Plus, it's proprietary =D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose I'd need someone at ESRI to take a look at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 16:35:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413111#M32507</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-05-15T16:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: python toolbox "no syntax errors" yet non-functional</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413112#M32508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I apologize, but it turns out this is a repeat of a previous issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/69714-Debug-Python-Toolbox"&gt;http://forums.arcgis.com/threads/69714-Debug-Python-Toolbox&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, a syntax error, this time in a dictionary comprehension, foiled my Python Toolbox. Since it was a syntax error in Python, I figured the debugger should be able to inform me of it. Why does it pick up some errors and ignore others?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 20:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-amp-quot-no-syntax-errors-amp-quot/m-p/413112#M32508</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-05-15T20:30:08Z</dc:date>
    </item>
  </channel>
</rss>

