Closed RenzoBenemerito closed 3 years ago
edit: found the link, but I cannot reproduce your error. I'm pretty sure you need to ugprade nbdev
pip install -U git+https://github.com/fastai/nbdev.git
If upgrading doesn't fix it for you will be happy to reopen this issue please let me know.
If upgrading doesn't fix it for you will be happy to reopen this issue please let me know.
The problem still persists, I already have the latest version of nbdev
I think we need to add a None checker before the if statement in the code. If the default of fname is None and you execute the if statement fname.endswith, it will cause the error seen above.
Thanks. I was testing the wrong command! I was testing nbdev_build_lib
instead 🤦🏽 sorry. This is going to be fixed shortly via #416
Thanks. I was testing the wrong command! I was testing
nbdev_build_lib
instead 🤦🏽 sorry. This is going to be fixed shortly via #416
Thank you sir! 💯
https://github.com/fastai/nbdev/blob/f8d6ed294425a6b306eeff09a640714dc5ed252d/nbdev/sync.py#L126
When doing nbdev_update_lib without specifying the optional fname argument, it fails with an error as shown below instead of traversing the lib path directory.