Olivier B. added more debug info to tell you which function is raising the

"missing storage error"
上级 9f85a888
......@@ -370,9 +370,9 @@ class Method(Component):
return memo[r]
except KeyError:
if require:
raise AllocationError('There is no storage associated to %s used by %s.'
raise AllocationError('There is no storage associated to %s used by %s = %s.'
' Verify that it is indeed a Member of the'
' enclosing module or of one of its submodules.' % (r, self))
' enclosing module or of one of its submodules.' % (r, self.name, self))
else:
return io.In(result = r, value = gof.Container(r, storage = [None]), mutable = False)
# Wrap the inputs in In instances. TODO: allow the inputs to _be_ In instances
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论