Forum Archive

Pythonista 3 Beta 9 Crash

Moe

Whenever I try to write a file, as soon as I input any character via the onscreen keyboard, Pythonista crashes. I have not tested it with a bluetooth keyboard, but I assume it has to do with the autocompletion. In the console it works fine.

I am on an iPad mini 2 (I think it is model number is 4,4) with iOS 8.3. Also I should add that I am jailbroken.

Tizzy

Hi Moe, do you mean you're trying to stream keyboard input to a file?

Could you provide an example of what you're doing?

omz

@Moe Are you using any keyboard-related jailbreak tweaks? Any chance you have a crash log?

JonB

I have this same issue, IPad3, ios8.4.1
Whenever typing in the editor, while I can paste, whenever I type any other character with the keyboard, it crashes. Happens both on .txt files and .py files. My device doesn't seem to record crash logs anymore (maybe i need to clear out existing in itunes)

Pasting works fine..

omz

@JonB Are you also jailbroken?

omz

Oh, I completely overlooked that you're both on iOS 8 (why!?). I guess it likely has to do with that... I'll look into it.

disorientedp

@Moe Why not upgrade to iOS 9? I'm also using the iPad mini 2. It's not noticeably slower and it frees up some space with the new "app thinning."

disorientedp

@Moe oh, wait—you'll lose your jailbreak. Never mind.

JonB

@omz I am not jailbroken, just on ios8.

@disorientedp Generally the only reason I ever have to upgrade major revisions of ios is when pythonista stops supporting the old version :) Otherwise I would still be on ios6 (begrudingly i admit ios7 was an improvement, but ios8+ has been nothing but regrets).

omz

Okay, I think I found the culprit. iOS 9 has a new API to set a "discoverability title" for keyboard shortcuts that is shown when the command key is pressed for a second or so. I added a new keyboard shortcut and forgot to check if that method is actually available before setting the title, so it crashes on iOS 8 whenever the system needs to know the list of available shortcuts...

Webmaster4o

@JonB said:

@omz I am not jailbroken, just on ios8.

@disorientedp Generally the only reason I ever have to upgrade major revisions of ios is when pythonista stops supporting the old version :) Otherwise I would still be on ios6 (begrudingly i admit ios7 was an improvement, but ios8+ has been nothing but regrets).

Why? You don't think that the improvements to inter-app sharing with iOS 8 were actually improvements? What features do you actually dislike rather than just not care much about?

omz

The crash should be fixed in the new build (300010). Please let me know if you're still seeing this after updating the beta.

Moe

@disorientedp Yep, because of the jailbreak I'm staying on iOS 8 for now. But I will upgrade to iOS 9, if/when Pythonista stops supporting iOS 8, just like @JonB :P

@omz It seems to be working fine now, at least it doesn't crash when typing. If something else occurs, I'll let you know!