PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.74k stars 267 forks source link

Pinta doesn't start after installing on Windows #859

Closed Lehonti closed 3 weeks ago

Lehonti commented 3 weeks ago

I tried downloading and installing the last development build of Pinta on my Windows machine, and I could not get it to run. Also, going to the installation folder and manually running ./Pinta.Exe does not report any error.

After trying several builds, I noticed that before a certain commit, Pinta runs fine, but after it, it doesn't. Also, the changes introduced by that commit don't seem to be anything that would make the application crash. Also, it runs fine on Ubuntu, so I don't think it's a crash.

I'm using Windows 11. This is how I'd reproduce it:

badcel commented 3 weeks ago

Perhaps this is ci related? (That around of the time of the commit something changed on the ci runner side?)

cameronwhite commented 3 weeks ago

There was also this bug report on launchpad (https://bugs.launchpad.net/pinta/+bug/2065959) which suggested that the problems started earlier? But maybe something on the CI side was reverted and then reapplied later.

Is there any output if you try launching Pinta.exe from a console? I'm not sure offhand if Windows will show console output for a GUI app, but maybe try Pinta.exe > output.txt 2>&1

Lehonti commented 3 weeks ago

Indeed, if I just run ./Pinta.exe it doesn't show any output.

Running ./Pinta.exe > output.txt 2>&1 creates an empty file output.txt.

cameronwhite commented 3 weeks ago

There was a missing dll dependency for the packaged GTK libraries, so this was probably triggered by an MSYS update at some point. Please give the latest build a test to see if it works for you now. It's working for me on Windows 10 with the latest commit

Lehonti commented 3 weeks ago

Yes @cameronwhite, it runs now. Thanks for taking a look, and opening a related issue :)