[Debian-astro-maintainers] Bug#908683: yt FTBFS on most architectures: ValueError: Data has no positive values, and therefore can not be log-scaled
Adrian Bunk
bunk at debian.org
Wed Sep 12 15:45:00 BST 2018
Source: yt
Version: 3.4.1-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=yt&suite=sid
...
======================================================================
ERROR: yt.frontends.stream.tests.test_stream_unstructured.test_multi_mesh
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/frontends/stream/tests/test_stream_unstructured.py", line 26, in test_multi_mesh
sl = SlicePlot(ds, 'z', ('all', 'test'))
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1953, in SlicePlot
return AxisAlignedSlicePlot(ds, normal, fields, *args, **kwargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1270, in __init__
window_size=window_size, aspect=aspect, right_handed=right_handed)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 660, in __init__
PlotWindow.__init__(self, *args, **kwargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 219, in __init__
self._setup_plots()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 845, in _setup_plots
self.aspect, fig, axes, cax)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1765, in __init__
self._init_image(data, cbname, cblinthresh, cmap, extent, aspect)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/base_plot_types.py", line 251, in _init_image
self.cb = self.figure.colorbar(self.image, self.cax)
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 2071, in colorbar
cb = cbar.colorbar_factory(cax, mappable, **cb_kw)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 1399, in colorbar_factory
cb = Colorbar(cax, mappable, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 945, in __init__
ColorbarBase.__init__(self, ax, **kw)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 327, in __init__
self.draw_all()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 353, in draw_all
self._config_axes(X, Y)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 461, in _config_axes
self.update_ticks()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 378, in update_ticks
ticks, ticklabels, offset_string = self._ticker()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 622, in _ticker
b = np.array(locator())
File "/usr/lib/python3/dist-packages/matplotlib/ticker.py", line 2089, in __call__
return self.tick_values(vmin, vmax)
File "/usr/lib/python3/dist-packages/matplotlib/ticker.py", line 2115, in tick_values
"Data has no positive values, and therefore can not be "
ValueError: Data has no positive values, and therefore can not be log-scaled.
======================================================================
ERROR: yt.frontends.stream.tests.test_stream_unstructured.test_multi_field
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/frontends/stream/tests/test_stream_unstructured.py", line 46, in test_multi_field
sl = SlicePlot(ds, 'z', 'test')
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1953, in SlicePlot
return AxisAlignedSlicePlot(ds, normal, fields, *args, **kwargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1270, in __init__
window_size=window_size, aspect=aspect, right_handed=right_handed)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 660, in __init__
PlotWindow.__init__(self, *args, **kwargs)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 219, in __init__
self._setup_plots()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 845, in _setup_plots
self.aspect, fig, axes, cax)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/plot_window.py", line 1765, in __init__
self._init_image(data, cbname, cblinthresh, cmap, extent, aspect)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build/yt/visualization/base_plot_types.py", line 251, in _init_image
self.cb = self.figure.colorbar(self.image, self.cax)
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 2071, in colorbar
cb = cbar.colorbar_factory(cax, mappable, **cb_kw)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 1399, in colorbar_factory
cb = Colorbar(cax, mappable, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 945, in __init__
ColorbarBase.__init__(self, ax, **kw)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 327, in __init__
self.draw_all()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 353, in draw_all
self._config_axes(X, Y)
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 461, in _config_axes
self.update_ticks()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 378, in update_ticks
ticks, ticklabels, offset_string = self._ticker()
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 622, in _ticker
b = np.array(locator())
File "/usr/lib/python3/dist-packages/matplotlib/ticker.py", line 2089, in __call__
return self.tick_values(vmin, vmax)
File "/usr/lib/python3/dist-packages/matplotlib/ticker.py", line 2115, in tick_values
"Data has no positive values, and therefore can not be "
ValueError: Data has no positive values, and therefore can not be log-scaled.
----------------------------------------------------------------------
Ran 1167 tests in 2148.597s
FAILED (errors=2)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_yt/build; python3.6 -m nose
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.7 3.6" returned exit code 13
make: *** [debian/rules:9: build-arch] Error 25
More information about the Debian-astro-maintainers
mailing list