takada-at / sg Goto Github PK
View Code? Open in Web Editor NEWaws security group management
aws security group management
Getting this error on ubuntu 14.04
sgsg.py commit security_groups/jk-test.csv
Traceback (most recent call last):
File "/home/nithya/tvfplay/venv/1/bin/sgsg.py", line 4, in
import('pkg_resources').run_script('sg==0.0.5', 'sgsg.py')
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/pkg_resources/init.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/pkg_resources/init.py", line 1510, in run_script
exec(script_code, namespace, namespace)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/sg-0.0.5-py2.7.egg/EGG-INFO/scripts/sgsg.py", line 14, in
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/sg-0.0.5-py2.7.egg/EGG-INFO/scripts/sgsg.py", line 10, in main
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/nithya/tvfplay/venv/1/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "build/bdist.linux-i686/egg/sg/commands.py", line 78, in commit
# otherwise, enclose in double quotes and prefix quotable characters
File "build/bdist.linux-i686/egg/sg/service.py", line 337, in commit_list
File "build/bdist.linux-i686/egg/sg/service.py", line 289, in file_setting
AttributeError: 'str' object has no attribute 'name'
Same error when using python2.7 and python 3
Please check this and fix.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.