KeyError In program #483

Closed
opened 2025-10-14 17:32:33 -06:00 by navan · 0 comments
Owner

Originally created by @ryzbaka on 10/4/2020

Traceback (most recent call last):
  File "hunt.py", line 117, in <module>
    confidence, locations = gmaps.get_confidence(reviews, cfg)
  File "C:\Users\hamza\Desktop\GHunt\lib\gmaps.py", line 233, in get_confidence
    location = sanitize_location(location)
  File "C:\Users\hamza\Desktop\GHunt\lib\utils.py", line 29, in sanitize_location
    town = location["municipality"]
KeyError: 'municipality'
*Originally created by @ryzbaka on 10/4/2020* ```python Traceback (most recent call last): File "hunt.py", line 117, in <module> confidence, locations = gmaps.get_confidence(reviews, cfg) File "C:\Users\hamza\Desktop\GHunt\lib\gmaps.py", line 233, in get_confidence location = sanitize_location(location) File "C:\Users\hamza\Desktop\GHunt\lib\utils.py", line 29, in sanitize_location town = location["municipality"] KeyError: 'municipality' ```
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#483
No description provided.