S3Sync.net
February 02, 2014, 01:19:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: s3sync in Windows XP Pro doesn't seem to work  (Read 6122 times)
lejarrag
Newbie
*
Posts: 16


View Profile
« on: May 18, 2010, 02:52:26 PM »

I installed the latest versions of Ruby and of s3sync, set the environment variables, etc.  I am using Ruby 1.9.1 installed with rubyinstaller-1.9.1-p378-rc2.  When I try to run the simplest command I can think about, namely,

        > s3cmd.rb listbuckets

I get that the constant "SimpleDelegator" in HTTPStreaming.rb is uninitialized, more precisely,

        C:/s3sync/HTTPStreaming.rb:53:in '<module:S3sync>': uninitialized constant S3sync::SimpleDelegator <NameError>

I can't copy and paste the output with this machine (or redirect it to a file), but essentially what is happening is that line 13 in s3cmd.rb calls s3try.rb, and line 23 in this script calls HTTPStreaming.rb, and there the process gets stuck.   

This problem has nothing to do with listbuckets: if I just enter

        > s3cmd.rb

I get the same result. 

Out of curiosity, I tried

         > s3sync.rb

and I got that, in line, 23 a file md5 is required that is nowhere to be found.  I think that in the past I used to get some help with the syntax when I entered this command.

I would appreciate some clarification on these questions.  I didn't have any problem when I was running s3sync on Linux.                           
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: May 19, 2010, 03:56:41 PM »

I'm not sure if anyone got it working with the 1.9 ruby branch.  One of these days I'm going to get around to a rewrite that won't require ruby.
Logged
lejarrag
Newbie
*
Posts: 16


View Profile
« Reply #2 on: May 19, 2010, 08:51:28 PM »

Thanks for your answer.  I'll try the "venerable" version of s3sync with an older version of Ruby.  It used to work fine in Linux in the old days. 
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #3 on: May 20, 2010, 07:33:48 AM »

Newest s3sync works with ruby 1.8.x.
Logged
lejarrag
Newbie
*
Posts: 16


View Profile
« Reply #4 on: May 20, 2010, 04:21:44 PM »

I tried Ruby 1.8.6 from ruby-installer-1.8.6-p398-rc2 and both the "venerable" and the last version of s3sync and it doesn't work. For instance with

> ruby s3cmd.rb listbuckets

I get

S3 command failed
list_all_my_buckets
With result 400 Bad Request

If I try to do a simple operation with s3sync.rb itself, I not only get the 400 Bad Request, but complains about the code having undefined methods or whatever.

I wonder if anyone is having s3sync working on Windows XP and, in that case, what particular installer of Ruby they are using. I think I used to have it working with Windows XP a couple of years ago, but unfortunately I decided not to keep the code and binaries--since everything is evolving for the better and those are freely available online, Hah, Hah.
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #5 on: May 20, 2010, 09:37:51 PM »

I have ruby 1.8.6, and use it on Windows 7.
Logged
lejarrag
Newbie
*
Posts: 16


View Profile
« Reply #6 on: May 20, 2010, 10:30:32 PM »

Well, maybe I am doing something wrong or Ruby on Windows is not very reliable. Thank you anyway.
Logged
lejarrag
Newbie
*
Posts: 16


View Profile
« Reply #7 on: May 29, 2010, 04:51:48 PM »

It seems to work fine in Windows with Ruby 1.8.6.  I had made a mistake when entering my keys.  I don't think it works so well with Ruby 1.9.1, but Ruby 1.8.6 is still readily available.  Thank you again for your help and for this great software.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!