• camfrout

    Thanks a lot both. All the different solutions are working.

    posted in Pythonista read more
  • camfrout

    No luck even after closing Pythonista 2.

    My current versions are:
    requests - 2.5.1
    OpenSSL - 1.0.1g 7 Apr 2014

    posted in Pythonista read more
  • camfrout

    Hi everyone,

    I read in the doc and on the forum that text fields have an action attached to them. When I looked in the UI editor, I don't see the possibility to define an action (but I do have this possibility on a button for example).

    I also tried to manually edit my pyui to add an action on my TextField but it is never triggered.

    Is there a way to define such an action without putting in place all the delegate piece of code?

    Best regards,

    posted in Pythonista read more
  • camfrout

    Thanks for the reply. I have removed requests from stash but no luck, it is still failing.

    Although it is working with the Beta of Pythonista 3, using python 3.

    posted in Pythonista read more
  • camfrout

    Hi everyone,
    I am trying to set up a connection to a https website using requests with the following:

    import requests
    ...
    requests.get(url)
    

    When I try to run my script, I receive an error 14077438 (from _ssl.c:504). And if I look at the console, the following error appears: "InsecurePlatformWarning xxx.../urllib3/util/ssl_.py:122: A true SSLContext is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning"

    I have installed 3 additional pip packages through stash as read on this page: https://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support/18579484#18579484 but no luck...

    Packages:
    pyOpenSSL
    ndg-httpsclient
    pyasn1

    Any idea if it is possible to fix this issue in Pythonista2?
    Thanks a lot

    Benoit

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!