Calendar failing

5 views
Skip to first unread message

Peter DeGregorio

unread,
Mar 15, 2016, 6:51:37 PM3/15/16
to MyTownGovernment Users Forum
I added a special town meeting under board "None" and now the town calendar fails with

Traceback (most recent call last):
  File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 715, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/s~towngovernment-hr/58.391137028842259881/main.py", line 3238, in get
    mixed = town.getMixedMeetings(sunday, endday)
  File "/base/data/home/apps/s~towngovernment-hr/58.391137028842259881/main.py", line 380, in getMixedMeetings
    mixed.sort(key=lambda i:(i[0], i[1] and i[1].board.name or i[2].board.name))
  File "/base/data/home/apps/s~towngovernment-hr/58.391137028842259881/main.py", line 380, in <lambda>
    mixed.sort(key=lambda i:(i[0], i[1] and i[1].board.name or i[2].board.name))
AttributeError: 'NoneType' object has no attribute 'board'

I'll leave the meeting scheduled before attempting to delete it so the issue can be repeated.
It seems to be a mistake. How do I schedule a special town meeting (or any town meeting?)

Thank you,
Pete


Joshua Smith

unread,
Mar 15, 2016, 7:06:02 PM3/15/16
to mytowngovernme...@googlegroups.com
Every board must have a name. I set yours to “Town Meetings” and the issue went away.

--
You received this message because you are subscribed to the Google Groups "MyTownGovernment Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mytowngovernment-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages