tadeuzagallo / GithubPulse

OS X StatusBar app to help you remember to contribute every day on Github
http://tadeuzagallo.com/GithubPulse
MIT License
542 stars 20 forks source link

GithubPulse crashes on open. #22

Closed octalmage closed 9 years ago

octalmage commented 9 years ago

GithubPulse won't open for me :(

Here's my OS details:

And here's the output:

2015-01-16 03:01:40.745 GithubPulse[1420:3275370] -[_TtC11GithubPulse11AppDelegate initWithCoder:]: unrecognized selector sent to instance 0x7f96b8d66c60
2015-01-16 03:01:40.747 GithubPulse[1420:3275370] An uncaught exception was raised
2015-01-16 03:01:40.747 GithubPulse[1420:3275370] -[_TtC11GithubPulse11AppDelegate initWithCoder:]: unrecognized selector sent to instance 0x7f96b8d66c60
2015-01-16 03:01:40.748 GithubPulse[1420:3275370] (
    0   CoreFoundation                      0x00007fff89aaaf1c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff896d374e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff89aade4d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x00007fff899f63c4 ___forwarding___ + 1028
    4   CoreFoundation                      0x00007fff899f5f38 _CF_forwarding_prep_0 + 120
    5   AppKit                              0x00007fff8b8be8bb -[NSClassSwapper initWithCoder:] + 502
    6   Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    7   Foundation                          0x00007fff929ad896 _decodeObject + 278
    8   AppKit                              0x00007fff8b896122 -[NSNibConnector initWithCoder:] + 106
    9   AppKit                              0x00007fff8b895fad -[NSNibOutletConnector initWithCoder:] + 75
    10  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    11  Foundation                          0x00007fff929af611 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1871
    12  Foundation                          0x00007fff929af825 -[NSArray(NSArray) initWithCoder:] + 200
    13  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    14  Foundation                          0x00007fff929ad896 _decodeObject + 278
    15  AppKit                              0x00007fff8b894c42 -[NSIBObjectData initWithCoder:] + 200
    16  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    17  Foundation                          0x00007fff929ad896 _decodeObject + 278
    18  AppKit                              0x00007fff8b894a1c loadNib + 300
    19  AppKit                              0x00007fff8be0dd90 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
    20  AppKit                              0x00007fff8b894145 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
    21  AppKit                              0x00007fff8b893f11 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 344
    22  AppKit                              0x00007fff8b88fe49 NSApplicationMain + 605
    23  GithubPulse                         0x000000010986bc51 GithubPulse + 35921
    24  libdyld.dylib                       0x00007fff94c3e5c9 start + 1
)
2015-01-16 03:01:40.750 GithubPulse[1420:3275370] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtC11GithubPulse11AppDelegate initWithCoder:]: unrecognized selector sent to instance 0x7f96b8d66c60'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff89aaaf1c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff896d374e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff89aade4d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x00007fff899f63c4 ___forwarding___ + 1028
    4   CoreFoundation                      0x00007fff899f5f38 _CF_forwarding_prep_0 + 120
    5   AppKit                              0x00007fff8b8be8bb -[NSClassSwapper initWithCoder:] + 502
    6   Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    7   Foundation                          0x00007fff929ad896 _decodeObject + 278
    8   AppKit                              0x00007fff8b896122 -[NSNibConnector initWithCoder:] + 106
    9   AppKit                              0x00007fff8b895fad -[NSNibOutletConnector initWithCoder:] + 75
    10  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    11  Foundation                          0x00007fff929af611 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1871
    12  Foundation                          0x00007fff929af825 -[NSArray(NSArray) initWithCoder:] + 200
    13  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    14  Foundation                          0x00007fff929ad896 _decodeObject + 278
    15  AppKit                              0x00007fff8b894c42 -[NSIBObjectData initWithCoder:] + 200
    16  Foundation                          0x00007fff929ae540 _decodeObjectBinary + 2872
    17  Foundation                          0x00007fff929ad896 _decodeObject + 278
    18  AppKit                              0x00007fff8b894a1c loadNib + 300
    19  AppKit                              0x00007fff8be0dd90 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
    20  AppKit                              0x00007fff8b894145 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
    21  AppKit                              0x00007fff8b893f11 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 344
    22  AppKit                              0x00007fff8b88fe49 NSApplicationMain + 605
    23  GithubPulse                         0x000000010986bc51 GithubPulse + 35921
    24  libdyld.dylib                       0x00007fff94c3e5c9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Anyway, amazing idea for an app! I have an alarm to remind me to commit but this seems more elegant.

:+1:

tadeuzagallo commented 9 years ago

Hey, thanks for reporting, I'm glad you liked the app! Honestly, I'm not so sure what's causing it and I can't test it in your OS' version, but I've tried to fix it.

If you please could try this build and tell me if it's fixed for you I'd appreciate!

octalmage commented 9 years ago

Unfortunately it's still crashing, I'll take a look and see if I can figure anything out!

tadeuzagallo commented 9 years ago

Which version of Github Pulse are you running?

Since you are still running the beta release of Yosemite it could be some Swift feature that has changed or wasn't implemented at the time. It's a long shot, but it's all I can think about since no one else has reported it.

octalmage commented 9 years ago

I just tried v0.3.0 and it's still crashing. I know it's hard to troubleshoot when you can't reproduce, so I'll take a look when I have some time! It could also be my Xcode version (using a beta version aswell).