wooden-dusk-90720
01/30/2024, 7:29 PM_foreach_stack thing? i'm getting an error about *** AttributeError: Flow StandardModelBuilder has no attribute '_foreach_stack' and am confused how that is even possible?user
01/30/2024, 8:27 PMwooden-dusk-90720
01/31/2024, 3:06 AMProject: model_builder, Branch: user.SFN
Internal error
Traceback (most recent call last):
File "/home/hadoop/metaflow/metaflow/cli.py", line 1176, in main
start(auto_envvar_prefix="METAFLOW", obj=state)
File "/home/hadoop/metaflow/metaflow/tracing/__init__.py", line 27, in wrapper_func
return func(args, kwargs)
File "/home/hadoop/metaflow/metaflow/_vendor/click/core.py", line 829, in __call__
return self.main(args, kwargs)
File "/home/hadoop/metaflow/metaflow/_vendor/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/hadoop/metaflow/metaflow/_vendor/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/hadoop/metaflow/metaflow/_vendor/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/home/hadoop/metaflow/metaflow/_vendor/click/core.py", line 610, in invoke
return callback(args, kwargs)
File "/home/hadoop/metaflow/metaflow/_vendor/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, args, kwargs)
File "/home/hadoop/metaflow/metaflow/cli.py", line 258, in dump
datastore_set = TaskDataStoreSet(
File "/home/hadoop/metaflow/metaflow/datastore/datastore_set.py", line 47, in __init__
self.pathspec_index_cache[ds.pathspec_index] = ds
File "/home/hadoop/metaflow/metaflow/datastore/task_datastore.py", line 205, in pathspec_index
idxstr = ",".join(map(str, (f.index for f in self["_foreach_stack"])))
File "/home/hadoop/metaflow/metaflow/datastore/task_datastore.py", line 45, in method
return f(self, args, kwargs)
File "/home/hadoop/metaflow/metaflow/datastore/task_datastore.py", line 836, in __getitem__
_, obj = next(self.load_artifacts([name]))
File "/home/hadoop/metaflow/metaflow/datastore/task_datastore.py", line 359, in load_artifacts
to_load[self._objects[name]].append(name)
KeyError: '_foreach_stack'dry-beach-38304
01/31/2024, 8:25 AMdry-beach-38304
01/31/2024, 8:26 AM_foreach_stack variable should still be around.wooden-dusk-90720
01/31/2024, 6:17 PMdry-beach-38304
01/31/2024, 7:37 PMdry-beach-38304
01/31/2024, 7:37 PMwooden-dusk-90720
01/31/2024, 7:43 PM2.11.0 (for both working and non-working). The non-working stuff is happening after making the metadata authentication changes (which doesnt seem to be related according to your comment)dry-beach-38304
01/31/2024, 7:47 PMwooden-dusk-90720
01/31/2024, 7:48 PMwooden-dusk-90720
01/31/2024, 7:50 PM