omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. ttobias

    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 1
    • Posts 7
    • Best 3
    • Controversial 0
    • Groups 0

    ttobias

    @ttobias

    8
    Reputation
    662
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ttobias Unfollow Follow

    Best posts made by ttobias

    • RE: Wish list for next release

      Hi,
      I don't know if it has already been mentioned somewhere but it would be nice if the app shows that it's running a script via url "api".
      If the app starts up and is not returning from a suspended state it just shows the initial screen and I am not sure if the script is running
      The small indicator with the script name would be nice for the first start up

      posted in Pythonista
      ttobias
      ttobias
    • RE: Abandonware?

      For me it's not the lack of updates of the app but the lack of communication from the developer.
      The app works fine for me currently but there will be something in the future which breaks and I'm not sure if it will be fixed.
      Even this forum, I wouldn't be surprised if from one day to the next it just goes offline, simply because no one is paying the bill any more or something breaks in the web stack and no one is there or willing to fix it.

      posted in Pythonista
      ttobias
      ttobias
    • RE: New Beta for Pythonista 3.3

      @omz Would it be possible to add some basic Apple Watch support because Apple removed the Shortcuts app on the watch so there's currently no easy way to do some basic programmable stuff on the watch without Siri interaction, at least that I am aware off.

      For example I have a shortcut which gets a json via a secret https url and formats the output nicely or another one which triggers same IoT actions.

      It would be nice to do this with Pythonista.

      General question: Does the TestFlight Beta override the installed app or is this separated?

      posted in Pythonista
      ttobias
      ttobias

    Latest posts made by ttobias

    • RE: 'No route to host' error in beta 340009 when using multicast

      @omz Thanks, sure no problem.
      It's definitely a special use case.
      If you can't convince Apple that's no major problem for me all around I'm very happy with the latest update.

      posted in Pythonista
      ttobias
      ttobias
    • RE: Pythonista 3.4 is out!

      @omz Thanks for the update, works great.
      Could you check if it is possible fix Multicast Networking?
      https://forum.omz-software.com/topic/8035/no-route-to-host-error-in-beta-340009-when-using-multicast

      posted in Pythonista
      ttobias
      ttobias
    • RE: 'No route to host' error in beta 340009 when using multicast

      @ccc Makes sense, I changed it in the code if someone wants to use the code.
      But the error is happening in the line above the while loop.

      The .sendto(...) is already failing with the 'No route to host' error.
      The script works fine if executed on a desktop, so I assume it might be related to the missing capability.

      posted in Pythonista
      ttobias
      ttobias
    • 'No route to host' error in beta 340009 when using multicast

      Hi,

      I have a script to discover devices on the local network which seems to no longer work.

      The error is:
      ssdp_socket.sendto('\r\n'.join(msg).encode('ascii'), (dst, 1900))
      OSError: [Errno 65] No route to host

      I know this worked before but not sure when.
      I just started using Pythonista again with the new beta.
      Could it be that the beta does not have the Multicast Networking capability?
      https://developer.apple.com/forums/thread/715204

      Minimal example:

      import socket
      import sys
      
      dst = "239.255.255.250"
      port = 1900
      
      msg = [
          'M-SEARCH * HTTP/1.1',
          f'Host:{dst}:{port}' ,
          'ST:upnp:rootdevice',
          'Man:"ssdp:discover"',
          'MX:1',
          '']
      
      ssdp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
      ssdp_socket.settimeout(10)
      ssdp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
      ssdp_socket.sendto('\r\n'.join(msg).encode('ascii'), (dst, port))
      
      while True:
          try:
              data, addr = ssdp_socket.recvfrom(32*1024)
          except socket.timeout as e:
              print(f"{e = }")
              break
          print("[+] %s\n%s" % (addr, data.decode('ascii')))
      

      (Edited based on @ccc suggestion)

      Thanks

      posted in Pythonista
      ttobias
      ttobias
    • RE: Abandonware?

      For me it's not the lack of updates of the app but the lack of communication from the developer.
      The app works fine for me currently but there will be something in the future which breaks and I'm not sure if it will be fixed.
      Even this forum, I wouldn't be surprised if from one day to the next it just goes offline, simply because no one is paying the bill any more or something breaks in the web stack and no one is there or willing to fix it.

      posted in Pythonista
      ttobias
      ttobias
    • RE: New Beta for Pythonista 3.3

      @omz Would it be possible to add some basic Apple Watch support because Apple removed the Shortcuts app on the watch so there's currently no easy way to do some basic programmable stuff on the watch without Siri interaction, at least that I am aware off.

      For example I have a shortcut which gets a json via a secret https url and formats the output nicely or another one which triggers same IoT actions.

      It would be nice to do this with Pythonista.

      General question: Does the TestFlight Beta override the installed app or is this separated?

      posted in Pythonista
      ttobias
      ttobias
    • RE: Wish list for next release

      Hi,
      I don't know if it has already been mentioned somewhere but it would be nice if the app shows that it's running a script via url "api".
      If the app starts up and is not returning from a suspended state it just shows the initial screen and I am not sure if the script is running
      The small indicator with the script name would be nice for the first start up

      posted in Pythonista
      ttobias
      ttobias