Skip to content

Instantly share code, notes, and snippets.

@terabyte
Created April 25, 2018 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terabyte/e4dabf9ef1745a450fa72ed37ec867d2 to your computer and use it in GitHub Desktop.
Save terabyte/e4dabf9ef1745a450fa72ed37ec867d2 to your computer and use it in GitHub Desktop.
ERROR:buildinfo.build:Failed to create: 'list' object has no attribute 'items'
Traceback (most recent call last):
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/buildinfo/build.py", line 419, in __init__
for component, m3 in m2.items():
AttributeError: 'list' object has no attribute 'items'
Traceback (most recent call last):
File "/home/cmyers/ves/builddb/bin/buildinfo", line 11, in <module>
load_entry_point('buildinfo==0.1', 'console_scripts', 'buildinfo')()
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/buildinfo/__init__.py", line 327, in main
root(obj={})
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/buildinfo/__init__.py", line 244, in addtag
desc = BuildDescriptor(resource)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/buildinfo/build.py", line 370, in __call__
obj = super(MetaBuildDescriptor, self).__call__(*args, **kwargs)
File "/home/cmyers/ves/builddb/local/lib/python2.7/site-packages/buildinfo/build.py", line 450, in __init__
raise Error("Failed to create BuildDescriptor: %s %s", url, e)
cutils.error.Error: Failed to create BuildDescriptor: URL:gbn://339434/URL:gbn://339434 'list' object has no attribute 'items'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment