Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Could not run 2.0.0.rc6 without internet connection #482

Closed
vks4git opened this issue Aug 11, 2020 · 2 comments
Closed

Could not run 2.0.0.rc6 without internet connection #482

vks4git opened this issue Aug 11, 2020 · 2 comments

Comments

@vks4git
Copy link

vks4git commented Aug 11, 2020

Hi,
I need to run SequenceServer without internet connection. I already found out that I should use blast+ 2.9.0, because newer versions send requests to NCBI servers. SequenceServer 1.0.14 works offline perfectly, but version 2.0.0.rc6 starts and immediately crashes with the following error:

[2020-08-11 11:51:25] WARN  Will listen on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--host option).
** SequenceServer is ready.
   Go to http://localhost:4567 in your browser and start BLASTing!
   To share your setup, please try one of the following:
/Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver.rb:258:in `ip_address': undefined method `ip_address' for nil:NilClass (NoMethodError)
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver.rb:140:in `on_start'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver/server.rb:40:in `block in options'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/server.rb:340:in `call_callback'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/server.rb:167:in `block in start'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/server.rb:33:in `start'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/webrick/server.rb:164:in `start'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver/server.rb:26:in `start'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver/server.rb:9:in `run'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/lib/sequenceserver.rb:120:in `run'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/bin/sequenceserver:391:in `block (2 levels) in <top (required)>'
	from /Library/Ruby/Gems/2.3.0/gems/slop-3.6.0/lib/slop.rb:260:in `parse!'
	from /Library/Ruby/Gems/2.3.0/gems/slop-3.6.0/lib/slop.rb:65:in `parse!'
	from /Library/Ruby/Gems/2.3.0/gems/sequenceserver-2.0.0.rc6/bin/sequenceserver:48:in `<top (required)>'
	from /usr/local/bin/sequenceserver:22:in `load'
	from /usr/local/bin/sequenceserver:22:in `<main>' 

My configuration:
OS: OS X 10.14.6
Ruby: ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
SequenceServer: 2.0.0.rc6
blast: 2.9.0

@yeban
Copy link
Collaborator

yeban commented Aug 11, 2020

Hi. Thanks for reporting the issue. Looks like the program didn't anticipate a case where no IP address would be found. I will look into it.

yeban added a commit that referenced this issue Aug 13, 2020
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
@yeban
Copy link
Collaborator

yeban commented Aug 13, 2020

I have pushed a fix (gem install --pre sequenceserver). Let us know if you run into any other problems.

@yeban yeban closed this as completed Aug 13, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants