Hello Everyone.
I have issue when running Chart Automation tool in Maritime ArcGIS Pro 3.4. Like this:
Traceback (most recent call last):
File "C:\Users\Public\Documents\ArcGIS Maritime\Product Files\3.4\Charting\Tools\ChartAutomation.py", line 30, in tool_execute
ca = ChartAutomation(layout, map_frame_name, target_ws.value, aoi, chart_scale, proj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Public\Documents\ArcGIS Maritime\Product Files\3.4\Charting\Tools\ChartAutomationFunctions.py", line 48, in __init__
self.updateMembers(layout, map_frame_name)
File "C:\Users\Public\Documents\ArcGIS Maritime\Product Files\3.4\Charting\Tools\ChartAutomationFunctions.py", line 84, in updateMembers
if not self.map_frame:
^^^^^^^^^^^^^^
AttributeError: 'ChartAutomation' object has no attribute 'map_frame'
I think I am wrong in setting Map Frame. Please kindly guide me about issue
Thank you,
Solved! Go to Solution.
There appears to be some odd cache/refresh issue that I was able to reproduce with your map package. We'll need to look further into the issue, but I believe you can work around it.
The failure is coming from attempting to open the GRD_GRD_Grids feature class which is generated as part of the MakeGridsAndGraticulesLayer GP tool. After the failure, I refresh the GRD_Grids feature dataset in the target geodatabase and opened the properties on the GRD_GRD_Grids feature class. After this refresh, I ran CAT again and it succeeded.
Hi Tobias-Venable, thank you so much for your guide.
I try to run MakeGridsandGraticules first, then run the remaining processes, and do not select GPU. So I can create successfull Chart Automation workflow.
Thank you and Best regards,