On one of the cloud instances, I was trying to upload a large file to a S3 bucket and I had to install s3cmd utility. Going with the approach of getting the latest and greatest did not serve well. I downloaded the 1.5.0 rc1 version from the link - s3cmd and unzipped it into a folder. Subsequently, I ran the install command from the installation director
$ sudo python setup.py install
the above seemed to work fine. However, when I tried to run "s3cmd --configure", I got the below error:-
***********
$ sudo python setup.py install
the above seemed to work fine. However, when I tried to run "s3cmd --configure", I got the below error:-
***********
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!
An unexpected error has occurred.
Please try reproducing the error using
the latest s3cmd code from the git master
branch found at:
If the error persists, please report the
following lines (removing any private
info as necessary) to:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 2527, in <module>
report_exception(e)
File "/usr/bin/s3cmd", line 2465, in report_exception
s = u' '.join([unicodise(a) for a in sys.argv])
NameError: global name 'unicodise' is not defined
***********
On their github, it appears that other have run into the issue without a proper resolution. So later had to go back to the option of installing through package manager on RHEL instance to make it work.
$cd /etc/yum.repos.d/
$wget http://s3tools.org/repo/RHEL_6/s3tools.repo
$sudo yum install s3cmd
$s3cmd --configure
No comments:
Post a Comment