<?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 Generate area offline automatic - Error: refresh_scheduled Monthly / refresh_rates nthday in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/generate-area-offline-automatic-error-refresh/m-p/1352936#M9323</link>
    <description>&lt;P&gt;When generating offline areas using Python 3.9 in Jupyter Notebook - ArcGIS Enterprise 11.1 through the offline_areas.create function and the parameters refresh_schedule = "Monthly" and refresh_rate = { "hour" : 23,&lt;BR /&gt;"minute" : 59,&amp;nbsp;"nthday" : 1,&amp;nbsp;"day_of_week" : 0 }, an error occurs in the code in the file&lt;/P&gt;&lt;P&gt;/opt/conda/lib/python3.9/site-packages/arcgis/mapping/_types.py, on line 3611, in the instruction:&lt;BR /&gt;if "nthday" in refresh_rates["nthda"]:, error TypeError: argument of type 'int' is not iterable.&lt;/P&gt;&lt;P&gt;Changing the instruction to:&lt;BR /&gt;if "nthday" in refresh_rates: and restarting the Python kernel, it works again and correctly generates the offline area with monthly updates.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 12:37:43 GMT</pubDate>
    <dc:creator>Fabio_Pires</dc:creator>
    <dc:date>2023-11-23T12:37:43Z</dc:date>
    <item>
      <title>Generate area offline automatic - Error: refresh_scheduled Monthly / refresh_rates nthday</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/generate-area-offline-automatic-error-refresh/m-p/1352936#M9323</link>
      <description>&lt;P&gt;When generating offline areas using Python 3.9 in Jupyter Notebook - ArcGIS Enterprise 11.1 through the offline_areas.create function and the parameters refresh_schedule = "Monthly" and refresh_rate = { "hour" : 23,&lt;BR /&gt;"minute" : 59,&amp;nbsp;"nthday" : 1,&amp;nbsp;"day_of_week" : 0 }, an error occurs in the code in the file&lt;/P&gt;&lt;P&gt;/opt/conda/lib/python3.9/site-packages/arcgis/mapping/_types.py, on line 3611, in the instruction:&lt;BR /&gt;if "nthday" in refresh_rates["nthda"]:, error TypeError: argument of type 'int' is not iterable.&lt;/P&gt;&lt;P&gt;Changing the instruction to:&lt;BR /&gt;if "nthday" in refresh_rates: and restarting the Python kernel, it works again and correctly generates the offline area with monthly updates.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 12:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/generate-area-offline-automatic-error-refresh/m-p/1352936#M9323</guid>
      <dc:creator>Fabio_Pires</dc:creator>
      <dc:date>2023-11-23T12:37:43Z</dc:date>
    </item>
  </channel>
</rss>

