Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
yahoo test error connection reset #3982
Comments
|
I thought the "@network" was supposed to catch these? are these not |
jreback
referenced
this issue
Jun 21, 2013
Closed
RPT/BUG: yahoo retrieve failure error message is uninformative #3852
|
no the error generated is |
|
which apparently is not caught by |
|
so wish python 2 had this |
|
should we be catcing |
|
here's why that might be problem
|
|
of course python3 has |
|
in python3 |
|
These are network calls though, the point is to catch them (obviously if we can find a narrow exception would be good) |
|
but if there happens to be a file opening error in a python2 test labelled networrk it won't be caught |
|
so let's add the socket exceptions then (in addition to IOError) |
|
i did _network_error_classes = IOError, OSError
try:
ConnectionError
except NameError:
_network_error_classes += socket.error, |
|
but probably better is _network_error_classes = IOError,
try:
_network_error_classes += ConnectionError,
except NameError:
_network_error_classes += socket.error, |
|
this should work in 2.x, 3.x since 3.2 follows py2 conventions regarding exceptions |
cpcloud
referenced
this issue
Jun 21, 2013
Merged
BUG/TST: catch socket.error in py2/3.2 and ConnectionError in py3.3 #3985
|
are there other socket errors that would want to catch? |
|
ssl possibly |
|
I guess throw it in and we see more..then easy to add.... |
|
all exceptions in
|
|
here's how i got
|
|
missed one |
|
i'm not convinced that my PR is necessary, why would |
|
let me see if i can somehow trigger this error across a vagrant machine |
|
Should this be the responsibility of the function to catch these errors? Or Also, if you hit this error with internet on and then don't with internet
|
|
I thought the new function of the network decorator is to by default catch any network related error that is specified and then skip ? |
|
it ran successfully with and without internet |
|
So there's a separate socket error? When I tested, it was raising socket Also, if you do this, maybe we should create a function that checks whether
|
|
yes the |
|
Probably one of the tests decorated by On Fri, Jun 21, 2013 at 11:35 PM, Phillip Cloud notifications@github.comwrote:
|
|
#3985 closes this, right? |
|
I see you moved #4002 to 0.12, this too? trying to close the remaining issues..... |
cpcloud
closed this
in #3985
Jun 26, 2013
cpcloud
reopened this
Jun 26, 2013
|
still failing: https://travis-ci.org/cpcloud/pandas/jobs/8478753 |
|
@cpcloud Just realized that I didn't set |
|
@jtratner |
|
no prob On Wed, Jun 26, 2013 at 9:32 PM, Phillip Cloud notifications@github.comwrote:
|
cpcloud commentedJun 21, 2013
we really need to fix this...
https://travis-ci.org/cpcloud/pandas/jobs/8321921
https://travis-ci.org/cpcloud/pandas/jobs/8322345
https://travis-ci.org/jreback/pandas/jobs/8448538
https://travis-ci.org/pydata/pandas/jobs/8449118 (HTTP error here)