S3Sync.net
February 02, 2014, 01:38:17 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: Cannot get s3sync to invoke on: October 24, 2009, 08:14:04 PM
Note: if I completely delete my config file, I then get a more normal result:

Quote
$ ./s3sync/s3sync.rb ./s3sync
You didn't set up your environment variables; see README.txt
s3sync.rb [options] <source> <destination>      version 1.2.6
  --help    -h          --verbose     -v     --dryrun    -n   
  --ssl     -s          --recursive   -r     --delete
...

2  General Category / Questions / Re: Cannot get s3sync to invoke on: October 24, 2009, 07:59:14 PM
I have the same error, running on Ubuntu.

I took the example config file, put in the appropriate keys and CERT directory, placed it in my home dir in ~/s3conf/s3config.yml, and ran this as a test (let's back up the s3sync dir):

./s3sync/s3sync.rb ./s3sync

I got the following:

Quote
/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 3, col -1: `' (ArgumentError)
   from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
   from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
   from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
   from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
   from /home/blueplate/s3sync/s3config.rb:19
   from /home/blueplate/s3sync/s3config.rb:17:in `each'
   from /home/blueplate/s3sync/s3config.rb:17
   from ./s3sync/s3sync.rb:28:in `require'
   from ./s3sync/s3sync.rb:28

I can't tell from the error what's going on. Is it not seeing my conf file? Is the file corrupt? Pointers appreciated.


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