Open proycon opened 1 month ago
@proycon - thanks for filing and i am investingating this now. i am having a bit of issues running the notebook myself. couple questions that could help
marimo edit
(we hide some errors when in marimo run
)marimo run
, can you run with --redirect-console-to-browser
and see if there is anything obvious in the browser consoleThanks for looking into this:
- is the schema of the table changing when you change the datakey?
No, it's always ["Value", "Occurences"]
.
- are there any errors when running
marimo edit
(we hide some errors when inmarimo run
)
No, the same problem reproduces in edit mode. There are no errors in stderr nor in the browser console.
Another relevant observation, if I switch to page 2 and then immediately back to page 1, and then change the datakey field, then the problem does not occur either!
I am getting [StamError] DeserializationError: Deserialization failed: EOF while parsing a string at line 31611423 column 13
when starting up the application (I am on macOS)
I am getting
[StamError] DeserializationError: Deserialization failed: EOF while parsing a string at line 31611423 column 13
when starting up the application (I am on macOS)
I suddenly see that too now, wasn't there yesterday, I'm investigating...
That second issue (unrelated to the actual issue) looks like some kind of race condition in the cell execution order. As if it starts reading the file when it's not entirely flushed to disk yet? I don't know the details of it yet. If you restart the notebook once after the initial data download finishes, then it seems to be okay. I'm not sure yet, but I can reproduce that problem on marimo 0.8.9 and 0.8.11 (delete hoof001hwva.output.store.stam.json from $CWD to force redownload) , but not yet on 0.8.3 and 0.7.7, so I wonder it might be a second regression or a problem in my marimo code which didn't surface before?
I now made a separate issue for this spin-off problem we encountered while debugging the current issue: #2246
@proycon is this still an issue, or could it be caused by the spin-off problem?
@proycon is this still an issue, or could it be caused by the spin-off problem?
This is still an issue yes (I tried the latest 0.8.13). After pagination the table's page seems 'stuck' that page, so when loading different data into it that has less than one page, it doesn't show at all. If loading data into it that does have that page, then it shows (at that specific page).
Describe the bug
We (@dirkroorda and I) found a regression in the display of polars dataframes in mo.ui.table. After pagination, the table is no longer responsive to changing input. (see code to reproduce). We think the problem was introduced in v0.8.4, probably in #2115 . At least versions v0.7.7 to v0.8.3 do have the expected behaviour.
Environment
We also tested three different browsers (firefox, safari, chromium) and on both Linux and on mac.
Code to reproduce
The problem is apparent in this notebook: https://github.com/knaw-huc/brieven-van-hooft-notebook , steps to reproduce are:
marimo run
the notebook (starting it may take a while because of data download)