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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error : Iconv::IllegalSequence  (Read 3150 times)
markysvn
Newbie
*
Posts: 1


View Profile
« on: November 03, 2009, 10:19:18 AM »

Hi,

Below is the error I get while running the below command, I am using ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-linux]. Could someone tell me what the issue is? This was working file till some time before and still it is working fine when I sync the other way ( from s3).

[root@ip ~]# ruby /home/scripts/s3sync.rb -r --ssl -v /home/wowza/content/ cdn.MYBUCKET.com:
/home/scripts/s3sync.rb:300:in `iconv': "\321\201\320\276\320\261\320\276\321\200.jpg" (Iconv::IllegalSequence)
   from /home/scripts/s3sync.rb:300:in `s3TreeRecurse'
   from /home/scripts/s3sync.rb:298:in `collect'
   from /home/scripts/s3sync.rb:298:in `s3TreeRecurse'
   from /home/scripts/s3sync.rb:333:in `s3TreeRecurse'
   from /home/scripts/s3sync.rb:314:in `each'
   from /home/scripts/s3sync.rb:314:in `s3TreeRecurse'
   from /home/scripts/s3sync.rb:346:in `main'
   from /home/scripts/thread_generator.rb:79:in `call'
   from /home/scripts/thread_generator.rb:79:in `initialize'
   from /home/scripts/thread_generator.rb:76:in `new'
   from /home/scripts/thread_generator.rb:76:in `initialize'
   from /home/scripts/s3sync.rb:267:in `new'
   from /home/scripts/s3sync.rb:267:in `main'
   from /home/scripts/s3sync.rb:735

Thanks and Regards
Marky
Logged
Admin
Administrator
Newbie
*****
Posts: 10


View Profile
« Reply #1 on: November 03, 2009, 10:32:47 AM »

iconv is the ruby library that converts character sets between utf8 and your local.  It apparently doesn't approve of that jpg's file name.  I'm by no means an expert in character encoding; in fact you might say it's my nemesis Smiley  But that's what the error means at least.
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!