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)
what is this?
C:\Users\first.last\Floodplain@1
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.