quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

[Airbrake] [Staging] TypeError: String can't be coerced into Float #1512

Closed dennisquintel closed 7 years ago

dennisquintel commented 7 years ago

Airbrake error: #9018 Airbrake project: ETMoses

Error type: TypeError Error message: TypeError: String can't be coerced into Float Where: DelayedJob Worker Occurred at: Oct 21, 2016 09:43:24 UTC First seen at: Oct 21, 2016 09:43:24 UTC Occurrences: 0 (0 since last deploy on Oct 20, 2016 08:56:46 UTC)

URL: <no information> File: [PROJECT_ROOT]/app/models/business_case_costs.rb

Backtrace:

[PROJECT_ROOT]/app/models/business_case_costs.rb:9:in /
[PROJECT_ROOT]/app/models/business_case_costs.rb:9:in depreciation_costs
[PROJECT_ROOT]/app/models/business_case_costs.rb:3:in total_yearly_costs
[PROJECT_ROOT]/app/models/market/initial_costs/costs.rb:17:in block in calculate
grdw commented 7 years ago

Looks like someone turned technical_lifetime into a string in the gas_asset_list.

One moment please.

dennisquintel commented 7 years ago

Comment from Airbrake: Resolved error reoccurred.