You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2021/03/23 20:58:51 UTC
[GitHub] [buildstream] abderrahim commented on issue #1469: BUG when running bst shell --build
abderrahim commented on issue #1469:
URL: https://github.com/apache/buildstream/issues/1469#issuecomment-805255464
I just got a very similar error doing `bst artifact checkout`
```
[21:55:11][ ][ main:core activity ] BUG 'NoneType' object has no attribute 'cached'
Traceback (most recent call last):
File "/home/abderrahim/.virtualenvs/bst-master/bin/bst", line 8, in <module>
sys.exit(cli())
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/buildstream/_frontend/cli.py", line 258, in override_main
original_main(self, args=args, prog_name=prog_name, complete_var=None, standalone_mode=standalone_mode, **extra)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/buildstream/_frontend/cli.py", line 1374, in artifact_checkout
app.stream.checkout(
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/buildstream/_stream.py", line 688, in checkout
uncached_elts = [elt for elt in elements if not elt._cached()]
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/buildstream/_stream.py", line 688, in <listcomp>
uncached_elts = [elt for elt in elements if not elt._cached()]
File "/home/abderrahim/.virtualenvs/bst-master/lib/python3.9/site-packages/buildstream/element.py", line 1187, in _cached
return self.__artifact.cached()
AttributeError: 'NoneType' object has no attribute 'cached'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org