omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Penguin Master

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 27
    • Best 2
    • Controversial 0
    • Groups 0

    Penguin Master

    @Penguin Master

    2
    Reputation
    694
    Profile views
    27
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Penguin Master Unfollow Follow

    Best posts made by Penguin Master

    • RE: PyMongo ServerSelectionTimeoutError

      @ccc Thanks, but that's not the same error and besides, I'm already using dns.resolver

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: Is it possible to get discord.py up and running on Pythonista

      Hello! I had this problem. What you need to do is add this to the top of your code:import ssl ssl.match_hostname = lambda cert, hostname: True and for the other error, just close and open the app. Hope it works for you!

      posted in Pythonista
      Penguin Master
      Penguin Master

    Latest posts made by Penguin Master

    • RE: PyMongo ServerSelectionTimeoutError

      @JonB thank you so much! It's working perfectly again :)

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: PyMongo ServerSelectionTimeoutError

      @JonB Update: that sadly didn't fix it. I'm getting the exact same error still. Are there any other possible solutions? Thanks

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: PyMongo ServerSelectionTimeoutError

      @ccc Thanks, but that's not the same error and besides, I'm already using dns.resolver

      posted in Pythonista
      Penguin Master
      Penguin Master
    • PyMongo ServerSelectionTimeoutError

      Hi, I'm trying to use PyMongo and MongoDB with Pythonista 3, but I'm getting this error:

      pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed: redacted-db-shard-00-02.loevh.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749),SSL handshake failed: redacted-db-shard-00-01.loevh.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749),SSL handshake failed: redacted-db-shard-00-00.loevh.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
      
      

      Ignore the redacteds, I just put those to hide the sensitive info. I know the URL is right, because I tested that exact connection URL on MongoDB (with the same code), so the issue is with Pythonista/iPadOS. Thanks in advance :)

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: Hide status bar using ui module

      @cvp that's ok :/

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: Hide status bar using ui module

      @cvp I'm not sure exactly how to do this. Can you point me in the right direction? Here's my current code

      import ui
      
      from objc_util import UIApplication
      
      subview = ui.WebView()
      
      subview.load_url("https://google.com")
      
      view = ui.View()
      
      view.add_subview(subview)
      
      view.present("fullscreen", hide_title_bar=True)
      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: Hide status bar using ui module

      @cvp so I make a main view into a subview instead?

      posted in Pythonista
      Penguin Master
      Penguin Master
    • RE: Hide status bar using ui module

      @DavinE thanks, but I meant the status bar. ¯_(ツ)_/¯

      posted in Pythonista
      Penguin Master
      Penguin Master
    • Hide status bar using ui module

      I'm making an app using pythonista, but the status bar is messing it up. How do I hide the status bar? I tried

      UIApplication.sharedApplication().statusBar().hidden = True 
      

      But is only made the app crash. What should I do to fix this? Thanks in advance

      posted in Pythonista
      Penguin Master
      Penguin Master
    • Pythonista "snippets" not working

      Hi, I set up a snippet called tick, and it doesnt work. It should replace with <|> but it doesnt work. Why is this?

      posted in Pythonista
      Penguin Master
      Penguin Master