The input path contains spaces glitch in ModelBuilder

3274
21
03-05-2025 12:15 PM
Labels (1)
RyanWalter
Occasional Contributor

RyanWalter_0-1741205439532.png

Have run into an error I have never seen before nor have any clue how to resolve at this stage. ModelBuilder is telling me the input dataset I have has spaces in it. As you can see from the screenshot, no it does not.

I have tried to:

  1. Restart Arc
  2. Save the model as a new version
  3. Write the input file to a folder and geodatabase path with no spaces anywhere present
  4. Change the name of the input dataset on a re-export to a singular word
  5. Restart my computer
  6. Uninstall and reinstall ArcPro

 

All to no avail. Would love guidance, been doing this for 8 years and never seen something like this happen.

Tags (2)
21 Replies
JasperRomero
Occasional Contributor

@JoabelBarbieri does the solution suggested by myself and @JeremyJohnson4 work for you as well? Would be interesting to know if that is the fix, maybe that will allow someone at Esri to diagnose the issue and correct it.

0 Kudos
dribrats
Occasional Contributor

I am running into this issue as well, but it is occurring on custom scripts that I've written. These scripts have worked for years without issue and have started failing with this error in the last couple of months. At first I thought it was because they had some legacy ArcPy code in there that was no longer playing nicely with Pro, but after re-writing several of them using the latest API, I'm still running into the issue. For me, the common denominator seems to be Spatial Analyst tools. I have confirmed that the error does not occur consistently. I'll think that I've fixed it because the script will run successfully, only for the issue to crop up again on a subsequent run. I can also confirm that the input paths used NEVER contain any spaces. (such an antiquated requirement anyway). I'll let you know if I'm able to sleuth out a solution.