-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
to_parquet swallows NoCredentialsError #27679
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
Based on this is most likely an issue in s3fs / fsspec, right? Or do you think it's in how pandas is calling things? |
I have no idea who is responsible for this. |
Thanks. Let us know if you're interested in looking further.
…On Thu, Aug 1, 2019 at 2:06 AM Johannes Wienke ***@***.***> wrote:
I have no idea who is responsible for this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27679?email_source=notifications&email_token=AAKAOIRAAJJ6EK3VTOGO35LQCKDPDA5CNFSM4IIIB6NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3JRN3Y#issuecomment-517150447>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKAOIQ4GRZPIV7BVBUMA7DQCKDPDANCNFSM4IIIB6NA>
.
|
Using
|
Pandas does do a try / except in io.s3.get_filepath_or_buffer. So if you
don't have creds, we fall back to doing an anon=True request.
|
But that doesn't work for the write in my case. So nothing is written and no exception is raised. |
Code Sample, a copy-pastable example if possible
Problem description
Without credentials configured, the above code does not write any output, but also doesn't end up in the exception handling code. Instead, on stdout or stderr, an exception is printed:
Expected Output
Here
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]INSTALLED VERSIONS
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.61-1-lts
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.1
dateutil : 2.8.0
pip : 19.2.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.1.8
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : 0.3.1
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 1.1.8
The text was updated successfully, but these errors were encountered: