Failed
gpkit.tests.from_paths.TestFiles.test_gassolar_gas_gas_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200228004656)
Failing for the past 1 build
(Since Failed
)
Error Message
can only concatenate list (not "range") to list
Stacktrace
Traceback (most recent call last): File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test testfn(name, import_dict, path)(self) File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 51, in <lambda> lambda self: getattr(self, name)())) # pylint:disable=undefined-variable File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn mod.test() File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/gas/gas.py", line 201, in test model = Mission() File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 56, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/gas/gas.py", line 156, in setup altitude=np.linspace(0, 15000, 11)[1:]) File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 56, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/gas/gas.py", line 125, in setup fs = FlightSegment(aircraft, N, altitude, latitude, percent, day) File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 56, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/gas/flight_segment.py", line 24, in setup wind = get_windspeed(latitude, percent, altitude, day) File "/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.5/site-packages/gassolar/environment/wind_speeds.py", line 56, in get_windspeed pressures = [5, 10, 30] + range(50, 1050, 50) TypeError: can only concatenate list (not "range") to list