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.
Pythonista 1.6 Beta
-
@wradcliffe
Thanks so much for your thorough post - very helpful! I'm going to see what I can come up with using your tips and gotchas. -
I had an odd occurrence today in the IDE. I came back to my iPad after leaving it sit for a few hours. Went into Pythonista and found my self browsing in the App bundle section of the environment. It was COOL. When I moved down into Documents folder again it was all over and I can't say how I got into the place. Is there some trick to getting there in the IDE that is know? Now that I know it's possible - I want it!
UPDATE: I figured it out. Use importfinder to open up the code to a module like "wave" in the editor. Then make Pythonista exit while the editor is open. Start up Pythonista again and you find it browsing the directory where that code exists. It is a long way back from this location using the Back button to get to Documents again.
-
@wradcliffe, this has always been possible, albeit with the help of a few scripts. I don't think Apple's kernel sandboxing applies to the accessibility of the app bundle. The method in which you were able to access the app bundle is strange, to say the least.
-
Paramiko module version included in 1.6 beta?
This is a pretty minor question, but I thought I'd ask: Would someone helping with the 1.6beta mind checking this? (In REPL/Console just enter 'import paramiko;paramiko.__version__' )
Pythonista 1.5 comes with v1.13.0 of this module. I've been digging into the Paramiko APIs the past few weeks and was just wondering if the included version had been updated.
Thanks!
-
Just checked, the 1.6 beta has the same version of paramiko as 1.5.
-
Only a few more days till this beta build expires, a new one coming soon? Still some thoughts of mine:
- [Bug] When archiving a folder/picking a script to send as an email in the export menu, the email share sheet is never presented.
- [Bug] Some scripts are deleted after accessing them, then closing the app. The file remains, but is blank when an attempt is made to access it.
- [Feature Request] Color picker dialog
- [Feature Request] In form dialog - when a password field is added, can we set the placeholder to be in regular text instead of password (hidden) text?
- [Feature Request] iOS Calendar Module (similar to reminders module)
-
Will 1.6 include functional Xcode export? The current 1.5 template-based approach is broken with the latest Xcode.
Thanks.
-
Also what @glennholt said :)
-
@omz I'm starting to get a lot of pythonista crashes. It started in the last build and just before the current release, pythonista would not open. After updating to the current build, pythonista was working again. I'm starting to have issues again. When I backspace or paste into pythonista, it crashes back to springboard. It happens very often. I'm using an iPad Air latest iOS. I've cleared ipad memory and rebooted the ipad, neither seem to fix the issue.
-
@briarfox @omz I just started getting them too. I tried adding from Gist using the Workflow.app workflow and it crashed. I was at work so didn't have time to fiddle. Trying to open now and it crashes instantly, can't open at all. Reinstalled from test flight with no change. No I haven't tried restarting my device yet. I know.. I'm going to shortly ;)
Just wanted to let it be known after seeing the above post. Was going to wait until later, you know, after I tried restarting my phone, but I have the time right now so why not? Mine is on iPhone 5, latest 1.6 beta build.
-
@the_buch At least it's not just my ipad :)
-
@dgelessus: tnx! (re: Paramiko ver. in 1.6beta)
-
@ole Just updated to the latest 1.6. Just got a crash when I tried to paste ~2 lines. Lost 10 min of work :( Happens with both long press paste and cmd+v
-
@briarfox Do you remember where the text you pasted came from?
-
@omz I was text from lower in the script I was working on. Backspace when used to remove new lines occasionaly crashes as well. Ilm not entirely convinced that it is pythonista. I have reset my ipad air without much luck. I'm testing to see if it's possibly the bt keyboard. However, on the crash the current script loses all changes from when it was initialy opened. Seems to be the only way to save progress is to close pythonista after a few minutes work.
-
@omz Looks like it's my BT Keyboard, Just switched to an old one and no issues. Sorry for the hasty bug report.
Scratch that, Same issue with my other keyboard. Does seem to be caused by the BT keyboard. I have not had it happen with used the on screen keyboard.
-
FYI, sliding open the file browser on the left side saves the script as far as I can tell. There's no need to leave the app or open another file.
-
@omz I emailed the crash report.
-
For what it's worth, I have seen Pythonista crash when editing text files that have non native line endings. I have downloaded a lot of code from various projects on Github and via simple copy paste and occasionally run into source code in the editor that looks like it has an extra space on the ends of lines. I think this means that the lines are cr-lf terminated. Usually you can just clean the text up manually by deleting the extra "spaces" at the ends of the lines. However, doing this with some files can cause Pythonista to crash as you backup (delete) one of these characters. The crashes for these files seem more frequent on blank lines (no text other then the single extra "space"). I avoid these crashes these days largely by avoiding copy pasting code into Pythonista from random websites. I wish I had a sample to provide, but could not find one today.
-
On deleting Carriage Returns causing crashes: http://omz-forums.appspot.com/pythonista/post/5289645013204992 and http://omz-forums.appspot.com/pythonista/post/6431833046646784