Getting subprocess error when trying to "bench new-app"

I’m getting subprocess error when trying to “bench new-app”

error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File “/home/adminfrappe/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 353, in
main()
File “/home/adminfrappe/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 335, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
File “/home/adminfrappe/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 132, in get_requires_for_build_editable
return hook(config_settings)
File “/tmp/pip-build-env-rik4dm37/overlay/lib/python3.10/site-packages/flit_core/buildapi.py”, line 23, in get_requires_for_build_wheel
info = read_flit_config(pyproj_toml)
File “/tmp/pip-build-env-rik4dm37/overlay/lib/python3.10/site-packages/flit_core/config.py”, line 81, in read_flit_config
return prep_toml_config(d, path)
File “/tmp/pip-build-env-rik4dm37/overlay/lib/python3.10/site-packages/flit_core/config.py”, line 108, in prep_toml_config
loaded_cfg = read_pep621_metadata(d[‘project’], path)
File “/tmp/pip-build-env-rik4dm37/overlay/lib/python3.10/site-packages/flit_core/config.py”, line 556, in read_pep621_metadata
md_dict.update(pep621_people(proj[‘authors’]))
File “/tmp/pip-build-env-rik4dm37/overlay/lib/python3.10/site-packages/flit_core/config.py”, line 701, in pep621_people
email = str(Address(person[‘name’], addr_spec=email))
File “/usr/lib/python3.10/email/headerregistry.py”, line 43, in init
a_s, rest = parser.get_addr_spec(addr_spec)
File “/usr/lib/python3.10/email/_header_value_parser.py”, line 1642, in get_addr_spec
token, value = get_local_part(value)
File “/usr/lib/python3.10/email/_header_value_parser.py”, line 1455, in get_local_part
raise errors.HeaderParseError(
email.errors.HeaderParseError: expected local-part but found ‘’
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Hi,

The new-app command should include the name of the app.

It may also help with troubleshooting if we may know the version of Frappe and operating environment.

1 Like

Get this resolved.

When do new-app, app name and email are mandatory.
i randomly input “email” value with incorrect email format.