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

./server.py #119

Closed
dmolina213 opened this issue Jul 30, 2019 · 1 comment
Closed

./server.py #119

dmolina213 opened this issue Jul 30, 2019 · 1 comment

Comments

@dmolina213
Copy link

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants