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.
Run with arguments always crashes and keyboard bugs.
-
Hi,
I've been using Pythonista for about a month now, but I just cannot run my scripts with arguments. The app immediately crashes if I do so. I have tried this with both 'Hello World' scripts and those that actually parse the arguments.
I am on iPad Air 2 with iOS 8.1.2. There is ample of free space (> 30 GB).
Here is the crash log (picked up from Diagnostics and Usage in iOS Settings):
https://gist.github.com/anonymous/404956ebf73b299075f8
The other issue is the keyboard. It behaves in a really weird way when you split it and the extra keys added by Pythonista are not usable at all. Here are a bunch of screenshots:
http://m.imgur.com/2YBseeD,eqP6uyQ,wdtRILS
In one of the screenshots you can see that the extra keys are aligned properly. But you cannot actually tap them. If you do, the click actually gets registered on the editor and it shows you the copy paste menu.
I really like this app and appreciate the hard work that has gone into creating it. But due to these issues I cannot yet integrate it properly in my workflow. I hope these get fixed quickly.
-
The kb problem seems like an ios8 problem, or else a new problem with pythonista an ios8. In ios7 on pythonista, the behavior is different. Do you really use a split keyboard?
How are you running scripts with arguments? Through long tap play button? Or through pythonisita:// Uris?
You might try
pythonista://MyScript?action=run&argv=foo&argv=bar
As a temporary workaround. -
Can you run this?
import sys print(sys.argv)
Tap-and-hold on the run button and enter
1 2 3
in the dialog and tap Run. -
@JonB
I don't have an iOS 7 device to test, but the split keyboard feels much faster/convenient to me as I have smallish hands. It's not a terribly important feature to have though.@ccc
That script too crashes if I run it with args from within the app by holding the Run button. But it works fine if I do it using the URL scheme as JonB suggested.