<?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: When i am running below code- getting error - TypeError: tuple indices must be integers, not str in Management</title>
    <link>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578317#M2349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More details would be helpful (which SOAP library?).&amp;nbsp; If you can provide a small sample application project which demonstrates the problem, we may be able to get it working,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 21:56:55 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2017-07-18T21:56:55Z</dc:date>
    <item>
      <title>When i am running below code- getting error - TypeError: tuple indices must be integers, not str</title>
      <link>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578314#M2346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I am getting below error when i am running given code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;result = client.service.listPhone({'name':'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SEPEXXXXD958F06&lt;/SPAN&gt;'},{'name':'','model':''})&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;print(result)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;for node in result['return']['phone']:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(node['name']), str(node['model'])&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;(200, (reply){&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; return =&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (return){&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; phone[] =&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (LPhone){&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _uuid = "{51D5AC0A-E3F9-C05B-B446-4F1ACD6D0472}"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name = "SEPEXXXXD958F06"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model = "Cisco 7945"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp; File "C:\Python27\Scripts\Listphone1.py", line 58, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for node in result['return']['phone']:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;TypeError: tuple indices must be integers, not str&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Any help will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 06:18:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578314#M2346</guid>
      <dc:creator>shree bhagwan parashar</dc:creator>
      <dc:date>2016-08-04T06:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: When i am running below code- getting error - TypeError: tuple indices must be integers, not str</title>
      <link>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578315#M2347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also having similar issue. Can you let me know, how you fixed the issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 02:57:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578315#M2347</guid>
      <dc:creator>prasanth.ccvp</dc:creator>
      <dc:date>2017-06-14T02:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: When i am running below code- getting error - TypeError: tuple indices must be integers, not str</title>
      <link>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578316#M2348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is actually a Python/Soap Library issue.&amp;nbsp; I suggest you find out who supports your SOAP library for Python and get support there.&amp;nbsp; They'll probably need to see the AXL WSDL to debug it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:32:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578316#M2348</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2017-06-26T18:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: When i am running below code- getting error - TypeError: tuple indices must be integers, not str</title>
      <link>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578317#M2349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More details would be helpful (which SOAP library?).&amp;nbsp; If you can provide a small sample application project which demonstrates the problem, we may be able to get it working,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 21:56:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/when-i-am-running-below-code-getting-error-typeerror-tuple/m-p/3578317#M2349</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2017-07-18T21:56:55Z</dc:date>
    </item>
  </channel>
</rss>

