<?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: ESRI Debugger for Python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324037#M25227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/2691"&gt;Rebecca Strauch, GISP&lt;/A&gt; says, have you consulted the help page for the tool giving the error? At the bottom, there are examples, including the third one that shows how to construct valid "out_event_properties" for input point features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14460621549876625 jive_text_macro" data-renderedposition="71_8_912_16" jivemacro_uid="_14460621549876625"&gt;&lt;P&gt;&lt;SPAN class="n" style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;props&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="o" style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="s" style="color: #a31515; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;"rkey POINT mp"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="c" style="color: green; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;# Example of valid out_event_properties parameter&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 19:57:38 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2015-10-28T19:57:38Z</dc:date>
    <item>
      <title>ESRI Debugger for Python script</title>
      <link>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324035#M25225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are folks using when they want to debug a script you run in ArcMap?&amp;nbsp; I'm running a script and it is giving me the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 57, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "E:\MDTAPPS\Desktop10.2\arcpy\arcpy\lr.py", line 396, in LocateFeaturesAlongRoutes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000709: The type of out_event_properties does not match the type of in_features.&amp;nbsp; "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked syntax for the locate feature along route and not sure about the out_event_properties.&amp;nbsp; my in_features are points and the output_event_properties is a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324035#M25225</guid>
      <dc:creator>TerryGustafson</dc:creator>
      <dc:date>2015-10-28T19:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Debugger for Python script</title>
      <link>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324036#M25226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good place to start is with the error message itself.&amp;nbsp; Looking up the help on&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/linear-ref-toolbox/locate-features-along-routes.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/linear-ref-toolbox/locate-features-along-routes.htm"&gt;Locate Features Along Routes—Linear Referencing toolbox | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;will show you that a table is not the correct "out_event_properties" for the command.&amp;nbsp; I would start there.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; you may have your arguments out of order??&amp;nbsp; it would help to see your code and/or the command input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for other debugging...use lots of arcpy.AddMessage and or print to see what all your variables are as you go along.&amp;nbsp; Figure out what line is causing the erorr, and figure out why....like the help above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps with this question.&amp;nbsp; If it was a rhetorical ....I can add more opinions.&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324036#M25226</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-10-28T19:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Debugger for Python script</title>
      <link>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324037#M25227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/2691"&gt;Rebecca Strauch, GISP&lt;/A&gt; says, have you consulted the help page for the tool giving the error? At the bottom, there are examples, including the third one that shows how to construct valid "out_event_properties" for input point features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14460621549876625 jive_text_macro" data-renderedposition="71_8_912_16" jivemacro_uid="_14460621549876625"&gt;&lt;P&gt;&lt;SPAN class="n" style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;props&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="o" style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="s" style="color: #a31515; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;"rkey POINT mp"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="c" style="color: green; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px;"&gt;# Example of valid out_event_properties parameter&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324037#M25227</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-10-28T19:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI Debugger for Python script</title>
      <link>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324038#M25228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you running python using arcmap's ide or something else external, like pythonwin, pyscripter etc etc?&amp;nbsp; If internal...&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/executing-tools/using-the-results-window.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/executing-tools/using-the-results-window.htm"&gt;Using the Results window—Help | ArcGIS for Desktop&lt;/A&gt; or if you have errors with arctoolbox tools as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 20:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/esri-debugger-for-python-script/m-p/324038#M25228</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-28T20:06:45Z</dc:date>
    </item>
  </channel>
</rss>

