Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to run; neither this repo nor CLI version #42

Open
sxiii opened this issue Apr 14, 2018 · 0 comments
Open

Unable to run; neither this repo nor CLI version #42

sxiii opened this issue Apr 14, 2018 · 0 comments

Comments

@sxiii
Copy link

sxiii commented Apr 14, 2018

Error log:

[sx@sx-pc barometer]$ ruby w.rb 
Traceback (most recent call last):
	48: from w.rb:4:in `<main>'
	47: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:11:in `measure'
	46: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:23:in `record_time'
	45: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:12:in `block in measure'
	44: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:28:in `measure_until_successful'
	43: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:5:in `take_level_while'
	42: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:5:in `take_while'
	41: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:5:in `each'
	40: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:6:in `block in take_level_while'
	39: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:29:in `block in measure_until_successful'
	38: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:36:in `measure_using_all_services_in_level'
	37: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:11:in `services'
	36: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:33:in `_dig'
	35: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:33:in `each'
	34: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:34:in `block in _dig'
	33: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/utils/config_reader.rb:27:in `_dig'
	32: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:37:in `block in measure_using_all_services_in_level'
	31: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/base.rb:42:in `measure_and_record'
	30: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:12:in `measure'
	29: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:44:in `record_time'
	28: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:13:in `block in measure'
	27: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:24:in `measure_and_record_status'
	26: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:30:in `capture_status_code'
	25: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/base.rb:25:in `block in measure_and_record_status'
	24: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1.rb:10:in `call'
	23: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1.rb:18:in `measure!'
	22: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1.rb:18:in `new'
	21: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1/current_api.rb:8:in `initialize'
	20: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1/current_api.rb:8:in `new'
	19: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1/query.rb:15:in `initialize'
	18: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/weather_services/wunderground_v1/query.rb:25:in `convert_query'
	17: from /usr/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
	16: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/base.rb:40:in `convert!'
	15: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/base.rb:78:in `do_conversion'
	14: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/base.rb:78:in `map'
	13: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/base.rb:81:in `block in do_conversion'
	12: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/converters/to_geocode.rb:16:in `call'
	11: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/services/google_geocode.rb:16:in `call'
	10: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/services/google_geocode.rb:25:in `parse_payload'
	 9: from /home/sx/.gem/ruby/2.5.0/gems/barometer-0.9.7/lib/barometer/query/services/google_geocode.rb:37:in `latitude'
	 8: from /usr/lib/ruby/2.5.0/delegate.rb:83:in `method_missing'
	 7: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:19:in `fetch'
	 6: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:68:in `fetch_value_or_attribute'
	 5: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:68:in `inject'
	 4: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:68:in `each'
	 3: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:69:in `block in fetch_value_or_attribute'
	 2: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:75:in `fetch_value'
	 1: from /home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:80:in `fetch_native'
/home/sx/.gem/ruby/2.5.0/gems/choc_mool-0.0.1/lib/choc_mool.rb:80:in `fetch': no implicit conversion of String into Integer (TypeError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant