Skip to content

Failed

gpkit.tests.t_examples.TestExamples.test_breakdowns_cvxopt (from gpkit.tests.t_examples.TestExamples-20220216154919)

Failing for the past 1 build (Since Failed #3212 )
Took 0.67 sec.

Error Message

'charmap' codec can't encode characters in position 9-10: character maps to <undefined>

Stacktrace

Traceback (most recent call last):
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\gpkit\tests\helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\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\cvxopt\docs\source\examples\breakdowns.py", line 26, in <module>
    bds.plot("cost")
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\gpkit\breakdowns.py", line 951, in plot
    graph(tree, lookup, self.sol, self.basically_fixed_variables,
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_unit_tests\cvxopt\gpkit\breakdowns.py", line 744, in graph
    print("\n" + "\n".join(rowstrs) + "\n")
  File "C:\Miniconda3\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 9-10: character maps to <undefined>

Standard Error

C:\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.
  v = np.array(v)
C:\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.
  v = np.array(v)