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

[mypaint] After installing can't launch mypaint #20787

Closed
2 of 7 tasks
aandrejevas opened this issue May 2, 2024 · 1 comment · Fixed by #20950
Closed
2 of 7 tasks

[mypaint] After installing can't launch mypaint #20787

aandrejevas opened this issue May 2, 2024 · 1 comment · Fixed by #20950
Labels

Comments

@aandrejevas
Copy link

Description / Steps to reproduce the issue

  1. pacman -S mingw-w64-ucrt-x86_64-mypaint
  2. open UCRT64 environment
  3. launch mypaint
  4. An error is printed to console. Brushes are not found because of a path issue it seems.

Expected behavior

mypaint would launch successfully.

Actual behavior

image

Verification

Windows Version

MSYS_NT-10.0-19045

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No response

@Biswa96
Copy link
Member

Biswa96 commented May 19, 2024

Thank you for reporting the issue. I have added a pull request to fix this issue. It happens because the $MINGW_PREFIX/lib/mypaint/lib/config.py file contains the build directory from CI as following.

mypaint_brushdir = u'D:/a/msys64/ucrt64/share/mypaint-data/2.0/brushes'

This is fixed by changing that path to current installation directory after installing the mypaint package. The issue should be fixed by mypaint package version 2.0.1-5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants