kornelski / ImageAlpha

Mac GUI for pngquant, pngnq and posterizer
https://pngmini.com
GNU General Public License v2.0
470 stars 63 forks source link

Error: Unable to start ImageAlpha #1

Closed joshcarr closed 10 years ago

joshcarr commented 11 years ago

I receive the following message when tryign to start ImageAlpha:

Python/PyObjC program failed to start.
See Console.app for details.

Console.app has the following:

2/27/13 3:36:28.286 PM ImageAlpha[42235]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
2/27/13 3:37:25.528 PM com.apple.ShareKitHelper[41425]: --warning: [ShareKit-XPC] Received XPC_ERROR_CONNECTION_INVALID
2/27/13 3:37:25.529 PM com.apple.ShareKitHelper[41425]: --warning: [ShareKit-XPC] connectionWithClientInterrupted
2/27/13 3:37:25.529 PM com.apple.ShareKitHelper[41425]: --warning: [ShareKit] Cancel UI for running services with Client PID: 42235
2/27/13 3:37:25.532 PM com.apple.launchd.peruser.501[175]: ([0x0-0x159e59d].net.pornel.ImageAlpha[42235]) Exited with code: 255

I downloaded the following: http://pngmini.com/ImageAlpha1.2.5.1.tar.bz2

and am running OS X 10.8.2 on a MacBookPro Retina

kornelski commented 11 years ago

Weird. Googling shows that it's possible race condition in initialization of Cocoa.

Does this work?

http://pngmini.com/ImageAlpha1.2.5.2i1.tar.bz2

or this?

http://pngmini.com/ImageAlpha1.2.5.2i2.tar.bz2

joshcarr commented 11 years ago

Same error.

agos commented 11 years ago

Same error here, though the logs are a bit different:

08/04/13 12:03:52,620 ImageAlpha[2274]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
08/04/13 12:04:10,558 com.apple.launchd.peruser.501[309]: ([0x0-0xb59b59].net.pornel.ImageAlpha[2274]) Exited with code: 255
kornelski commented 11 years ago

Does the latest build fix it?

http://pngmini.com/ImageAlpha1.3.0.6.tar.bz2

Does it work on a fresh OS X user account?

agos commented 11 years ago

@pornel I have the same error, can't try on a fresh OS X user account.

jvhellemond commented 11 years ago

I filed a bug for this at Google Code: http://code.google.com/p/imagealpha/issues/detail?id=30

This leaves me unable to run fancy new 1.3.5 version (or any previous version). If it's any help, console says this:

19-11-13 21:11:55,339 com.apple.launchd.peruser.501[137]: ([0x0-0x13aa3a9].net.pornel.ImageAlpha[52398]) Exited with code: 255
jvhellemond commented 10 years ago

Any progress on this? Or a workaround? Thanks.

kornelski commented 10 years ago

Unfortunately I don't know any solution to this. You may try Pngyu instead.