Skip to content

Instantly share code, notes, and snippets.

@harlowja
Created August 25, 2016 20:13
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 harlowja/4ee5f7da70e422d918f3bfa8a5f2bf33 to your computer and use it in GitHub Desktop.
Save harlowja/4ee5f7da70e422d918f3bfa8a5f2bf33 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_seed_dir_broken_context (tests.unittests.test_datasource.test_opennebula.TestOpenNebulaDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jxharlow/Dev/cloud-init/tests/unittests/test_datasource/test_opennebula.py", line 147, in test_seed_dir_broken_context
self.seed_dir)
File "/Users/jxharlow/Dev/cloud-init/.tmp/lib/python2.6/site-packages/unittest2/case.py", line 748, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/Users/jxharlow/Dev/cloud-init/.tmp/lib/python2.6/site-packages/unittest2/case.py", line 194, in handle
callable_obj(*args, **kwargs)
File "/Users/jxharlow/Dev/cloud-init/cloudinit/sources/DataSourceOpenNebula.py", line 356, in read_context_disk_dir
context = parse_shell_config(content, asuser=asuser)
File "/Users/jxharlow/Dev/cloud-init/cloudinit/sources/DataSourceOpenNebula.py", line 298, in parse_shell_config
(output, _error) = util.subp(cmd, data=bcmd)
File "/Users/jxharlow/Dev/cloud-init/cloudinit/util.py", line 1819, in subp
out = ldecode(out)
File "/Users/jxharlow/Dev/cloud-init/cloudinit/util.py", line 1817, in ldecode
return data.decode(m, errors=decode)
TypeError: decode() takes no keyword arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment