Skip to content

Running and colors issues on Windows #206

@wolframhaussig

Description

@wolframhaussig

Describe the bug
Hi, I stumbled over your project and as I want to try it out I figured I could just use the latest V2 release canditate. So I installed Python (Python 3.8.10) and used pip install gitlabform==2.0.0rc3 to install gitlabform. I have 2 separate problems:

  1. if I call gitlabform in Windows CMD or powershell it does not work because windows does not recognise the missing file ending. CMD or powershell requires python C:\Users\[redacted]\AppData\Local\Programs\Python\Python38\Scripts\gitlabform -V.
  2. if I call gitlabform -V in the git bash the program works but it does not correctly output the colors:
    image

It would be great if the script would either work from CMD/Powershell also or that a recommandation for using git bash or something similar is mentioned.
Also, is there a way to make the color output work on windows or at least do not show it on windows as the escape sequences make it hard to read?

GitLabForm version: v2.0.0rc3

Output of gitlabform -V:

�[0m GitLabForm version: �[34m2.0.0rc3 �[0m�[0m = pre-release  (the latest stable is �[34m1.23.0�[0m)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions