Could not write next block after having written 0 bytes to Pico W

Recently I bought an Inky Frame 7.3 with Raspberry Pico W and I have to say I find the whole Pico thing kind of a struggle. Give me a ssh connection to a regular Raspberry Pi any day of the week.

I tried to upload my Strava dashboard code to the Pico via Thonny and very quickly, after uploading just a handful of .py files and really small .jpg’s I get this message:
Could not write next block after having written 0 bytes to /StravaInky/strava.json

So I was wondering. Could it really be out of space already? Finding that out was not so easy either. But after some googling I found I could run this command:

import uos
uos.statvfs('/')

And the result is this:

(4096, 4096, 212, -10, -10, 0, 0, 0, 0, 255)

What I understand that there is indeed very little space left. That is weird. I have a 32 GB microSD card in there. Do I have to write to a different device or something?

I’m wondering if you are you actually saving to the SD Card?
I’m thinking you may be saving to the 2MB on the Pico?
Just a hunch, as I an no expert in this area.

Probably I’m on the Pico filesystem. This is what Thonny shows.
CleanShot 2024-01-23 at 10.29.04

So now I have to figure out how to write to the 32 GB MicroSD instead.

I’ll plug a Pico in when I get a chance and poke around in Thonny. I don’t think I have anything with an SD card slot on it though?
Time for my morning walk with my dog. =)

Stock Raspberry Pi Pico running stock Micro Python 1.22.0
I honestly don’t know what it means though?

MicroPython v1.22.0 on 2023-12-27; Raspberry Pi Pico with RP2040

Type "help()" for more information.

>>> import os
>>> os.statvfs('/')
(4096, 4096, 352, 350, 350, 0, 0, 0, 0, 255)
>>> 

I went to View and selected “Files”.
Then went to Raspberry Pi Pico, clicked the hamburger icon and selected storage space.
Capture

EDIT: This might be worth a look see.
Pico Wireless - how to access SD card? - Support - Pimoroni Buccaneers