Skip to content

Failed

gpkit.tests.t_examples.TestExamples.test_breakdowns_mosek_cli (from gpkit.tests.t_examples.TestExamples-20220212020243)

Failing for the past 1 build (Since Failed #3210 )
Took 19 ms.

Error Message

Can't get attribute '_build_quantity' on <module 'pint' from 'C:\\Users\\jenkins\\workspace\\CE_gpkit_PR_unit_tests\\mosek\\venv_jenkins\\lib\\site-packages\\pint\\__init__.py'>

Stacktrace

Traceback (most recent call last):
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\gpkit\tests\helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\gpkit\tests\helpers.py", line 90, in test
    imported[name] = importlib.import_module(name)
  File "C:\Miniconda3\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\docs\source\examples\breakdowns.py", line 11, in <module>
    sol = pickle.load(open(filepath, "rb"))
AttributeError: Can't get attribute '_build_quantity' on <module 'pint' from 'C:\\Users\\jenkins\\workspace\\CE_gpkit_PR_unit_tests\\mosek\\venv_jenkins\\lib\\site-packages\\pint\\__init__.py'>

Standard Error

C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\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.
  v = np.array(v)
C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\mosek\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.
  v = np.array(v)