Hi David,
Indeed, I also encountered that error in another notebook, but despite the error, it still did what it was supposed to do: Inside the nbs-folder it created a new folder which has he name of my repo (“FastAI2022”), and inside the app.py was created. → not nice, but it worked
Reflecting on this, in the previous notebook, when I was writing the post, I actually did more nbdev-setup: As suggested here, I ran the nbdev-migration. Looking up my bash history:
Installation
mamba install -c fastchan nbdev
mamba install -c fastai nbdev
find . -name '*.ipynb' -exec perl -pi -e 's/#\|\s*hide_input/#| echo: false/' {} +
find . -name '*.ipynb' -exec perl -pi -e 's/#\|\s*hide_output/#| output: false/' {} +
find . -name '*.ipynb' -exec perl -pi -e 's/#\|\s*skip/#| eval: false/' {} +
find . -name '*.ipynb' -exec perl -pi -e 's/from nbdev.export import notebook2script/from nbdev import nbdev_export/' {} +
find . -name '*.ipynb' -exec perl -pi -e 's/notebook2script/nbdev_export/' {} +
nbdev_setup:
nbdev_install_quarto
nbdev_new
I hope this helps.