nbdev-new does not work as expected
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure with nbdev-new, then inspect nbdev/cli.py and nbdev/config.py around nbdev_create_config and the author inference shown in the traceback. Determine the expected behavior when Git author information is unavailable, and verify that the command handles that case correctly.
Written by the indexing model from the issue text.
Description
sys.exit(nbdev_new())
~~~~~~~~~^^
File "/lambda/nfs/jan2026/research/op_resilience/.pixi/envs/default/lib/python3.13/site-packages/fastcore/script.py", line 170, in _f
return tfunc(**merge(args, args_from_prog(func, xtra)))
File "/lambda/nfs/jan2026/research/op_resilience/.pixi/envs/default/lib/python3.13/site-packages/nbdev/cli.py", line 88, in nbdev_new
nbdev_create_config.wrapped(**kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/lambda/nfs/jan2026/research/op_resilience/.pixi/envs/default/lib/python3.13/site-packages/nbdev/config.py", line 128, in nbdev_create_config
if not author: raise ValueError("Could not infer author from git. Please pass --author explicitly.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Could not infer author from git. Please pass --author explicitly.
please have a look
- Dominant language
- Jupyter Notebook
- Stars
- 5.3k
- Forks
- 514
- Avg merge
- 2d 30m
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AnswerDotAI/nbdev
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AnswerDotAI/nbdev#1596 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
AnswerDotAI/nbdev#1587 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
AnswerDotAI/nbdev#1584 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
AnswerDotAI/nbdev#1581 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
AnswerDotAI/nbdev#1569 · 1 comment ·
All issues in AnswerDotAI/nbdev
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
type/automation type/performance
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
alexgorbatchev/dotfiles#107 ·
-
bug cli
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100