Esri / Esri/Utility-Data-Management-Support-Tools
Create Association Lines RuntimeError: cannot open '...StructureJunction'
- Dominant language
- No language data
- Stars
- 50
- Forks
- 9
- Avg merge
- 55m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
See Additional Context below. Bottom line, no matter the Association Types checked, GDB location (OneDrive or C:\TEMP), script fails when looking for Structure Junction.
RuntimeError: cannot open 'C:\Users\asdf123\AppData\Local\Temp\ArcGISProTemp12345\1XX1X1X11111111111XX111XX11X11X.sde\X.UtilityNetwork\StructureJunction' Failed script (null)...
**To Reproduce**
Steps to reproduce the behavior:
1. download UDMS 2.9.4
2. open Create Association Lines
3. Set Parameters as shown:
Input Network Gas Utility Network
Association Types JUNCTION_JUNCTION;CONTAINMENT;STRUCTURAL_ATTACHMENT
Output Lines C:\...OneDrive...\Association Lines.gdb\GasUtilityNetwork_CreateAssociationLines1
Extent DEFAULT
Completely Within BOTH_WITHIN
**Expected behavior**
Association line geometry to be created in new Feature Class in specified GDB
**Desktop (please complete the following information):**
- OS: Windows 11
- ArcGIS Pro 2.9.10 or 2.9.12
**Additional context**
Traceback (most recent call last):
File "", line 26, in
File "C:\Users\...\UtilityDataManagementSupport.atbx\udms\esri.py", line 277, in wrapper
File "C:\Users\...\UtilityDataManagementSupport.atbx\udms\logic\__init__.py", line 388, in association_lines
File "C:\Users\...\UtilityDataManagementSupport.atbx\udms\logic\associations.py", line 329, in main
File "C:\Users\...\UtilityDataManagementSupport.atbx\udms\logic\associations.py", line 286, in join_associations_features
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\pandas\core\frame.py", line 563, in __init__
data = list(data)
File "C:\Users\...\UtilityDataManagementSupport.atbx\udms\logic\associations.py", line 181, in extract_features
RuntimeError: cannot open 'C:\Users\asdf123\AppData\Local\Temp\ArcGISProTemp12345\1XX1X1X11111111111XX111XX11X11X.sde\X.UtilityNetwork\StructureJunction'
Contributor guide
Assessment
This issue has not been assessed yet.