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.
Python 3.x Progress Update
-
@RedDrago Thanks, I'll see if there is perhaps some incompatibility with iOS 8 (I don't test that very often, and I might actually drop iOS 8 support entirely in the final version).
-
I have tried several times on 2 iPads to use Testflight to install the latest beta of Pythonista 3 and each time it gets 95% (or so) done and then stops..the install never completes.
-
@ihf How long have you waited? It's fairly common for the installation/download to take a pretty long time, and the progress display isn't always accurate (especially for an app like Pythonista that contains a very large number of small files).
-
@ihf How long did you wait? I remember in earlier Pythonista betas the install times could be quite long, at least 15 minutes or so). Then again, my iPad likes to crash when updating apps, so my install times are probably not normal either. The install times have improved with current betas though.
@omz On the progress meter on the app icon, the download phase is the first 2/3 and the install phase is the last 1/3. On the progress meter in the App Store (and probably TestFlight too), it only shows the download progress and shows 100% for the entire install phase. The displays aren't inaccurate, they are just very strange, and they only show progress, not time spent/remaining.
-
@omz "Dyld Error Message: Symbol not found: NSArray0" seems to be error I'm getting. I tried googling the error and it seems if you remove and add CoreFoundation it fixes it. Or if you make the build target 8.4 that seems to fix it for some. Hope that error helps somewhat. Also makes sense to not support 8 anymore especially since anyone who experienced the horrors of 8 upgraded to 9. I might upgrade soon too and it might be because of your awesome app
-
@dgelessus I have waited hours. It does not complete. I tried deleting the old copy and it still stops just before completing the install. I have not deleted the copy of Pythonista 2.7, is that necessary?
-
@omz Thanks a lot, now the beta invite came to me too. Sorry for me being impatient.
I asked for this in the beta request, here is the duplicate. It would be great if there were more shortcuts for external keyboards in P3. For example, ctrl+tab for the tab switching would be a useful feature.
@ihf Beta works fine with the P2 installed. I think that the P2 existence doesn't matter for the P3 installation. Moreover, there's a P2 folder support in the P3, which means that P2+P3 should be ok.
-
@RedDrago Thanks, the problem seems to be that I accidentally built one of the shared frameworks with a deployment target of iOS 9 (the default setting). Should be easy to fix, but you'll have to wait for the next build (but that shouldn't take as long as the last one).
-
@omz Oh awesome yea thats not a problem atleast you found the problem
-
@filippocld That breakpoint thing won't work well on small iPhones. But let's use this as an excuse to pressure @omz into letting me have line numbers on my iPhone 5! (please)
-
@Webmaster4o If you really really want line numbers on the small screen, here you go:
from objc_util import ObjCClass ObjCClass('NSUserDefaults').standardUserDefaults().setBool_forKey_(True, 'EditorShowLineNumbersOnPhone')
(takes effect for editor tabs that are opened afterwards)
-
@ihf I had the same problem that you had in installing the new Pythonista3 beta on two of our four iPads here. No problems at all with the other two iPads.
After several failed attempts, I tried the pythonista3:// trick but that failed to work.
I went into Pythonista 2 and opened the Pythonista3 folder can copied over a few files and folders that I really wanted to preserve.
I then deleted all files in the Pythonista3 and then tried to reinstall. That failed.
Finally, I deleted the Pythonista3 app and reinstalling the app. That succeeded.
-
@omz @Webmaster4o +1 for line numbers (and/or wrap glyphs) pleeeease
-
@ccc I deleted Pythonista 3 and reinstalled from testflight. The install completed this time. Now when I start the app it dies immediately (goes straight to the IOS homescreen). Perhaps this is due to my iPad 3 running 8.1.2 and is JB? Pythonista (2.7) runs fine. Pythonista3 runs on my iPad mini.
-
@ihf Due to an oversight on my part, the current beta doesn't work on iOS 8, I'll try to make a new build available soon.
-
In Pythonista3 beta
import sympy
throwsNameError: name 'long' is not defined
. -
@ccc Not here. Are you sure you don't have a different version of SymPy in site-packages or something like that?
-
I have a problem with appex module. In actual Pythonista 3 Beta appex.get_url() does not get back with the actual URL from Safari. Anyone else got this?
Edit: This happens only while Python 3.5 is selected as default interpreter. Python 2.7 is working fine. -
Yes, the
appex
module seems to have some issues under Python 3:>>> import appex >>> appex.get_attachments() [] >>> appex.is_running_extension() False
Yes, this was run in the app extension.
-
@omz Another console-related issue - AFAICT since Pythonista 2.0,
console.set_color()
with no arguments does not reset the text color to default, like it did in Pythonista 1.5. This is especially an issue because there are light and dark themes - there is no text color that is easy to read on both light and dark backgrounds, so it's impossible to write a script that changes text color in a way that works with all themes.