Closed wolfgangrumpf closed 2 months ago
Hmm - was this with gem install?
Yes, the standard (non-Docker) install.
@wolfgangrumpf if you know how to do that, could you please try checking out the branch #756 and letting me know if it works?
While I'm unable to replicate this locally, I think I know what the issue is and we should be able to release a new gem version with the fix tomorrow.
Sorry, I'm going to reopen this since I'm not sure if this is separate: the install moves forward now and sequenceserver launches (browser window opens), but there is no database selection option. Error from the command line says:
wolfgang@Genomancer:~$ sequenceserver /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/sequence.rb:235: warning: character class has '-' without escape: /\A[a-zA-Z0-9-_.:*#|[]]+\z/ [2024-07-02 15:26:34] INFO Reading configuration file: /home/wolfgang/.sequenceserver.conf. ** SequenceServer is ready. Go to http://localhost:4567 in your browser and start BLASTing! To share your setup, try one of the following addresses. These may only work within your home, office, or university network.
' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:9:in `block in to_h' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:8:in `map' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:8:in `to_h' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/routes.rb:99:in `block in <class:Routes>' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1804:in `call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1804:in `block in compile!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in `block (3 levels) in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1089:in `route_eval' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in `block (2 levels) in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1120:in `block in process_route' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in `catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in `process_route' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1069:in `block in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in `each' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in `route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1190:in `block in dispatch!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `invoke' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1185:in `dispatch!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in `block in call!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `invoke' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in `call!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:990:in `call' /var/lib/gems/3.2.0/gems/rack-3.1.5/lib/rack/deflater.rb:47:in `call' /var/lib/gems/3.2.0/gems/rack_csrf-2.7.0/lib/rack/csrf.rb:52:in `call' /var/lib/gems/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context' /var/lib/gems/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call' /var/lib/gems/3.2.0/gems/rack-3.1.5/lib/rack/head.rb:15:in `call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:224:in `call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:2115:in `call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in `block in call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1890:in `synchronize' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in `call' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver.rb:117:in `call' /var/lib/gems/3.2.0/gems/rackup-2.1.0/lib/rackup/handler/webrick.rb:111:in `service' /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service' /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run' /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread' 2024-07-02 15:27:05 - Errno::ENOENT - No such file or directory - blastn (Errno::ENOENT): /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:9:in
'
/var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:9:in block in to_h' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:8:in
map'
/var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/blast/tasks.rb:8:in to_h' /var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver/routes.rb:99:in
block in call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1804:in
block in compile!'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in block (3 levels) in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1089:in
route_eval'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in block (2 levels) in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1120:in
block in process_route'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in
process_route'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1069:in block in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in
each'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in route!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1190:in
block in dispatch!'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in
invoke'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1185:in dispatch!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in
block in call!'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in catch' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in
invoke'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in call!' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:990:in
call'
/var/lib/gems/3.2.0/gems/rack-3.1.5/lib/rack/deflater.rb:47:in call' /var/lib/gems/3.2.0/gems/rack_csrf-2.7.0/lib/rack/csrf.rb:52:in
call'
/var/lib/gems/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in context' /var/lib/gems/3.2.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in
call'
/var/lib/gems/3.2.0/gems/rack-3.1.5/lib/rack/head.rb:15:in call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:224:in
call'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:2115:in call' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in
block in call'
/var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1890:in synchronize' /var/lib/gems/3.2.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in
call'
/var/lib/gems/3.2.0/gems/sequenceserver-3.1.1/lib/sequenceserver.rb:117:in call' /var/lib/gems/3.2.0/gems/rackup-2.1.0/lib/rackup/handler/webrick.rb:111:in
service'
/usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in service' /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in
run'
/usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'@tadast
Sorry, the error message is not very helpful, but it seems you don't have blast installed in the system or it's not in the PATH environment variable.
$ whereis blastn
blastn: /opt/homebrew/bin/blastn
I think some of the changes we've introduced recently might be expecting blast to be installed before we run the setup process. We'll look into this later this week, but if you could install blast 2.15.0+ in the system it should work.
I thought I had taken care of that (I had the blast that sequenceserver downloaded, and I made sure the .conf file pointed at it).
I'll take another look at it tomorrow - thanks!!!!
On Tue, Jul 2, 2024 at 4:13 PM Tadas Tamošauskas @.***> wrote:
Sorry, the error message is not very helpful, but it seems you don't have blast installed in the system or it's not in the PATH environment variable.
$ whereis blastn blastn: /opt/homebrew/bin/blastn
I think some of the changes we've introduced recently might be expecting blast to be installed before we run the setup process. We'll look into this later this week, but if you could install blast https://www.ncbi.nlm.nih.gov/books/NBK569861/ 2.15.0+ in the system it should work.
— Reply to this email directly, view it on GitHub https://github.com/wurmlab/sequenceserver/issues/755#issuecomment-2204307973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTCZBVA2QEF2EZM65YGNTZKMCYBAVCNFSM6AAAAABKGFTKGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBUGMYDOOJXGM . You are receiving this because you were mentioned.Message ID: @.***>
-- Cheers,
Wolfgang
It was a stupid $PATH error on my part. Working beautifully now - thanks for all of your help!
I just installed the latest version of sequence server on a new linux machine and when I tried to start it up I got this error: