• mikael

    Wondering what is the point of this kind of spam that does not even have a link in it?

    posted in Pythonista read more
  • mikael

    @tomomo, I suggest you check your understanding of which sshtunnel address is which. Is your jump server address really 123.123.123.123? load_url should use 127.0.0.1, i.e. the local endpoint of the tunnel - you can use the local_bind_address to specify the port.

    Also, would recommend the with ... as tunnel: format to manage the opening and closing of the tunnel.

    (ScrollView is not needed, WebView can scroll on its own.)

    posted in Pythonista read more
  • mikael

    @sodoku, yes, but it seems a bit more involved. Check this thread where @cvp does all kinds of magic.

    posted in Pythonista read more
  • mikael

    @tomomo, check out this convenient-looking sshtunnel module.

    It is Python-only, installed cleanly and did not throw any errors before not connecting because I do not have a convenient SSH endpoint around.

    posted in Pythonista read more
  • mikael

    @shinyformica, ok, thanks.

    There is the option of turning retain_global off, if you want to take over the responsibility of making sure that Gestures sticks around. Or did you have some clever way of not needing to worry about that?

    Also, a PR or some lines of code for the handler function would be welcome.

    posted in Pythonista read more
  • mikael

    @tomomo, trying to understand what you are trying to do.

    Creating an ssh tunnel, then opening a localhost page in WebView?

    posted in Pythonista read more
  • mikael

    @jadenfrancis, if the Pythonista inline help is not enough, googling ”python whatever” always gives me an appropriate stackoverflow answer. :-) Failing that, this forum is beginner friendly.

    posted in Pythonista read more
  • mikael

    @shinyformica, @JonB, just took another look at Gestures, which uses the mind-boggling? combo of retain_global and weakrefs, but seems to work ok for most people. Is there a clear advantage to the pyobject approach that would recommend refactoring Gestures?

    posted in Pythonista read more
  • mikael

    @shinyformica, I have just stored a direct reference to the python object, or earlier also maintained a lookup dict for this purpose. Then taking some care to clean up at the end.

    posted in Pythonista read more
  • mikael

    Or still consider multipeer as it will reconnect and deliver the messages even if the IP changes.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!