Can anyone help me to fix this problem?

Sequenceserver use to work very well for us and we have a lot of our reference sequence database blasted through it. However, after I updated it to the current version, it stopped working and I got the error message like below. Can anyone hive me a hint on how to fix it? Thanks!

TypeError - can’t convert Hash into String:
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/formatter.rb:44:in system' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/formatter.rb:44:in run’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/formatter.rb:20:in initialize' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/report.rb:36:in run’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/report.rb:36:in generate' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast/report.rb:21:in initialize’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast.rb:96:in new' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/blast.rb:96:in run’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/routes.rb:125:in POST /' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1602:in call’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1602:in compile!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in []’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in route_eval’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in process_route’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in process_route’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in each’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in route!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in dispatch!’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in catch’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in invoke' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in dispatch!’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in invoke’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in catch' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in invoke’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in call!' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in call’
/usr/lib/ruby/gems/1.8/gems/rack-1.6.0/lib/rack/head.rb:13:in call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in call’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in call' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in call’
/usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in synchronize' /usr/lib/ruby/gems/1.8/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in call’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver.rb:90:in call' /usr/lib/ruby/gems/1.8/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89:in service’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in start’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in start’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:in start’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:in start’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/server.rb:26:in start' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver/server.rb:9:in run’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/lib/sequenceserver.rb:55:in run' /usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/bin/sequenceserver:417 /usr/lib/ruby/gems/1.8/gems/slop-3.6.0/lib/slop.rb:260:in call’
/usr/lib/ruby/gems/1.8/gems/slop-3.6.0/lib/slop.rb:260:in parse!' /usr/lib/ruby/gems/1.8/gems/slop-3.6.0/lib/slop.rb:65:in parse!’
/usr/lib/ruby/gems/1.8/gems/sequenceserver-1.0.4/bin/sequenceserver:24
/usr/bin/sequenceserver:19:in `load’
/usr/bin/sequenceserver:19

Guangtu

Hey Guangtu,

We will release a fix for this soon. In the mean time, installing Ruby 1.9.2 should help.

– Priyam