-
Notifications
You must be signed in to change notification settings - Fork 40
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
Crash when pressing Install Key Bindings #1
Comments
@Eddpt thanks dude! Any chance for a crash report? |
Sure!
|
@Eddpt thanks for that! I'm having some issues symbolicating that though. Not sure if it's because I just changed the extension from .txt to .crash 😬 If you have the time I would appreciate if you could send me the original .crash file. |
There you go |
I'm getting this madness when I'm trying to symbolicate it
I tried all that google offered and couldn't make it symoblicate the thing 😱 I'll try to repro the crash or make some sense of it, cheers! |
Got something be following this gist https://gist.github.com/bmatcuk/c55a0dd4f8775a3a2c5a |
Seems to crash here |
Hmm, there's a lot of force unwrapping happening around those variables, as a general rule we should avoid it using However, are any of those files/variables at all related with something created upon enabling the plug-in? (System Preferences... -> Extensions -> All -> Enable Import) |
Yeah that's some bad code over there :D |
I can, but it is no longer crashing, if I can replicate it we could look at the file. Do you still want it? |
I'm guessing it crashes here |
Yeah send it over pls :) |
Yeah it's the same as mine... I'm rewriting that mess with force unwrapping now, hopefully it fixes the situation. Cheers! |
Refactored code to potentially fix #1
I tried installing it on macOS 10.12 (16A323) with Xcode 8.0 (8A218a) and every time I pressed
Install Key Bindings
theImport.app
was crashing.For some reason, changing the order of the following steps fixed it for me:
I had to:
instead.
Any reason why this could be happening?
Other than that, this extension is awesome!
The text was updated successfully, but these errors were encountered: