autopkgtest failure "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 14" in test_stl.py on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-meshio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version 4.3.9-1 passes, but all tests for 4.3.11-1 and 4.4.6-1 fails on s390x with this error:
=======
_______
mesh = <meshio mesh object>
Number of points: 4
Number of cells:
triangle: 2
Cell sets: grain0, grain1
binary = True, tol = 1e-08
@pytest.
"mesh",
[
# helpers.empty_mesh,
],
)
@pytest.
"binary, tol",
[
(False, 1.0e-15),
# binary STL only operates in single precision
(True, 1.0e-8),
],
)
def test_stl(mesh, binary, tol):
def writer(*args, **kwargs):
return meshio.
> helpers.
test/test_
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/helpers.
mesh = reader(p)
/usr/lib/
out = _read_ascii(f)
/usr/lib/
data = iter_loadtxt(
/usr/lib/
data = np.fromiter(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def iter_func():
items = None
for _ in range(skiprows):
try:
except StopIteration:
for line in infile:
> line = line.decode(
E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 14: invalid start byte
/usr/lib/
=======
Maybe tol = 1e-08 is hitting some data type issue on s390x?
description: | updated |
description: | updated |
Forwarded: /github. com/nschloe/ meshio/ issues/ 1168
https:/