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
I want to download my kernel output using kaggle kernels output ********/******** -p ./output/. However, it ends up downloading my audio dataset and once it presumably goes to the other files, it errors out with 'charmap' codec can't encode characters in position 824-826: character maps to <undefined>. It looks like this issue was fixed before, but I'm still getting it. In kaggle_api_extended.py, I edited line 2385 to:
with open(script_path, 'w', encoding="utf-8", errors='ignore') as f:
f.write(blob['source'])
This did not fix it. Can anyone help me? Downloading from a browser also errors out.
The text was updated successfully, but these errors were encountered:
If you have time for an experiment, try changing the file mode from 'w' to 'wb'. Check if that introduces other errors in text files. If all is good I'll patch the file. Or, if you know of a publicly-accessible example that reproduces this problem, just point me to it.
BTW, if you update to the latest release, the new line number is 2495.
I want to download my kernel output using
kaggle kernels output ********/******** -p ./output/
. However, it ends up downloading my audio dataset and once it presumably goes to the other files, it errors out with'charmap' codec can't encode characters in position 824-826: character maps to <undefined>
. It looks like this issue was fixed before, but I'm still getting it. Inkaggle_api_extended.py
, I edited line 2385 to:This did not fix it. Can anyone help me? Downloading from a browser also errors out.
The text was updated successfully, but these errors were encountered: