Ugluk4242 / GEDCOM_MAPPING

Visualization tool to map and animate the displacements of ancestors.
MIT License
2 stars 2 forks source link

AttributeError: 'NoneType' object has no attribute 'latitude' #3

Open FelixBuehler opened 4 months ago

FelixBuehler commented 4 months ago

Hey,

I'm getting another error. I assume it's from some location which can't be geolocated?

Traceback (most recent call last):
  File "/mnt/c/Users/Felix/Desktop/GEDCOM_MAPPING/displacement_finder.py", line 193, in <module>
    dict_lat[d[4]] = location2.latitude
AttributeError: 'NoneType' object has no attribute 'latitude'

What's the best solution to solve this? Put it in a try error? Will that affect the overall video?

Ugluk4242 commented 4 months ago

Check out city_modification, I use it to change the location names that do not work.Envoyé de mon iPhoneLe 17 juill. 2024 à 08:12, FelixBuehler @.***> a écrit : Hey, I'm getting another error. I assume it's from some location which can't be geolocated? Traceback (most recent call last): File "/mnt/c/Users/Felix/Desktop/GEDCOM_MAPPING/displacement_finder.py", line 193, in dict_lat[d[4]] = location2.latitude AttributeError: 'NoneType' object has no attribute 'latitude'

What's the best solution to solve this? Put it in a try error? Will that affect the overall video?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>