AnswerDotAI / AnswerDotAI/nbdev

A potential error with `nbdev_release_gh`

Open
#1,240 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

I am trying to make a release to github with `nbdev_release_gh`:
```
(rapids-22.10) [kangl@p031]/home/kangl/codes/sott/nbs% nbdev_release_gh
Traceback (most recent call last):
......
FileNotFoundError: [Errno 2] No such file or directory: '~/bin/nvim.appimage'
```
In fact, this file exists:
```
(rapids-22.10) [kangl@p031]/home/kangl/codes/sott/nbs% ls -al ~/bin/nvim.appimage
-rwxr-xr-x 1 kangl kangl 14644416 Dec 14 2021 /users/kangl/bin/nvim.appimage
```
However, after editing my `zshrc` file from
```
export VISUAL="~/bin/nvim.appimage";
export EDITOR="~/bin/nvim.appimage";
```
to
```
export VISUAL="/users/kangl/bin/nvim.appimage";
export EDITOR="/users/kangl/bin/nvim.appimage";
```
It works.

It looks like this command doesn't understand `~`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.