thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Schema regression bug #159

Closed thomersch closed 4 months ago

thomersch commented 4 months ago

Reported through sentry:

AttributeError: 'NoneType' object has no attribute 'get'
(16 additional frame(s) were not displayed)
...
  File "osmcal/views.py", line 161, in get
    return render(
  File "osmcal/templatetags/schema.py", line 37, in schema_block
    evt.location_address.get("village"),

Probably introduced by #158 (cc @vkrause)

vkrause commented 4 months ago

Yep, that's from #158, sorry about that :( #160 should address this.

thomersch commented 4 months ago

Thanks for taking the time to fix this :)