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
-
Though
path
is an optional argument toscene.ShapeNode(…)
, omitting it causes anattribute error
becauseNone
has noline_width
. Probably should be optionally assigned in line 287 of modulescene
:if path is not None: self.line_width = path.line_width
The workaround is to use an empty path in
scene.ShapeNode(path=ui.Path())
. -
Or start
scene.ShapeNode.__init__()
withpath = path or ui.Path()
-
While
import scene v=scene.Vector2(3,4) print(v/2)
works as advertised, adding
from __future__ import division
yields a
type error
(unsupported operand types). Seeoperator.__truediv__
why this is so.
The workaround is to multiply (print(v*(1/2))
), but obviouslyscene.Vector2.__truediv__ = scene.Vector2.__div__
would be much preferred. -
@ccc, your code works well, but what I didn't explain before is that I want to create a
ShapeNode
without an initialpath
, and set thepath
later. Creating a dummypath
at initiation works, but seems wasteful. Also took me some time to figure out, why my code wouldn't work -
Documentation Error
@omz, the Rect.inset api text appears to be wrong. The Rect param to pass in is not listed, omitted.
Is
Rect.inset(top, left[, bottom, right])
Think it should be
Rect.inset(other_rect , top, left[, bottom, right]) -
@Phuket2 The
inset
method doesn't have another_rect
parameter (and I'm not sure what you'd expect it to do, maybe there's a misunderstanding about what the method does?). -
Maybe
inset
is a normal method that you should call on aRect
instance (likea_rect.inset(...)
), and you're trying to call it as a static method (likeRect.inset(a_rect, ...)
). -
@omz , yes I see now. Title should have said brain error. Too much alcohol of Christmas and new year. Oh, well sorry.
@dgelessus , you are right. I was not calling on an instance as I should have been 🤐 I am going to go and crawl under a rock now. With a whisky of course 😱 -
One documentation bug is that under documentation for the
string
module as well as for the built-in-typestr
, after all methods being listed, they are all listed again under deprecated methods, with only the actually deprecated methods having badges as such. -
@JonB
in 2.0: (starting to update the running list as these are tested in 2.0)
* Deleting editor actions (from wrench) crashes pythonista in ios8.4.1 on ipad3.
* Copying from console does not work reliably if keyboard is shown (copy option is not shown, only paste. Can always be reproduced if opening s single wuote in console input, then trying to copy console output, but occurs in other situations as well) -
- In console prompt, if tapping an autocorrect prompt, it replaces your entire text
- On the extended keyboard on iPad, long pressing on a key in the top row will show a pop up, but this popup is invisible for the bottom row.
- In console prompt, if tapping an autocorrect prompt, it replaces your entire text
-
The link to the forums in 2.0 seems to be broken. it points to
http://omz-software.com/pythonista/forums
which returns an object not found error. -
@JonB The link you just posted redirects to https://forum.omz-software.com/category/5/pythonista for me.
-
@Webmaster4o I fixed the redirect after @JonB mentioned it. Thanks!
-
editor actions: the additional script arguments does not seem to work anymore. Nothing is sent, and editing the action again shows a blank for that field.
-
The builtin
paramiko
(version 1.13) has a bug which makes it incompatible with OpenSSH 6.7+. The error message isparamiko incompatible ssh peer
. This happened when I tried to connect to my laptop running OSX 10.11.Apparently
paramiko
1.15 and up fixed this bug. I tested it by manually install v1.16 and it worked.Also @JonB , maybe change the title to 2.0 instead of beta 160037?
-
The UI editor improperly fills out image path, nor does it display button images
The UI editor does not display the pop up "context menu" (delete/copy/subviews) unless an item is moved. (ipad3 ios8.4) -
This post is deleted! -
-
@Webmaster4o Under the three dots menu on each post there is an option "Flag this post for moderation", that's how I report spam posts at least. @omz Are you notified by the "flag" option, or is it better to mention you as well?