-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: read_clipboard() failed for sphinx in dev-99ae9ce #4157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@changhiskhan can you take a look? |
probable/possible cause #3848 ? |
could possibly be numpy 1.6.2 related that's what's building docs and don't think we have any tests for the clipboard stuff shall we add some? |
should there be a raise there to make sure that |
this should work, non empty is not an error per se |
@jreback should this pass? class TestClipboard(unittest.TestCase):
def setUp(self):
self.data = DataFrame(randn(5, 3))
def test_round_trip(self):
self.data.to_clipboard()
expected = self.data
result = read_clipboard()
tm.assert_frame_equal(expected, result) currently fails b/c columns are read as strings not also should probably not print out the name of the clipboard program |
in linux world, works for me
|
what is the dtype of the column index, i get object bc they are strings, should be int |
I think this is expected though; things are transmitted as 'text', and they I wouldn't expect the a numeric looking column to be necessarily converted just test with ``columns=list('AB')`
|
ok...the |
I don't think we convert columns by default.....even with csv...not sure though |
ur right |
good news: looks like i managed to repro something similar https://travis-ci.org/cpcloud/pandas/builds/9213347 bad news: i'm not sure how to work around this |
is there a way to trick X into thinking there's a display |
this: http://en.wikipedia.org/wiki/Xvfb might work |
if docs are being built on a headless machine you'll get this error, i'm not sure how the clipboard works in conjunction with |
so this is not a |
is it because its built headless or some other issue? go ahead and email what u know and solution |
I think it's the headless issue. The clipboard requires an X server to be running and the |
would i be heretical in suggesting that we move the documentation over to somewhere like http://readthedocs.org? |
It would be much easier to fix doc issues |
looking good now |
See here:
http://pandas.pydata.org/pandas-docs/dev/io.html#clipboard
and scroll to the clipboard section.
Line [1215] with read_clipboard() failed.
The text was updated successfully, but these errors were encountered: