February 02, 2014, 01:23:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: Strange ruby error (not starting) on: April 29, 2010, 06:55:03 PM
OK, I got past the uninitialized constant issue.
I had to modify HTTPStreaming.rb and add:
require 'delegate'
before the reference to SimpleDelegator.
Perhaps the distributed source could be patched so that others don't run into this?

However, that did not solve my problems. I still get 403 permission denied errors whenever I try and use s3cmd.rb.
The problem is not with my access key and secret key--those are there and correct.
The problem is also not with the time on this machine....I wrote a little test script using the right_aws gem and it works fine using the same access key and secret key. The problem appears to be with s3cmd.rb.

Here is some sample output:
% s3cmd.rb list datadir
S3 command failed:
list_bucket [{"prefix"=>"", "max-keys"=>100}, {}]
With result 403 Forbidden
/local/s3sync/s3cmd.rb:142:in `s3cmdMain': undefined method `is_truncated' for nil:NilClass (NoMethodError)
        from /local/s3sync/s3cmd.rb:245:in `<main>'

I'm not clear if the error listed is the cause or the effect of the 403 error.

Other commands (put, listbuckets) give me a 403 error without any runtime errors. For example:

% s3cmd.rb listbuckets
S3 command failed:
list_all_my_buckets []
With result 403 Forbidden

Could there be some other issue with s3cmd.rb not working with the latest version of ruby?

I tried using the older version (pre-EU bucket support) and had the same issue.

Can anyone help?
2  General Category / Questions / Re: Strange ruby error (not starting) on: April 29, 2010, 05:03:18 PM
I am getting the same error ("uninitialized constant S3Sync::SimpleDelegator") with
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]
and as far as I can tell that is the latest version of ruby, and I have the latest version of s3cmd.rb, downloaded today.

Can it really be that this issue has not been addressed since the original post over a year ago? Is nobody using s3cmd.rb with the latest version of ruby?

I hope someone can help with this!


Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!