Select to view content in your preferred language

.lyrx and .lyr error

90
2
a week ago
Labels (2)
smschaepe
Emerging Contributor

I've recently switched from ArcGIS Pro v. 3.2 to 3.3 and am now getting the same error message with scripts containing text ".lyrx". Has anyone that has switched to 3.3 experienced this issue and know if it's been addressed?

I wrote a script with one line of code: print(".lyrx") and created a new tool in a toolbox with no input parameters to call the script. It errored out with the same message.

ERROR 001681: Found REMOVED Layer File .lyrx within script tool LayerTest_NFACTtest(C:\Users\first.last\Floodplain@1)

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

what is this?

C:\Users\first.last\Floodplain@1


... sort of retired...
0 Kudos
smschaepe
Emerging Contributor

The file location where the script is saved. The error message adds the @1 to the end to signal the line of code that it has issue with.

0 Kudos