You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to run ./server.py i get this message. not sure if it is just a warning or an outright error. Any ideas what is happenning? are there components missing? how do i fix this ?
Traceback (most recent call last):
File "./server.py", line 54, in
geo_helper = geo_helper.Geo_helper(serv_redis_db, cfg)
File "/usr/local/src/MISP_dashboard2/misp-dashboard/helpers/geo_helper.py", line 65, in init
self.country_to_iso = { country.name: country.alpha_2 for country in pycountry.countries}
File "/usr/local/src/MISP_dashboard2/misp-dashboard/helpers/geo_helper.py", line 65, in
self.country_to_iso = { country.name: country.alpha_2 for country in pycountry.countries}
AttributeError: 'Country' object has no attribute 'alpha_2'
The text was updated successfully, but these errors were encountered:
when i try to run ./server.py i get this message. not sure if it is just a warning or an outright error. Any ideas what is happenning? are there components missing? how do i fix this ?
Traceback (most recent call last):
File "./server.py", line 54, in
geo_helper = geo_helper.Geo_helper(serv_redis_db, cfg)
File "/usr/local/src/MISP_dashboard2/misp-dashboard/helpers/geo_helper.py", line 65, in init
self.country_to_iso = { country.name: country.alpha_2 for country in pycountry.countries}
File "/usr/local/src/MISP_dashboard2/misp-dashboard/helpers/geo_helper.py", line 65, in
self.country_to_iso = { country.name: country.alpha_2 for country in pycountry.countries}
AttributeError: 'Country' object has no attribute 'alpha_2'
The text was updated successfully, but these errors were encountered: