You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a failure I've been seeing regularly with sphinx that doesn't seem to depend on flaky internet problems:
Exception occurred:
File "/home/travis/build/astropy/astropy/build/lib.linux-x86_64-3.6/astropy/io/misc/connect.py", line 6, in <module>
from .hdf5 import read_table_hdf5, write_table_hdf5, is_hdf5
ImportError: cannot import name 'read_table_hdf5'
Exception occurred:
File "/home/travis/build/astropy/astropy/build/lib.linux-x86_64-3.6/astropy/io/misc/connect.py", line 8, in <module>
from .hdf5 import read_table_hdf5, write_table_hdf5, is_hdf5
ImportError: cannot import name 'read_table_hdf5'
Given that it reports line 8 it seems like it has picked up the change but still failed.
Activity
MSeifert04 commentedon Sep 25, 2017
okay, it also just happened on a PR: https://travis-ci.org/astropy/astropy/jobs/279463524#L2505
saimn commentedon Sep 25, 2017
And it happens also on rtd: http://readthedocs.org/projects/astropy/builds/6014269/
It would be useful to have a full log.
drdavella commentedon Sep 25, 2017
Here's another data point, FWIW: https://travis-ci.org/astropy/astropy/jobs/279610210
pllim commentedon Sep 25, 2017
I can actually reproduce this locally on Python 3.6 env. I suspect circular import. Investigating.
MSeifert04 commentedon Sep 25, 2017
Even after merging #6607 the error persists:
Given that it reports line 8 it seems like it has picked up the change but still failed.
pllim commentedon Sep 26, 2017
@astrofrog , since you are listed for
io.misc, can I move the functions fromhdf5.pytoconnect.py?astrofrog commentedon Sep 26, 2017
My worry is that
connect.pymight then have several file formats in it. What about instead regisetring the functions insidehdf5.py- would that work?MSeifert04 commentedon Sep 26, 2017
I think it's reproducible: in a fresh interpreter try
from astropy.io.misc import hdf5. That does fail with the encountered message.