Cannot Install Aminator

102 views
Skip to first unread message

Raynard Lawson

unread,
May 7, 2014, 9:05:00 AM5/7/14
to amin...@googlegroups.com
I used to be able to install Aminator on the standard Amazon Linux OS without any issues. For some reason, the installation now appears to be successful but I get an error when I try to run aminate. Can you see where I am going wrong?:

1) yum install git  (git-1.8.3.1-2.37.amzn1.x86_64)
2) yum install python-pip (python-pip-1.3.1-4.7.amzn1.noarch)
3) mkdir /git
4) cd /git
6) cd aminator
7) python setup.py install


[root@ip-10-204-129-231 aminator]# aminate -h
/usr/lib/python2.6/site-packages/aminator/config.py:41: UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
  from pkg_resources import resource_string, resource_exists
Traceback (most recent call last):
  File "/usr/bin/aminate", line 10, in <module>
    sys.exit(run())
  File "/usr/lib/python2.6/site-packages/aminator/cli.py", line 56, in run
    os.environ["AMINATOR_ENVIRONMENT"] = args.env
  File "/usr/lib64/python2.6/os.py", line 471, in __setitem__
    putenv(key, item)
TypeError: putenv() argument 2 must be string, not None



[root@ip-10-204-129-231 aminator]# python --version
Python 2.6.9


Can anybody see what that error is indicating? 

Regards,
aminatelogs.txt

Sascha Möllering

unread,
May 15, 2014, 9:30:43 AM5/15/14
to amin...@googlegroups.com
Hi,

did you solve this issue, I'm struggling there as well.

Regards,
Sascha

Graham Lyons

unread,
Jun 9, 2014, 8:17:27 AM6/9/14
to amin...@googlegroups.com
It should've been fixed in this commit. Try installing again and it should work with the latest code. 
Reply all
Reply to author
Forward
0 new messages