Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
2016-08-03 11:01:37,161 - cct - DEBUG - processing change [{'changes': [{'base.Chmod': [{'path': '/opt/amq', 'mode': 493}, {'path': '/opt/amq/bin/activemq', 'mode': 493}]}, {'base.Chown': [{'owner': 'jboss', 'path': '/opt/amq', 'group': 'jboss', 'recursive': True}]}], 'description': 'say hello', 'name': 'base'}]
2016-08-03 11:01:37,162 - cct - INFO - executing change base
2016-08-03 11:01:37,162 - cct - DEBUG - path
2016-08-03 11:01:37,162 - cct - DEBUG - mode
Traceback (most recent call last):
File "/usr/bin/cct", line 9, in <module>
load_entry_point('cct==0.0.1.dev0', 'console_scripts', 'cct')()
File "/usr/lib/python2.7/site-packages/cct/cli/", line 117, in run
File "/usr/lib/python2.7/site-packages/cct/cli/", line 105, in run
File "/usr/lib/python2.7/site-packages/cct/cli/", line 71, in process_changes
File "/usr/lib/python2.7/site-packages/cct/cli/", line 61, in process_file
File "/usr/lib/python2.7/site-packages/cct/", line 24, in process
File "/usr/lib/python2.7/site-packages/cct/", line 66, in _process_change
operation = Operation(name, shlex.split(args))
File "/usr/lib64/python2.7/", line 279, in split
return list(lex)
File "/usr/lib64/python2.7/", line 269, in next
token = self.get_token()
File "/usr/lib64/python2.7/", line 96, in get_token
raw = self.read_token()
File "/usr/lib64/python2.7/", line 124, in read_token
nextchar =
AttributeError: 'int' object has no attribute 'read'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment