On 4/5/2014 11:00 AM, Matt Domsch wrote: > Can you describe where you got your copy of s3cmd ? If from Suse 11.2 > repo, it is likely too old to have that command. > > Upstream github.com/s3tools/s3cmd master branch does appear to have > the restore command.
I pulled 1.5.0-beta1 as a .tgz from here: http://sourceforge.net/projects/s3tools/files/s3cmd/ Looking at the logs on the git hub it appears that the feature was added after that version was pushed out, despite the indication on this page: http://s3tools.org/usage I tried pulling the zip of the git master branch (I don't have git installed on this old machine, and that seemed like the easier path) I tried to install from that and it failed miserably... I didn't note all the errors. I tried to put my old version back (so that the existing backups would not fail) and now things are messed up in a very odd way. (To be clear I uninstalled and reinstalled the old version rpms on the Suse repo and things are still strange.) Was working on debugging when I got your note, so perhaps you can help. Trying to run s3cmd now gives errors: > will@mail2:~/Download> s3cmd > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > An unexpected error has occurred. > Please try reproducing the error using > the latest s3cmd code from the git master > branch found at: > https://github.com/s3tools/s3cmd > If the error persists, please report the > following lines (removing any private > info as necessary) to: > s3tools-b...@lists.sourceforge.net > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > Invoked as: /usr/local/bin/s3cmdProblem: ImportError: No module named FileDict > S3cmd: 1.0.0 > > Traceback (most recent call last): > File "/usr/local/bin/s3cmd", line 2266, in <module> > from S3.FileDict import FileDict > ImportError: No module named FileDict > > Your sys.path contains these entries: > /usr/local/bin > /usr/lib/python26.zip > /usr/lib/python2.6 > /usr/lib/python2.6/plat-linux2 > /usr/lib/python2.6/lib-tk > /usr/lib/python2.6/lib-old > /usr/lib/python2.6/lib-dynload > /usr/lib/python2.6/site-packages > /usr/local/lib/python2.6/site-packages > /usr/lib/python2.6/site-packages/gtk-2.0 > Now the question is where have the s3cmd modules been installed? > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > An unexpected error has occurred. > Please try reproducing the error using > the latest s3cmd code from the git master > branch found at: > https://github.com/s3tools/s3cmd > If the error persists, please report the > above lines (removing any private > info as necessary) to: > s3tools-b...@lists.sourceforge.net > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The s3 library seems to be there: > will@mail2:~/Download> ls /usr/local/lib/python2.6/site-packages/S3/ > AccessLog.py BidirMap.py Config.py Exceptions.py FileLists.py > __init__.py PkgInfo.py S3.py SimpleDB.py Utils.py > AccessLog.pyc BidirMap.pyc Config.pyc Exceptions.pyc FileLists.pyc > __init__.pyc PkgInfo.pyc S3.pyc SimpleDB.pyc Utils.pyc > ACL.py CloudFront.py ConnMan.py FileDict.py HashCache.py > MultiPart.py Progress.py S3Uri.py SortedDict.py > ACL.pyc CloudFront.pyc ConnMan.pyc FileDict.pyc HashCache.pyc > MultiPart.pyc Progress.pyc S3Uri.pyc SortedDict.pyc Any suggestions? -- Will McCown, Rolling Hills Estates, CA w...@ross-mccown.com ------------------------------------------------------------------------------ _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general