Select to view content in your preferred language

Map missing from Catalog, but present in APRX

353
0
02-24-2023 11:59 AM
ZacharyUhlmann1
Occasional Contributor III

Dusted off a project from a few months ago. Pretty minimal interaction - fixed some broken paths in preparation to share as Project Package (ppkx).  Hit Analyze and Errors emerge -  "00001 Map does not have layers".   The errors are not really the issue.

analyze_error.jpg

 

 

 

 

 

 

 

 

 

 

 The errors referred to maps that are NOT present in the Catalog.  I cannot find them, delete them, open them via the catalog.

I can click "Select Map in The Contents Pane" and the map opens up.

I strongly suspect it's because upon opening the project today, I had to agree to format it for Pro 3.0.2 (my current version). This project was created and save in Ver. 2.  I've never seen this before.  Seems to be a bug? 

BTW, the maps are in the project:

aprx = arcpy.mp.ArcGISProject("CURRENT")
m = [m.name for m in aprx.listMaps()]
m
# Prints 5 map names, including the two from the error message 
# and the three in the catalog

 

Help please? 

Zach 

 

Tags (2)
0 Kudos
0 Replies