Select to view content in your preferred language

Modelbuilder ERROR 000272: Cannot open the input dataset, run again and works

892
4
02-05-2024 06:07 AM
Iron_Mark
Regular Contributor

Hi, I have a model in modelbuilder that works, but when I run it for the first time it gives me the following error:

ERROR 000272: Cannot open the input dataset

 I then delete the created fields and re-run the model again and it works.

Do you know why?

I am using Arcgis version 3.1.0.

Thank you

0 Kudos
4 Replies
RhettZufelt
MVP Notable Contributor

Many times, this is because you are piping the output from one tool into the input of another tool.

If it is creating/modifying a temp dataset, then the first tool would need to be run successfully before the"dataset" exists for input into the second tool.

R_

Iron_Mark
Regular Contributor

Hi Rhett,

Thanks for your answer. I tried to modify the model in various part of it but I had no luck in solving the issue.

Do you have any suggestion?

0 Kudos
PalakPandey
Emerging Contributor

Hi,

Were you able to fix this issue? I am getting the same and it appears i have to configure the tool each time i run.

0 Kudos
Iron_Mark
Regular Contributor

I have temporarely switched to the Arcgis pro notebook connecting with gis = GIS('home') . This enables you to connect to the portal if you are logged in.

It is not what I wanted (I wanted to use python outside Arcgis for this task) but couldn't figure out the issue

0 Kudos