Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696138 - dev-python/matplotlib-2.2.4 USE=doc - Exception occurred: File ".../work/matplotlib-2.2.4-python3_7/build/lib/matplotlib/dates.py", line 317, in _from_ordinalf ix = int(ix) ValueError: cannot convert float NaN
Summary: dev-python/matplotlib-2.2.4 USE=doc - Exception occurred: File ".../work/ma...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 15:00 UTC by Alessandro Barbieri
Modified: 2019-10-03 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
info (info,14.72 KB, text/plain)
2019-10-03 15:00 UTC, Alessandro Barbieri
Details
matplotlib-2.2.4:20191003-144630.log.xz (matplotlib-2.2.4:20191003-144630.log.xz,18.88 KB, application/x-xz)
2019-10-03 15:02 UTC, Alessandro Barbieri
Details
sphinx-err-n_19h16c.log (sphinx-err-n_19h16c.log,5.20 KB, text/plain)
2019-10-03 15:02 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-10-03 15:00:19 UTC
generating gallery for gallery/ticks_and_spines... [ 75%] date_index_formatter2.py
/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/examples/misc/agg_buffer.py:33: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer in
stead
  X = np.fromstring(s, np.uint8).reshape((h, w, 3))
/usr/lib/python3.7/site-packages/pandas/plotting/_converter.py:129: FutureWarning: Using an implicitly registered datetime converter for a matplotlib plotting method. The converter was registered by pandas on import. Future versions of p
andas will require you to explicitly register matplotlib converters.

To register the converters:
        >>> from pandas.plotting import register_matplotlib_converters
        >>> register_matplotlib_converters()
  warnings.warn(msg, FutureWarning)
/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/build/lib/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the ear
lier instance.  In a future version, a new instance will always be created and returned.  Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance.
  warnings.warn(message, mplDeprecation, stacklevel=1)
/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/examples/specialty_plots/mri_demo.py:20: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use from
buffer instead
  im = np.fromstring(dfile.read(), np.uint16).reshape((256, 256))
/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/examples/specialty_plots/mri_with_eeg.py:24: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use
frombuffer instead
  im = np.fromstring(dfile.read(), np.uint16).reshape((256, 256))
/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/build/lib/matplotlib/dates.py:316: RuntimeWarning: invalid value encountered in double_scalars
  ix, remainder = divmod(x, 1)

Exception occurred:
  File "/var/tmp/portage/dev-python/matplotlib-2.2.4/work/matplotlib-2.2.4-python3_7/build/lib/matplotlib/dates.py", line 317, in _from_ordinalf
    ix = int(ix)
ValueError: cannot convert float NaN to integer
The full traceback has been saved in /var/tmp/portage/dev-python/matplotlib-2.2.4/temp/sphinx-err-n_19h16c.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:20: html] Error 2
 * ERROR: dev-python/matplotlib-2.2.4::gentoo failed (compile phase):
 *   emake failed
Comment 1 Alessandro Barbieri 2019-10-03 15:00:56 UTC
Created attachment 591716 [details]
info

emerge --info
Comment 2 Alessandro Barbieri 2019-10-03 15:02:01 UTC
Created attachment 591718 [details]
matplotlib-2.2.4:20191003-144630.log.xz

buildlog
Comment 3 Alessandro Barbieri 2019-10-03 15:02:48 UTC
Created attachment 591720 [details]
sphinx-err-n_19h16c.log

traceback