I'm getting this all the time. With and Without Modal `IsADirectoryError: [Errno 21] Is a directory: 'generated/src/'` It seems that smol is trying to write directly to the folder, instead to the appropriate file.
Activity
[-]error when writing to folders[/-][+]error when writing inside folders[/+]swyxio commentedon May 22, 2023
hi! hmm. i think i understand - will fix this in the coming version of smol (i am working on #12 )
LukasMeine commentedon May 22, 2023
nice! Thanks for the amazing work, your repo is great!
jonnyhoff commentedon May 31, 2023
Got the same error:
jonnyhoff commentedon May 31, 2023
The fix
In the
write_filefunctionBefore:
After:
Fix IsADirectoryError in main_no_modal.py