<?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 ERROR 000800: The value is not a member of in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-000800-the-value-is-not-a-member-of/m-p/793136#M1654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We run the python script just exported from ModelBuilder (see below). It seems that level&amp;nbsp;&lt;SPAN&gt;"564.248588" is not in a default list of scales. In that case what we should to add to the script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Local variables:&lt;BR /&gt;&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt; = "D:\\gisdata\\imagery\\public_&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;\\&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;"&lt;BR /&gt;Some_Mosaic&amp;nbsp;= "D:\\gisdata\\imagery\\BestMosaic.gdb\\&lt;SPAN&gt;Some_Mosaic&lt;/SPAN&gt;"&lt;BR /&gt;# Set Geoprocessing environments&lt;BR /&gt;arcpy.env.parallelProcessingFactor = "95%"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Process: Manage Tile Cache&lt;/P&gt;&lt;P&gt;arcpy.ManageTileCache_management(&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;, "RECREATE_ALL_TILES", "", &lt;SPAN&gt;Some_Mosaic&lt;/SPAN&gt;, "ARCGISONLINE_SCHEME", "", "36111.909643;18055.954822;9027.977411;4513.988705;2256.994353;1128.497176;564.248588", "\\\\nas-bx-deliv2\\deliv2\\Imagery_Air\\HRM1031a.gdb\\Updated_2017_06\\AOI_2017_08_18", "", "591657527.591555", "564.248588")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "D:\testing\scripts\script1.py", line 25, in &amp;lt;module&amp;gt;&lt;BR /&gt; result = arcpy.ManageTileCache_management(Some_Imagery, "RECREATE_ALL_TILES", "", Some_Mosaic, "ARCGISONLINE_SCHEME", "", "36111.909643;18055.954822;9027.977411;4513.988705;2256.994353;1128.497176;564.248588", "\\\\nas-bx-deliv2\\deliv2\\Imagery_Air\\HRM1031a.gdb\\Updated_2017_06\\AOI_2017_08_18", "", "591657527.591555", "282.124294")&lt;BR /&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 17880, in ManageTileCache&lt;BR /&gt; raise e&lt;BR /&gt;ExecuteError: ERROR 000622: Failed to execute (ManageTileCache). Parameters are not valid.&lt;BR /&gt;ERROR 000800: The value is not a member of 591657527.591555 [156543.033928000] (0.00 MB) | 295828763.795777 [78271.516964000] (0.00 MB) | 147914381.897889 [39135.758482000] (0.00 MB) | 73957190.948944 [19567.879241000] (0.00 MB) | 36978595.474472 [9783.939620500] (0.00 MB) | 18489297.737236 [4891.969810250] (0.00 MB) | 9244648.868618 [2445.984905125] (0.00 MB) | 4622324.434309 [1222.992452562] (0.00 MB) | 2311162.217155 [611.496226281] (1.00 MB) | 1155581.108577 [305.748113141] (5.00 MB) | 577790.554289 [152.874056570] (21.00 MB) | 288895.277144 [76.437028285] (83.00 MB) | 144447.638572 [38.218514143] (329.00 MB) | 72223.819286 [19.109257071] (1.28 GB) | 36111.909643 [9.554628536] (5.09 GB) | 18055.954822 [4.777314268] (20.37 GB) | 9027.977411 [2.388657134] (81.48 GB) | 4513.988705 [1.194328567] (325.79 GB) | 2256.994353 [0.597164284] (1.27 TB) | 1128.497176 [0.298582142] (5.09 TB).&lt;BR /&gt;ERROR 000800: The value is not a member of 591657527.591555 | 295828763.795777 | 147914381.897889 | 73957190.948944 | 36978595.474472 | 18489297.737236 | 9244648.868618 | 4622324.434309 | 2311162.217155 | 1155581.108577 | 577790.554289 | 288895.277144 | 144447.638572 | 72223.819286 | 36111.909643 | 18055.954822 | 9027.977411 | 4513.988705 | 2256.994353 | 1128.497176.&lt;BR /&gt;Failed to execute (ManageTileCache).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 05:40:56 GMT</pubDate>
    <dc:creator>MarkMindlin</dc:creator>
    <dc:date>2017-09-15T05:40:56Z</dc:date>
    <item>
      <title>ERROR 000800: The value is not a member of</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-000800-the-value-is-not-a-member-of/m-p/793136#M1654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We run the python script just exported from ModelBuilder (see below). It seems that level&amp;nbsp;&lt;SPAN&gt;"564.248588" is not in a default list of scales. In that case what we should to add to the script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Local variables:&lt;BR /&gt;&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt; = "D:\\gisdata\\imagery\\public_&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;\\&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;"&lt;BR /&gt;Some_Mosaic&amp;nbsp;= "D:\\gisdata\\imagery\\BestMosaic.gdb\\&lt;SPAN&gt;Some_Mosaic&lt;/SPAN&gt;"&lt;BR /&gt;# Set Geoprocessing environments&lt;BR /&gt;arcpy.env.parallelProcessingFactor = "95%"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Process: Manage Tile Cache&lt;/P&gt;&lt;P&gt;arcpy.ManageTileCache_management(&lt;SPAN&gt;Some&lt;/SPAN&gt;&lt;SPAN&gt;_Imagery&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;, "RECREATE_ALL_TILES", "", &lt;SPAN&gt;Some_Mosaic&lt;/SPAN&gt;, "ARCGISONLINE_SCHEME", "", "36111.909643;18055.954822;9027.977411;4513.988705;2256.994353;1128.497176;564.248588", "\\\\nas-bx-deliv2\\deliv2\\Imagery_Air\\HRM1031a.gdb\\Updated_2017_06\\AOI_2017_08_18", "", "591657527.591555", "564.248588")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "D:\testing\scripts\script1.py", line 25, in &amp;lt;module&amp;gt;&lt;BR /&gt; result = arcpy.ManageTileCache_management(Some_Imagery, "RECREATE_ALL_TILES", "", Some_Mosaic, "ARCGISONLINE_SCHEME", "", "36111.909643;18055.954822;9027.977411;4513.988705;2256.994353;1128.497176;564.248588", "\\\\nas-bx-deliv2\\deliv2\\Imagery_Air\\HRM1031a.gdb\\Updated_2017_06\\AOI_2017_08_18", "", "591657527.591555", "282.124294")&lt;BR /&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 17880, in ManageTileCache&lt;BR /&gt; raise e&lt;BR /&gt;ExecuteError: ERROR 000622: Failed to execute (ManageTileCache). Parameters are not valid.&lt;BR /&gt;ERROR 000800: The value is not a member of 591657527.591555 [156543.033928000] (0.00 MB) | 295828763.795777 [78271.516964000] (0.00 MB) | 147914381.897889 [39135.758482000] (0.00 MB) | 73957190.948944 [19567.879241000] (0.00 MB) | 36978595.474472 [9783.939620500] (0.00 MB) | 18489297.737236 [4891.969810250] (0.00 MB) | 9244648.868618 [2445.984905125] (0.00 MB) | 4622324.434309 [1222.992452562] (0.00 MB) | 2311162.217155 [611.496226281] (1.00 MB) | 1155581.108577 [305.748113141] (5.00 MB) | 577790.554289 [152.874056570] (21.00 MB) | 288895.277144 [76.437028285] (83.00 MB) | 144447.638572 [38.218514143] (329.00 MB) | 72223.819286 [19.109257071] (1.28 GB) | 36111.909643 [9.554628536] (5.09 GB) | 18055.954822 [4.777314268] (20.37 GB) | 9027.977411 [2.388657134] (81.48 GB) | 4513.988705 [1.194328567] (325.79 GB) | 2256.994353 [0.597164284] (1.27 TB) | 1128.497176 [0.298582142] (5.09 TB).&lt;BR /&gt;ERROR 000800: The value is not a member of 591657527.591555 | 295828763.795777 | 147914381.897889 | 73957190.948944 | 36978595.474472 | 18489297.737236 | 9244648.868618 | 4622324.434309 | 2311162.217155 | 1155581.108577 | 577790.554289 | 288895.277144 | 144447.638572 | 72223.819286 | 36111.909643 | 18055.954822 | 9027.977411 | 4513.988705 | 2256.994353 | 1128.497176.&lt;BR /&gt;Failed to execute (ManageTileCache).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 05:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-000800-the-value-is-not-a-member-of/m-p/793136#M1654</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2017-09-15T05:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000800: The value is not a member of</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-000800-the-value-is-not-a-member-of/m-p/1256356#M8361</link>
      <description>&lt;P&gt;I just got the same or a very similar error to this from Manage Tile Cache in a Python Script tool that I'd written.&amp;nbsp; I worked out that I was seeing the error because, using sample code from the documentation, I had tried to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

folder = "C:/Workspace/CacheDatasets/Manage"
mode = "RECREATE_ALL_TILES"
cacheName = "Test"
dataSource = "C:/Workspace/Cache.gdb/md"
method = "IMPORT_SCHEME"
tilingScheme = "C:/Workspace/Schemes/Tilingscheme.xml"
scales = "16000;8000;4000;2000;1000"
areaofinterest = "#"
maxcellsize = "#"
mincachedscale = 8000
maxcachedscale = 2000

arcpy.ManageTileCache_management(
       folder, mode, cacheName, dataSource, method, tilingScheme,
       scales, areaofinterest, maxcellsize, mincachedscale, maxcachedscale)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I should have had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mincachedscale = "8000"
maxcachedscale = "2000"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't seem to have made the same mistake that I did but perhaps someone else may in the future.&amp;nbsp; I think the syntax I was using came from code grabbed from a successful manual run of the tool using Copy Python Code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 23:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-000800-the-value-is-not-a-member-of/m-p/1256356#M8361</guid>
      <dc:creator>GraemeBrowning_Aurizon</dc:creator>
      <dc:date>2023-02-08T23:40:55Z</dc:date>
    </item>
  </channel>
</rss>

