git-pull-request icon indicating copy to clipboard operation
git-pull-request copied to clipboard

[windows] if parameter --label is not included, command does not work

Open Lautenschlager-id opened this issue 6 years ago • 0 comments

When trying to execute git pr without --label I get

←[01;31mUnable to send pull request←[0m
Traceback (most recent call last):
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 745, in main
    labels=args.label,
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 341, in git_pull_request
    fork, setup_only, branch_prefix, dry_run, labels,
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 544, in fork_and_push_pull_reque
st
    ptitle, body = edit_title_and_message(ptitle, body)
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 419, in edit_title_and_message
    content = edit_file_get_content_and_remove(bodyfilename)
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 388, in edit_file_get_content_an
d_remove
    raise RuntimeError("Editor exited with status code %d" % status)
RuntimeError: Editor exited with status code 1

Lautenschlager-id avatar Feb 23 '20 15:02 Lautenschlager-id