My notebook https://observablehq.com/@jwb/berkeley-rent-board-data looks fine to me but for everyone else it says “RuntimeError: File not found: cpi-u.csv”. I tried some silly things like renaming it but that didn’t clear the issue.
Hi @jwb. This is a bug in New Observable when attaching a file to a “live” public notebook that was created in Old Observable.
For context, New Observable no longer lets you create “live” public notebooks; we instead favor versioned publishing where you control when changes to a public notebook become visible to everyone. In New Observable, when you publish a notebook and then subsequently edit it, your changes are initially only visible to you (and any members of your workspace); you can then click Republish to make your staged changes visible to everyone. (Note that New Observable still uses “live” notebooks when you make a notebook unlisted.)
Additionally, with versioned publishing, the intermediate versions of your notebook between publishes are not visible to the public even after you republish the notebook; only explicitly published versions are ever visible to the public. This again provides more peace of mind when editing a notebook that was already published.
We recommend switching to versioned publishing using New Observable so that you can stage changes to already-public notebooks. You can switch a live public notebook to versioned publishing by clicking Make unlisted and then clicking Publish. Conveniently, this will also fix the bug with your files that were attached while the notebook was live. (If you like, you can also delete all the old versions of your files using New Observable, since New Observable now tracks files in version history.)
I’ll fix the bug in New Observable so that files you attach to “live” notebooks are immediately public (rather than waiting to until the notebook is published). I can also work on adding a Republish button to convert live notebooks to version-published notebooks in one click… And I should rewrite our documentation on publishing! Thanks for the feedback.
I’ve fixed the bug; attaching a file to a “live” or unlisted notebook will now immediately publish the file.
We’ve also now found and fixed all the notebooks that were affected by this bug. No further action should be required. Thank you again for the report @jwb! We greatly appreciate you bringing this to our attention.