<?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 TypeError in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-typeerror/m-p/436145#M34264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before line 123 ish&lt;/P&gt;&lt;P&gt;renameFile(currentAttachmentPath, newAttachmentPath)&lt;/P&gt;&lt;P&gt;throw in a print function to get the above input parameters to check them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever you are passing in to the paths seems to be a list.&amp;nbsp; This might mean there is only one object in the list and you want the first object, but what it is looking for is basically a text string which denotes the full pathname, and it is getting a list instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 21:59:42 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-01-08T21:59:42Z</dc:date>
    <item>
      <title>Python TypeError</title>
      <link>https://community.esri.com/t5/python-questions/python-typeerror/m-p/436144#M34263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to run this script to export attachments to a folder and get the following error. Script is attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432774_pastedImage_1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-typeerror/m-p/436144#M34263</guid>
      <dc:creator>MarcoPretorius1</dc:creator>
      <dc:date>2019-01-08T21:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python TypeError</title>
      <link>https://community.esri.com/t5/python-questions/python-typeerror/m-p/436145#M34264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before line 123 ish&lt;/P&gt;&lt;P&gt;renameFile(currentAttachmentPath, newAttachmentPath)&lt;/P&gt;&lt;P&gt;throw in a print function to get the above input parameters to check them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever you are passing in to the paths seems to be a list.&amp;nbsp; This might mean there is only one object in the list and you want the first object, but what it is looking for is basically a text string which denotes the full pathname, and it is getting a list instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-typeerror/m-p/436145#M34264</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-08T21:59:42Z</dc:date>
    </item>
  </channel>
</rss>

