"invalid byte sequence in UTF-8" coverting from .afr to .html
Created by: haliphax
I ran a full scan of our site into an AFR report, and now I'm trying to convert that AFR report into an HTML file. It's worked every time in the past, but now, I'm getting this error:
[*] Creating HTML report...
[-] invalid byte sequence in UTF-8
/usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:148:in is_complex_yaml?': invalid byte sequence in UTF-8 (ArgumentError) from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:170:in
to_yaml'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:43:in node_export' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:43:in
add'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:43:in block (3 levels) in to_yaml' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:42:in
each'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:42:in block (2 levels) in to_yaml' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:41:in
map'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:41:in block in to_yaml' from /usr/local/lib/ruby/1.9.1/syck.rb:401:in
call'
from /usr/local/lib/ruby/1.9.1/syck.rb:401:in emit' from /usr/local/lib/ruby/1.9.1/syck.rb:401:in
quick_emit'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:40:in to_yaml' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:114:in
node_export'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:114:in add' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:114:in
block (3 levels) in to_yaml'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:113:in each' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:113:in
block (2 levels) in to_yaml'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:112:in seq' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:112:in
block in to_yaml'
from /usr/local/lib/ruby/1.9.1/syck.rb:401:in call' from /usr/local/lib/ruby/1.9.1/syck.rb:401:in
emit'
from /usr/local/lib/ruby/1.9.1/syck.rb:401:in quick_emit' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:111:in
to_yaml'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:18:in node_export' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:18:in
add'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:18:in block (3 levels) in to_yaml' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:17:in
each'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:17:in block (2 levels) in to_yaml' from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:16:in
map'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:16:in block in to_yaml' from /usr/local/lib/ruby/1.9.1/syck.rb:401:in
call'
from /usr/local/lib/ruby/1.9.1/syck.rb:401:in emit' from /usr/local/lib/ruby/1.9.1/syck.rb:401:in
quick_emit'
from /usr/local/lib/ruby/1.9.1/syck/rubytypes.rb:15:in to_yaml' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/reports/html.rb:253:in
block in __prepare_data'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/reports/html.rb:250:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/reports/html.rb:250:in
each_with_index'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/reports/html.rb:250:in __prepare_data' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/reports/html.rb:161:in
run'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/report/manager.rb:62:in run_one' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/report/manager.rb:51:in
block in run'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/report/manager.rb:49:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/report/manager.rb:49:in
run'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/ui/cli/cli.rb:363:in block (2 levels) in parse_opts' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/module/utilities.rb:155:in
call'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/module/utilities.rb:155:in exception_jail' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/ui/cli/cli.rb:363:in
block in parse_opts'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/ui/cli/cli.rb:298:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/ui/cli/cli.rb:298:in
parse_opts'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/lib/arachni/ui/cli/cli.rb:82:in initialize' from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/bin/arachni:18:in
new'
from /usr/local/lib/ruby/gems/1.9.1/gems/arachni-0.4/bin/arachni:18:in <top (required)>' from /usr/local/bin/arachni:19:in
load'
from /usr/local/bin/arachni:19:in `'