<?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: Year zero problem when applying asset package in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463468#M20416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a timestamp in the UN that is causing the issue. This error occurs when reading the UN (though that doesn't explain why you don't get the error when not loading data).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 19:45:26 GMT</pubDate>
    <dc:creator>PaulLeBlanc1</dc:creator>
    <dc:date>2018-10-03T19:45:26Z</dc:date>
    <item>
      <title>Year zero problem when applying asset package</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463467#M20415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Pro 2.2.2 and trying to run the GP tool 'apply asset package' and&amp;nbsp;load data.&amp;nbsp; I get the following error that 'year 0 is out of range'.&amp;nbsp; Is there any way to find out what date is causing this problem?&amp;nbsp; I looked at the data in the asset package and all the dates I find are from Sep 2018.&amp;nbsp; If I run 'apply asset package' and do not load the data, then the GP successfully completes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 2.25pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: gray;"&gt;Start Time: Friday, September 28, 2018 8:17:57 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #4a4a4a;"&gt;Running script AssetPackageToUtilityNetwork...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #4a4a4a;"&gt;ArcGIS Pro 2.2.2.12813&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #4a4a4a;"&gt;untools 2.2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 1.5pt 0in 1.5pt 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #e54724;"&gt;A python error occurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 1.5pt 0in 1.5pt 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #e54724;"&gt;EXCEPTIONTraceback (most recent call last):&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\common\wrappers.py", line 84, in wrapper&amp;nbsp;&amp;nbsp;&amp;nbsp; return func(*args, **kwargs)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\gptools\tools.py", line 258, in run&amp;nbsp;&amp;nbsp;&amp;nbsp; un = UtilityNetworkTools(utility_network)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\utils\utility_network.py", line 31, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.refresh()&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\utils\utility_network.py", line 87, in refresh&amp;nbsp;&amp;nbsp;&amp;nbsp; self.cache['describe'] = un_helper.Helper(self._un)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\un_helper.py", line 1232, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; super().__init__(utility_network)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 845, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.domainNetworks = [DomainNetworks(x) for x in d.domainNetworks or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 845, in &amp;lt;listcomp&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.domainNetworks = [DomainNetworks(x) for x in d.domainNetworks or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 524, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.tiers = [Tiers(x) for x in d.tiers or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 524, in &amp;lt;listcomp&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.tiers = [Tiers(x) for x in d.tiers or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 450, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.aggregatedLinesForSubnetLine = [AssetGroups(x) for x in d.aggregatedLinesForSubnetLine or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 450, in &amp;lt;listcomp&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.aggregatedLinesForSubnetLine = [AssetGroups(x) for x in d.aggregatedLinesForSubnetLine or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 305, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.assetTypes = [AssetTypes(x, source) for x in d.assetTypes or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 305, in &amp;lt;listcomp&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.assetTypes = [AssetTypes(x, source) for x in d.assetTypes or []]&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 260, in __init__&amp;nbsp;&amp;nbsp;&amp;nbsp; self.creationTime = convert_time(getattr(d, 'creationTime', None))&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\untools\abstract\describe.py", line 51, in convert_time&amp;nbsp;&amp;nbsp;&amp;nbsp; return dateutil.parser.parse(stamp)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\dateutil\parser\_parser.py", line 1356, in parse&amp;nbsp;&amp;nbsp;&amp;nbsp; return DEFAULTPARSER.parse(timestr, **kwargs)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\dateutil\parser\_parser.py", line 653, in parse&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = self._build_naive(res, default)&amp;nbsp; File "C:\Users\pe_gis\AppData\Local\ESRI\conda\envs\UN-environment\lib\site-packages\dateutil\parser\_parser.py", line 1227, in _build_naive&amp;nbsp;&amp;nbsp;&amp;nbsp; naive = default.replace(**repl)ValueError: year 0 is out of range&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 1.5pt 0in 1.5pt 7.5pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #e54724;"&gt;Failed to execute (AssetPackageToUtilityNetwork).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.25pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: gray;"&gt;Failed at Friday, September 28, 2018 8:18:04 AM (Elapsed Time: 7.45 seconds)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 14:35:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463467#M20415</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2018-10-02T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Year zero problem when applying asset package</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463468#M20416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a timestamp in the UN that is causing the issue. This error occurs when reading the UN (though that doesn't explain why you don't get the error when not loading data).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 19:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463468#M20416</guid>
      <dc:creator>PaulLeBlanc1</dc:creator>
      <dc:date>2018-10-03T19:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Year zero problem when applying asset package</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463469#M20417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I submitted a case to esri about this and found that the connection I was using when running the 'Apply Asset Package' GP tool needed to have its geodatabase connection properties set to use 'Traditional' versioning.&amp;nbsp; I had it set to use 'Branch' versioning.&amp;nbsp; I ended up deleting the Utility Network dataset and running 'Stage Utility Network' GP tool again.&amp;nbsp; Then I ran '&lt;SPAN&gt;Apply Asset Package'&amp;nbsp;and loaded the data successfully.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 17:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-zero-problem-when-applying-asset-package/m-p/463469#M20417</guid>
      <dc:creator>TheodoreRakel</dc:creator>
      <dc:date>2018-10-04T17:14:02Z</dc:date>
    </item>
  </channel>
</rss>

