Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make installation of Pygments (and Python) more robust #35

Open
tig opened this issue May 31, 2022 · 1 comment · May be fixed by #41
Open

Make installation of Pygments (and Python) more robust #35

tig opened this issue May 31, 2022 · 1 comment · May be fixed by #41
Labels
bug Something isn't working

Comments

@tig
Copy link
Owner

tig commented May 31, 2022

Describe the bug
winprint's pretty-print functionality (within the AnsiCte content type engine) utilizes Pygments (https://pygments.org/). The pygmentize.exe executable must be available and Python 3.7, 3.8, or 3.9 must be installed (other versions may work too).

The winprint installer currently installs pygmentize.exe in \Program Files\Kindel Systems\winprint which means pygments doesn't need installation, but if Python isn't installed or configured right pretty-print won't work.

There are lots of options for fixing:

  • Don't depend on pygments/python
  • Version check python in installer and install proper python version if needed
  • ...
@tig tig added the bug Something isn't working label May 31, 2022
@tig
Copy link
Owner Author

tig commented Jun 1, 2022

GUI now (PR #36) has a check with message box.

Still need to implement in console version and installer.

tig added a commit that referenced this issue Jun 1, 2022
@tig tig linked a pull request Sep 20, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant