<?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: Convert Schema Report not working after modifying the SpatialReference Schema Report tab in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1562108#M90501</link>
    <description>&lt;P&gt;I'm getting the same error following the same documented workflow in ArcPro 3.3.2 but just changing the order of the fields in the schema report.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 04:28:24 GMT</pubDate>
    <dc:creator>SummerBailey-Kerber</dc:creator>
    <dc:date>2024-11-25T04:28:24Z</dc:date>
    <item>
      <title>Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1485588#M84209</link>
      <description>&lt;P&gt;I attempted to utilize this&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/announcements/whats-new-in-arcgis-pro-3-3/?utm_medium=email&amp;amp;_hsenc=p2ANqtz-9LsMNUnlHUccJCFaKLiPRthL-kmHFt91-xOXmEPHs-58ijz0UI9JYNDBwTnjYVUBnE0dlYXzXOkziuWAwK7wWGF6YIJg&amp;amp;_hsmi=310280715&amp;amp;utm_content=310284761&amp;amp;utm_source=hs_email#unique-identifier5:~:text=and%20sharing%20attachments.-,Create%20New%20Geodatabase%20From%20Schema%20Report,take%20those%20schema%20changes%20and%20incorporate%20them%20into%20a%20new%20geodatabase.,-Combine%20Multiple%20Visualization" target="_self"&gt;&amp;nbsp;workflow&lt;/A&gt;&amp;nbsp;advertised with the ArcGIS Pro 3.3 release and recieved an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used Generate Schema Report to produce a .xlsx file. I edited the SpatialReference tab to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_bCapell_0-1717612456053.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106286i1F0BE541EC140705/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_bCapell_0-1717612456053.png" alt="gis_bCapell_0-1717612456053.png" /&gt;&lt;/span&gt;&amp;nbsp;using the name and code from the ArcGIS Pro map coordinate system setting options, and the wkt from this&amp;nbsp;&lt;A href="https://epsg.io/102022.wkt" target="_blank" rel="noopener"&gt;https://epsg.io/102022.wkt&lt;/A&gt;. Then I attempted to run Convert Schema Report and received the error below. &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/746669"&gt;@ShareUser&lt;/a&gt;&amp;nbsp;Where can I access standard spatial reference content to use when modifying the schema report so I use the correct formatting?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Traceback (most recent call last):
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ConvertSchemaReport.tool\tool.script.execute.py", line 4, in &amp;lt;module&amp;gt;
    result = gdbschema.convert_report(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 168, in convert_report
    _convert(report, **files)
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 103, in _convert
    converter = ConvertPayload(input_file)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 9, in __init__
    self.payload = self._convert_file(input_file)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 19, in _convert_file
    return ConvertDataElement(file).to_json()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\to_json\workspace.py", line 210, in __init__
    self.spatial_references: dict[int, dict] = dict(self._extract_spatial_references())
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\to_json\workspace.py", line 228, in _extract_spatial_references
    extent = arcpy.Extent(spatial_reference=arcpy.SpatialReference(text=row[SpatialReference.WKT])).JSON
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\arcobjects\mixins.py", line 276, in __init__
    self._arc_object.loadFromString(text)
ValueError: SpatialReference: Spatial reference string is invalid.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed script Convert Schema Report...&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (ConvertSchemaReport).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 18:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1485588#M84209</guid>
      <dc:creator>BenCapell_NWTF10</dc:creator>
      <dc:date>2024-06-05T18:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1511592#M86116</link>
      <description>&lt;P&gt;I am experiencing a similar issue after modifying the Schema Report&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Traceback (most recent call last):
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ConvertSchemaReport.tool\tool.script.execute.py", line 4, in &amp;lt;module&amp;gt;
    result = gdbschema.convert_report(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 168, in convert_report
    _convert(report, **files)
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 103, in _convert
    converter = ConvertPayload(input_file)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 9, in __init__
    self.payload = self._convert_file(input_file)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\__init__.py", line 19, in _convert_file
    return ConvertDataElement(file).to_json()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\to_json\workspace.py", line 600, in to_json
    **self.convert_workspace_properties(),
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\to_json\workspace.py", line 270, in convert_workspace_properties
    return Workspace.to_json(props.data(True))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\gdbschema\conversion\__init__.py", line 129, in to_json
    result["catalogPath"] = pathlib.Path(result["catalogPath"]).joinpath(result["name"]).as_posix()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\pathlib.py", line 871, in __new__
    self = cls._from_parts(args)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\pathlib.py", line 509, in _from_parts
    drv, root, parts = self._parse_args(args)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\pathlib.py", line 493, in _parse_args
    a = os.fspath(a)
        ^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType

Failed script Convert Schema Report...
Failed to execute (ConvertSchemaReport).&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 29 Jul 2024 14:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1511592#M86116</guid>
      <dc:creator>GISAdminApplications</dc:creator>
      <dc:date>2024-07-29T14:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1539835#M88370</link>
      <description>&lt;P&gt;I am experiencing this problem too. Esri, please advise.&lt;/P&gt;&lt;P&gt;In my case I am trying to edit the spatial reference from XY only to XYZ. I copied the contents of Spatial Reference sheet from another excel.&lt;/P&gt;&lt;P&gt;Is XY to XYZ not allowed?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 05:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1539835#M88370</guid>
      <dc:creator>Y_Chau</dc:creator>
      <dc:date>2024-09-18T05:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1562108#M90501</link>
      <description>&lt;P&gt;I'm getting the same error following the same documented workflow in ArcPro 3.3.2 but just changing the order of the fields in the schema report.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 04:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1562108#M90501</guid>
      <dc:creator>SummerBailey-Kerber</dc:creator>
      <dc:date>2024-11-25T04:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1575330#M91922</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I had the same error issue until I read the part below in&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/converting-and-editing-schema-reports/" target="_blank" rel="noopener"&gt;Editing Schema Reports for XML Conversion&lt;/A&gt;&lt;/SPAN&gt; &amp;nbsp; &lt;SPAN&gt;2.&amp;nbsp;&lt;SPAN class=""&gt;XML conversion&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;supports reports&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;at the geodatabase level only&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro 3.3, only reports generated at the geodatabase level produce a valid XML workspace document. Schema reports created from individual feature classes, tables, or feature datasets lack geodatabase level information required for a complete XML workspace document. In the coming release of ArcGIS Pro 3.4, Convert Schema Report has been enhanced to support converting reports produced from individual feature classes, tables, and feature datasets.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 15:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1575330#M91922</guid>
      <dc:creator>LauraleeGann25</dc:creator>
      <dc:date>2025-01-14T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Schema Report not working after modifying the SpatialReference Schema Report tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1604264#M94788</link>
      <description>&lt;P&gt;THANK YOU!! If I could give you more than one kudo I would.&lt;/P&gt;&lt;P&gt;This was driving me crazy trying to figure out why it was failing to convert my edited JSON schema report back to XML so I could import it, but I had exported the original JSON from my feature class instead of the GDB level.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 17:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/convert-schema-report-not-working-after-modifying/m-p/1604264#M94788</guid>
      <dc:creator>KevinN_CSJ</dc:creator>
      <dc:date>2025-04-09T17:08:42Z</dc:date>
    </item>
  </channel>
</rss>

