'In the Pycharm "Edit Configurations" dialog the python module name is lost after a search

I have a directory structure:

src
    |-- pipelines
       |--  __init__.py
       |--  hercl-parser-pipeline.py

I can run the pipeline as:

$ python -m pipelines.hercl-parser-pipeline

Processing job outputs from /tmp/jobs//jobs.0509_110602..

Inside the PyCharm Run|Edit Configurations :

  • Set it to "Module" (instead of Script)
  • Set the Working Directory to the parent directory.
  • In the Module name I start typing hercl and it is found:

enter image description here

enter image description here

But when i either double click the full name or hit enter the dialog closes and then the value is not copied to the name field in the main dialog

enter image description here

Why is this happening?

**Update: I am on macOS Monterey with Pycharm Pro 2021.3.1 @bad_coder says this does not happen for him on Windows.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source