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.
Could you try activating the map initially and then launching the tool? Based on the missing drop down button next to your Map Frame parameter, activating the map may resolve your issue.
Could you try activating the map initially and then launching the tool? Based on the missing drop down button next to your Map Frame parameter, activating the map may resolve your issue.
Hi, Tobias-Venable. Thank you so much for you response. It's reality helpful for me. I passed this step, however I have another problem again. Please kindly help me.
I have new error, though I already no stick on MakeGridsAndGraticulesLayer, like this:
Start Time: Saturday, December 14, 2024 9:25:28 AM
Failed to execute. Parameters are not valid.
Grid type: INT2_E
Description: INT2 E grid for South Western hemisphere
Rotation Type: Fixed
Scale Type: Use Environment
These units are treated as page units in this tool.
ERROR 001079: The primary coordinate system must be a projected coordinate system.
Failed to execute (MakeGridsAndGraticulesLayer).
Failed at Saturday, December 14, 2024 9:25:29 AM (Elapsed Time: 1.25 seconds)
Please guide me.
Thank you,
Please find this picture
Unfortunately when we attempted to reproduce your issue using the same settings, it executed successfully for us. Would you be able to bundle up your project and share it to see if we could reproduce your error using that?
I don't think I have the same project setup you were using in the picture of the failure as the attached project has a different map name. I also noticed in this project there were existing generated grid features, suggesting this project has the result of a successful run of MakeGridsAndGraticulesLayer.
I still attempted to reproduce your error using the project you provided, but it ran successfully:
Hi Tobias-Venable, I still can not run successfully like below error's picture.
Please rerun with that data for select all of chart finishing process. Thank you.
Could you try adding GRD_GRD_GRIDS to the map and try again?
I still have error, event I add GRID_Girds.