Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Stash git push -> crash
-
I re-installed stash which also redownloaded dulwich. Still crashes.
I am working with only small text files at the moment.
I will try with another repo... Still crashes.
-
What iOS version are you using?
Seems like one of the stash objc calls is crashing. Not sure what it could possibly be... unless you are using one of ios betas, where maybe something has been depreciated...
IiRc stash has a debug logging mode which logs all objc calls, so we can see what is crashing specifically. Check the stash repo issues list, ywangd walked someone through this once...
-
@JonB, thanks.
I am running the latest iOS 10, non-beta.
I searched the stash issue list for 'log' and 'debug', but could not find anything like you described.
Meanwhile, concerned for the safety of my code and to get the larger binaries working, I jumped ship to Working Copy. Not nearly as convenient as stash, but workable.
-
in launch stash, add 'stdout':false to log_setting.
log_setting = { 'level': ns.log_level, 'file': ns.log_file, 'stdout':False }
Then uncomment all or some of the debug settings in the next block. Finally, run with arguments (long press play) --log-level DEBUG
This should log to stash.log in Documents.
-
Does
>> import keychain >>> keychain.get_services()
crash? That is maybe the objc call crashing...
-
@JonB, yes, it does crash, with the same exception and identical fault data.
-
Ahh. Okay, this is an @omz question then -- keychain probably should not be crashing!
which pythonista version are you using? (beta/app store version)
-
@JonB, I am using the latest App Store version 3.1, which has not been updated for months, while this problem just appeared.
-
I have read a few places that keychain implementations might crash with ios10 if keychain sharing is not enabled by the developer. It is strange if it is just starting to crash and was working before. have you changed any icloud settings?
You could also try keychain.reset_keychain() -- maybe something got corrupted -
That did the trick.
get_services now works, and git push as well.
Of course, all the passwords are gone, but I think corrupted keychain would have been a bigger pain going forward.
Sincere thanks for leading me to the root cause.