Hello,
I enountered an argumenterror on SequenceServer, the version that we are using is 1.0.14.
I was blasting a protein sequence against a protein database (which was succesfuly created with sequenceserver -m
)
The error shows up when I want to download a fasta file of one of the blast results.
Here is full error message:
ArgumentError - invalid byte sequence in UTF-8:
/var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:197:insplit' /var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:197:in
block in run’
/var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:196:ineach_line' /var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:196:in
each’
/var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:196:inmap' /var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:196:in
run’
/var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/sequence.rb:172:ininitialize' /var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/routes.rb:152:in
new’
/var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver/routes.rb:152:inblock in <class:Routes>' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in
call’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:inblock in compile!' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in
block (3 levels) in route!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:inroute_eval' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in
block (2 levels) in route!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:inblock in process_route' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in
catch’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:inprocess_route' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in
block in route!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:ineach' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in
route!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:inblock in dispatch!' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in
block in invoke’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:incatch' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in
invoke’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:indispatch!' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in
block in call!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:inblock in invoke' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in
catch’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:ininvoke' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in
call!’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:incall' /var/lib/gems/2.7.0/gems/rack-1.6.13/lib/rack/head.rb:13:in
call’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:incall' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in
call’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:inblock in call' /var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in
synchronize’
/var/lib/gems/2.7.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:incall' /var/lib/gems/2.7.0/gems/sequenceserver-1.0.14/lib/sequenceserver.rb:96:in
call’
/var/lib/gems/2.7.0/gems/rack-1.6.13/lib/rack/handler/webrick.rb:88:inservice' /usr/lib/ruby/2.7.0/webrick/httpserver.rb:140:in
service’
/usr/lib/ruby/2.7.0/webrick/httpserver.rb:96:inrun' /usr/lib/ruby/2.7.0/webrick/server.rb:307:in
block in start_thread’
Any help is appreciated.
Best regards
Tereza