<?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: arcpy.mapping.ExportToPDF frustrating me to no end! in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31909#M2528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have had the same error with the exportToJpeg tool when I was trying to assign an invalid filename ( 100-B/C.jpg ).&amp;nbsp; It didn't like the slash in the filename and give me the NoneType error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't appear as if this is the case here......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 16:15:43 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2013-07-30T16:15:43Z</dc:date>
    <item>
      <title>arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31899#M2518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this long-running, works like clockwork py script, which I decided to snip a few lines from to do one-off map exports to PDF:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;for pgNumLeft in range(1, tempDDPLeft.pageCount + 1, 2):
&amp;nbsp; temp_filename = r"X:\GIS_Projects\1205_Map_Book\MB_" + \
&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;&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; str(pgNumLeft) + ".pdf"
&amp;nbsp; if os.path.exists(temp_filename):
&amp;nbsp;&amp;nbsp;&amp;nbsp; os.remove(temp_filename)
&amp;nbsp; tempDDPLeft.exportToPDF(temp_filename, "RANGE", pgNumLeft, "PDF_SINGLE_FILE", "720","BEST","CMYK","NONE","NONE","VECTORIZE_BITMAP", "FALSE","TRUE", "LAYERS_ONLY", "FALSE")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I try, as per the example at &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/ExportToPDF/00s300000027000000/&lt;/A&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
mxd = arcpy.mapping.MapDocument(r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.mxd")
arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf")
del mxd&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Traceback (most recent call last):
&amp;nbsp; File "C:/Temp/TopoMaps.py", line 3, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf")
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_
&amp;nbsp;&amp;nbsp;&amp;nbsp; return fn(*args, **kw)
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1139, in ExportToPDF
&amp;nbsp;&amp;nbsp;&amp;nbsp; layout.exportToPDF(*args)
AttributeError: 'NoneType' object has no attribute 'exportToPDF'&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf", "PAGE_LAYOUT")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...same error. However, the same line interestingly works in the ArcMap Python Window (I'm trying this in the Python GUI).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I try &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf", "PAGE_LAYOUT", 720, "BEST", "CMYK", "FALSE", "NONE", "VECTORIZE_BITMAP", "FALSE" , "TRUE", "NONE", "FALSE") &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which returns &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Traceback (most recent call last):
&amp;nbsp; File "C:/Temp/TopoMaps.py", line 3, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf", "PAGE_LAYOUT", 720, "BEST", "CMYK", "FALSE", "NONE", "VECTORIZE_BITMAP", "FALSE" , "TRUE", "NONE", "FALSE")
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\utils.py", line 153, in fn_
&amp;nbsp;&amp;nbsp;&amp;nbsp; arg_name].keys())))
ValueError: Invalid value for image_quality: 'FALSE' (choices are: ['BETTER', 'FASTEST', 'FASTER', 'BEST', 'NORMAL'])
&amp;gt;&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...and many, many, many permutations of variables in many, many, many permutations of where they should go, all with a varation of &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Invalid value for&amp;nbsp; ...&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is frustrating is that I followed the ESRI example for data-driven page export to PDF, and the syntax in the online-documentation worked, however, the example for exporttopdf is misleading.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map has 2 DF's, 10.1 SP1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:16:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31899#M2518</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2021-12-10T21:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31900#M2519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you should post your entire code if possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems your incorrectly declaring variables and parameters based on your errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e your range is wrong having 3 values in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;## for pgNumLeft in range(1, tempDDPLeft.pageCount + 1, 2):&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 02:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31900#M2519</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2013-05-01T02:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31901#M2520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Running this entire code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
mxd = arcpy.mapping.MapDocument(r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.mxd")
arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf")
del mxd&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returns this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Traceback (most recent call last):
&amp;nbsp; File "C:/Temp/TopoMaps.py", line 3, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf")
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_
&amp;nbsp;&amp;nbsp;&amp;nbsp; return fn(*args, **kw)
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1139, in ExportToPDF
&amp;nbsp;&amp;nbsp;&amp;nbsp; layout.exportToPDF(*args)
AttributeError: 'NoneType' object has no attribute 'exportToPDF'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31901#M2520</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2021-12-10T21:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31902#M2521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you were only using these codes here, there shouldn't be any issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
mxd = arcpy.mapping.MapDocument(r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.mxd")
arcpy.mapping.ExportToPDF(mxd, r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf")
del mxd&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31902#M2521</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2021-12-10T21:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31903#M2522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;HR /&gt;[/HR]I am ONLY using the code posted previously, with no other code, and it returns the error message. Perhaps this warrents a call to ESRI tech support?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 23:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31903#M2522</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2013-05-02T23:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31904#M2523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would try this for starters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

mapDoc = r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.mxd"
pdf = r"X:\GIS_Final\data\basedata\basemap\Maps\ArcGIS\Blockhouse\Blockhouse.pdf"

mxd = arcpy.mapping.MapDocument(mapDoc)
arcpy.mapping.ExportToPDF(mxd, pdf)
del mxd
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know I've just given variable names... After this go into the map document properties and copy the file location and paste into the mapDoc variable. I had the 'NoneType' error the other day and spent half an hour staring at it wondering what was wrong and then realised I'd missed a folder in the path.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31904#M2523</guid>
      <dc:creator>SamCoggins1</dc:creator>
      <dc:date>2021-12-10T21:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31905#M2524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has there been a resolution to this issue.&amp;nbsp; I am getting the same error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style: italic; font-family: Times New Roman;"&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return fn(*args, **kw)&lt;BR /&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1139, in ExportToPDF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout.exportToPDF(*args)&lt;BR /&gt;AttributeError: 'NoneType' object has no attribute 'exportToPDF'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31905#M2524</guid>
      <dc:creator>KevinGray</dc:creator>
      <dc:date>2013-07-25T17:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31906#M2525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure, never got an update after the last suggestion.&amp;nbsp; Can you export from the UI via File Export (to PDF)?&amp;nbsp; If it works from the UI and your code is as simple as the example post above, and it still doesn't work, I would suggest contacting Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 13:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31906#M2525</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2013-07-26T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31907#M2526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I can export from the UI.&amp;nbsp; Tech support seems to the next step.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 14:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31907#M2526</guid>
      <dc:creator>KevinGray</dc:creator>
      <dc:date>2013-07-30T14:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31908#M2527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;...in your case, looks like the case is wrong in the method, should be 'ExportToPDF' not what was quoted in the error, 'exportToPDF'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hmmm, I question why there is 'NoneType object' quoted in there too...make sure your mxd obj is set to something too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31908#M2527</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2013-07-30T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31909#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have had the same error with the exportToJpeg tool when I was trying to assign an invalid filename ( 100-B/C.jpg ).&amp;nbsp; It didn't like the slash in the filename and give me the NoneType error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't appear as if this is the case here......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 16:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31909#M2528</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-30T16:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mapping.ExportToPDF frustrating me to no end!</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31910#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to revive this old dead thread, but I was recently having this problem. Turns out it was caused by mxd's saved in different ArcGIS desktop&amp;nbsp;versions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully upgraded from ArcMap 10.3 to 10.5. I saved my MXD from 10.3 using 10.5 (thereby making it an 10.5 mxd). Ran my python script: NO PROBLEMS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Other issues came up with 3rd party extensions, so I reverted back to 10.3. Now when attempting to run my python script I get the same error as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found old versions of the same MXD and attempted to run my python script: NO PROBLEMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reloaded ArcMap 10.5, saved each document as a 10.3 mxd again, reran my python script: NO PROBLEMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely an mxd versioning problem with arcpy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 21:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-mapping-exporttopdf-frustrating-me-to-no-end/m-p/31910#M2529</guid>
      <dc:creator>AaronCraig2</dc:creator>
      <dc:date>2017-05-08T21:21:54Z</dc:date>
    </item>
  </channel>
</rss>

