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
When I deface my template with no UTF-8 characters in it, everything is working well. (for the purpose of this bug report the deface is just removing the h2 element)
When I deface the second template (which contains some UTF-8) the operation fails with Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8
$ rake deface:get_result\['multipass/admin/admin/index'\] --trace
** Invoke deface:get_result (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute deface:get_result
---------------- Before ----------------
rake aborted!
Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/haml-4.0.6/lib/haml/compiler.rb:42:in `encode'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/haml-4.0.6/lib/haml/compiler.rb:42:in `precompiled'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/haml-4.0.6/lib/haml/compiler.rb:47:in `precompiled_with_return_value'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/haml-4.0.6/lib/haml/engine.rb:129:in `render'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/deface-1.0.1/lib/deface/haml_converter.rb:102:in `result'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/deface-1.0.1/lib/deface/template_helper.rb:24:in `load_template_source'
/home/emak/.rvm/gems/ruby-2.2.2@famille/gems/deface-1.0.1/tasks/utils.rake:37:in `block (2 levels) in <top (required)>'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:240:in `call'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:235:in `each'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:106:in `each'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/home/emak/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/application.rb:75:in `run'
/home/emak/.rvm/rubies/ruby-2.2.2/bin/rake:33:in `<main>'
Tasks: TOP => deface:get_result
The text was updated successfully, but these errors were encountered:
When I deface my template with no UTF-8 characters in it, everything is working well. (for the purpose of this bug report the deface is just removing the h2 element)
I change my template from
to
When I deface the second template (which contains some UTF-8) the operation fails with
Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8
The text was updated successfully, but these errors were encountered: