Bug 1744340 Comment 8 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Okay, getting the latest MSYS installation and running `pacmac -Suy` solves comment #7. What's still broken is that:

1. [`import blessings`](https://searchfox.org/mozilla-central/rev/0a2eba79c24300ce0539f91c1bebac2e75264e58/python/mach/mach/logging.py#12) fails: 

    ```
    Traceback (most recent call last):
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 111, in <module>
        main(sys.argv[1:])
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 103, in main
        mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 35, in check_and_get_mach
        return load_mach(dir_path, mach_path)
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 21, in load_mach
        return mach_initialize.initialize(dir_path)
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\build/mach_initialize.py", line 177, in initialize
        import mach.main
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\main.py", line 34, in <module>
        from .logging import LoggingManager
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\logging.py", line 15, in <module>
        raise e
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\logging.py", line 12, in <module>
        import blessings
      File "c:\users\sasch\documents\github\gecko-dev\third_party\python\blessings\blessings\__init__.py", line 5, in <module>
        import curses
      File "C:\Users\sasch\AppData\Local\Programs\Python\Python310\lib\curses\__init__.py", line 13, in <module>
        from _curses import *
    ModuleNotFoundError: No module named '_curses'
    ```

    Seemingly [`windows-curses`](https://pypi.org/project/windows-curses/) should be installed together as a dependency. Investigating how to add a dependency to moz-central...

2. Something still turns off virtual terminal somewhere, but doesn't seem to always happen?
Okay, getting the latest MSYS installation and running `pacmac -Suy` solves comment #7. What's still broken is that:

1. [`import blessings`](https://searchfox.org/mozilla-central/rev/0a2eba79c24300ce0539f91c1bebac2e75264e58/python/mach/mach/logging.py#12) fails: 

    ```
    Traceback (most recent call last):
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 111, in <module>
        main(sys.argv[1:])
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 103, in main
        mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 35, in check_and_get_mach
        return load_mach(dir_path, mach_path)
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\mach", line 21, in load_mach
        return mach_initialize.initialize(dir_path)
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\build/mach_initialize.py", line 177, in initialize
        import mach.main
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\main.py", line 34, in <module>
        from .logging import LoggingManager
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\logging.py", line 15, in <module>
        raise e
      File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mach\mach\logging.py", line 12, in <module>
        import blessings
      File "c:\users\sasch\documents\github\gecko-dev\third_party\python\blessings\blessings\__init__.py", line 5, in <module>
        import curses
      File "C:\Users\sasch\AppData\Local\Programs\Python\Python310\lib\curses\__init__.py", line 13, in <module>
        from _curses import *
    ModuleNotFoundError: No module named '_curses'
    ```

    Seemingly [`windows-curses`](https://pypi.org/project/windows-curses/) should be installed together as a dependency. Investigating how to add a dependency to moz-central...

2. ~~Something still turns off virtual terminal somewhere, but doesn't seem to always happen?~~ `GetConsoleMode` returns 0 right after writing `config.status` but this doesn't seem to affect anything. Only 3 is problematic AFAICT.

Back to Bug 1744340 Comment 8