Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_gas_gas_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200228004721)

Failing for the past 1 build (Since Failed #213 )
Took 0.5 sec.

Error Message

can only concatenate list (not "range") to list

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test
    testfn(name, import_dict, path)(self)
  File "/Users/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 "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn
    mod.test()
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/gas/gas.py", line 201, in test
    model = Mission()
  File "/Users/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 "/Users/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 "/Users/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 "/Users/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 "/Users/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 "/Users/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 "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/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
		

Standard Output

	

Standard Error