omz:forum

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

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

    simon

    @simon

    1
    Reputation
    377
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    simon Unfollow Follow

    Best posts made by simon

    • RE: Reminders - Delete Calendar (List)

      Good Morning Both,

      Many thanks for your quick help!!!

      I have closed / killed the APP an restarted Pythonista. Now the proposed solution works.

      The issue is eventually, as I tried to delete the calendar with a name string instead of a calendar object in the beginning and the wrong solution was cached...

      posted in Pythonista
      simon
      simon

    Latest posts made by simon

    • RE: Reminders - Delete Calendar (List)

      Good Morning Both,

      Many thanks for your quick help!!!

      I have closed / killed the APP an restarted Pythonista. Now the proposed solution works.

      The issue is eventually, as I tried to delete the calendar with a name string instead of a calendar object in the beginning and the wrong solution was cached...

      posted in Pythonista
      simon
      simon
    • RE: Reminders - Delete Calendar (List)

      Hi, python 3.5 is indicated on the top. With both codes, I get the same error message (see below).

      =========================
      <Calendar "Delete Me!!!">
      0 <Calendar "Delete Me!!!">
      1 <Calendar "Delete Me!!!">
      2 <Calendar "Delete Me!!!">
      3 <Calendar "Delete Me!!!">
      Enter number of reminder to delete ("q" to quit): 1
      Traceback (most recent call last):
      File „(…)“, line 15, in <module>
      reminders.delete_calendar(calendars[i])
      TypeError: 'str' object is not callable

      Thanks again!

      posted in Pythonista
      simon
      simon
    • RE: Reminders - Delete Calendar (List)

      Hello,
      many thanks for your incredible fast reply! I copy-pasted and executed the code and received the following error message:
      (...)
      line 15, in <module>
      reminders.delete_calendar(calendars[i])
      TypeError: 'str' object is not callable
      (...)

      maybe it's a device setting then... kind regards,

      Simon

      posted in Pythonista
      simon
      simon
    • Reminders - Delete Calendar (List)

      I am desperately trying to delete a calendar (task list) by name, using the reminder class and delete_calendar. Also checked the documentation and web with no result. Would you mind providing me a simple code example? Thanks!

      posted in Pythonista
      simon
      simon