You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using capistrano to run rsync to sync files from a remote server to my local disk. As soon as the rsync reaches a filename with an international character (in this case the Swedish letter ö) it outputs this error:
#<Thread:0x00007fce54a0aa58@/Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/sshkit-1.18.2/lib/sshkit/backends/local.rb:45 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
13: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/sshkit-1.18.2/lib/sshkit/backends/local.rb:48:in `block (2 levels) in execute_command'
12: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/delegating_formatter.rb:25:in `block (2 levels) in <class:DelegatingFormatter>'
11: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/delegating_formatter.rb:25:in `map'
10: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/delegating_formatter.rb:25:in `block (3 levels) in <class:DelegatingFormatter>'
9: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/delegating_formatter.rb:25:in `public_send'
8: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console_formatter.rb:41:in `log_command_data'
7: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console_formatter.rb:41:in `each_line'
6: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console_formatter.rb:42:in `block in log_command_data'
5: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console_formatter.rb:130:in `print_indented_line'
4: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console_formatter.rb:125:in `print_line'
3: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console.rb:27:in `print_line'
2: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console.rb:46:in `truncate_to_console_width'
1: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console.rb:56:in `strip_ascii_color'
/Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/airbrussh-1.3.1/lib/airbrussh/console.rb:56:in `gsub': invalid byte sequence in UTF-8 (ArgumentError)
#<Thread:0x00007fce54a0a8c8@/Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/sshkit-1.18.2/lib/sshkit/backends/local.rb:51 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
1: from /Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/sshkit-1.18.2/lib/sshkit/backends/local.rb:52:in `block (2 levels) in execute_command'
/Users/foo/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/sshkit-1.18.2/lib/sshkit/backends/local.rb:52:in `gets': stream closed in another thread (IOError)
The exact filename that it barfs on is Hövding-65x42.png.
After outputting the error it appears that rsync keeps running in the background but the output stays frozen with the error.
The text was updated successfully, but these errors were encountered:
I'm using
capistrano
to runrsync
to sync files from a remote server to my local disk. As soon as the rsync reaches a filename with an international character (in this case the Swedish letterö
) it outputs this error:The exact filename that it barfs on is
Hövding-65x42.png
.After outputting the error it appears that
rsync
keeps running in the background but the output stays frozen with the error.The text was updated successfully, but these errors were encountered: