MISP / misp-dashboard

A live dashboard for a real-time overview of threat intelligence from MISP instances
GNU Affero General Public License v3.0
194 stars 65 forks source link

./server.py #119

Closed dmolina213 closed 5 years ago

dmolina213 commented 5 years ago

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'

mokaddem commented 5 years ago

Should be fixed with #121. Please re-open if it's not the case.