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.
Bug list for beta release 160037
-
BUG:
ui.TableView
does not respect eitherframe
orflex
attributes. Meaning, it never resizes if you do it programmatically. I haven't tried it another way. A work-around for those wondering:table = ui.TableView() table_pntr = ObjCInstance(table) table_pntr.frame = CGRect(CGPoint(0,0), CGSize(500,500))
Also, can we get a
PhysicsNode
in thescene
module? -
blmacbeth, the issue seems to be that these are not accepted in the constructor. However, setting .frame and .flex attributes after you create the TableView works fine.
import ui v=ui.View(frame=([0,0,200,200])) t1=ui.TableView() t1.frame=(0,0,200,200) t1.flex='w' t2=ui.TableView() t2.frame=(0,250,300,300) v.add_subview(t1) v.add_subview(t2) v.present('panel')
-
I have noticed that sys.lath no longer contains . or Documents.
I thought in 160032 this was changed to- Changed the order of
sys.path
once more, so that files in the main documents folder can't shadow standard library modules anymore. Imports from the current directory should also work again.
which I think had documents and '.' just at the end...
- Changed the order of
-
@JonB The directory of the current script is still in
sys.path
, just as an absolute path instead of.
. I don't remember the details right now, but there were some subtle problems with having.
insys.path
.I think Documents used to be in the import path, but I don't really think it should be there. That's what site-packages is for.
-
There's still that bug in syntax highlighting where if you have multiple same-line imports (
import ui, os
) only the first module will be correctly highlighted. -
@omz
Oh, I see, the starting path of a script is added to sys.path as an absolute path, but not in the interactive console, and not when using chdir. That leads to a confusing situation where imports work when running a script, but not when pasting the same line by line.There is something else strange happening with
from . import xxx
package imports, but not sure if it is related. Gittle imports did not workfrom . import path
(complained about path, perhaps there is a conflicting path.py?). Strangley this woed wh gittle was in site-packages, but not whn it was in stash/lib ( and that path was on sys.path). I will need to experimt with this a bit. -
The current beta expires in 21 hours.
-
13 hours now... Getting down to the wire
While it would be interesting to see what happens when the beta expires. I really prefer not to find out 😰 -
I've found the best way to contact @omz directly is through Twitter. The new beta is "processing" https://twitter.com/1defenestrator/status/670962735560134656
-
@Webmaster4o , thanks, I am not stressing about it. Just a bit of fun. If it goes off online for a day, will give me time to reflect 🤕😃
-
I've uploaded a new build a couple of hours ago. It's still "processing" unfortunately (always a bit unpredictable how long that takes). If the current build expires before the new one is ready, you'll get a "beta expired" alert when trying to launch it, but it won't disappear from your device or anything like that. You might still want to make a backup of your files.
-
Just wanted to report - 15 hours since your post and the beta is expired but the new one hasn't shown up yet.
-
It's there now.
Woke up to find the 037 beta waiting in TestFlight! -
updated this thread for latest build.
Can anyone on ios8 using a 32 bit device check if the extension works? i.e safari share sheet, does clicking Run Pythonista Scropt do anything? this is the second build for me where it does not.
-
@omz just curious do you archive/export the bundle and then upload or do you upload through the archive manager in Xcode?
-
With the built in traceback viewer, IndentationError (expected an indented block) does not highlight the line number in the editor. This is strange, as IndentationError is a subclass of SyntaxError, which does highlight the offending line.
-
@JonB said:
Can anyone on ios8 using a 32 bit device check if the extension works? i.e safari share sheet, does clicking Run Pythonista Scropt do anything? this is the second build for me where it does not.
Thanks, I just tested it on an iPad mini with iOS 8, and it doesn't work here either. I'm looking into it, not sure yet what to make of the crash log.
-
@JonB Turns out I had accidentally left some testing code there that was using ReplayKit (iOS 9 only).
-
Not sure if this one is new or now, but the editor seems to be stripping of trailing newlines from files. I have not completely confirmed this yet, or whether it is a dulwich thing, or an editor thing, but my git is showing any file i open gets the final newline removed.
-
No, this is a feature of the editor, and it's been in for a while. (IIRC I included it on one of my long bug/suggestion lists at some point.)