Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema regression bug #159

Closed
thomersch opened this issue Mar 14, 2024 · 2 comments · Fixed by #160
Closed

Schema regression bug #159

thomersch opened this issue Mar 14, 2024 · 2 comments · Fixed by #160
Labels
bug Something isn't working

Comments

@thomersch
Copy link
Owner

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)

@thomersch thomersch added the bug Something isn't working label Mar 14, 2024
vkrause added a commit to vkrause/openstreetmap-calendar that referenced this issue Mar 14, 2024
@vkrause
Copy link
Contributor

vkrause commented Mar 14, 2024

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

@thomersch
Copy link
Owner Author

Thanks for taking the time to fix this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants