Skip to content

Failed

gpkit.tests.t_examples.TestExamples.test_performance_modeling_cvxopt (from gpkit.tests.t_examples.TestExamples-20211008060647)

Failing for the past 1 build (Since Failed #3190 )
Took 0.96 sec.

Error Message

'SolutionArray' object has no attribute 'name_collision_varkeys'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 91, in test
    getattr(self, name)(imported[name])
  File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/t_examples.py", line 199, in test_performance_modeling
    sol.savejson("solution.json")
  File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/solution_array.py", line 650, in savejson
    for key in self.name_collision_varkeys():
AttributeError: 'SolutionArray' object has no attribute 'name_collision_varkeys'

Standard Error

/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/small_classes.py:158: VisibleDeprecationWarning:

Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.