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
Hi Phil,
spotted this one trying to download a bitmap image stored in parse. When you call (with await) the parse_file download method, it is returning ok and the file is created in the cache directory but it has zero bytes. I think the issue is simply that the file.writeAsBytes(response.bodyBytes) at line 68 in parse_file is not being awaited, so nothing is written to the file. You could use the writeAsBytesAsync method instead or just await.
The text was updated successfully, but these errors were encountered:
Hi Phil,
spotted this one trying to download a bitmap image stored in parse. When you call (with await) the parse_file download method, it is returning ok and the file is created in the cache directory but it has zero bytes. I think the issue is simply that the file.writeAsBytes(response.bodyBytes) at line 68 in parse_file is not being awaited, so nothing is written to the file. You could use the writeAsBytesAsync method instead or just await.
The text was updated successfully, but these errors were encountered: