panosl / django-currencies

django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
http://pypi.python.org/pypi/django-currencies
BSD 3-Clause "New" or "Revised" License
94 stars 81 forks source link

AttributeError: 'NoneType' object has no attribute 'string' #60

Closed BuildWithLal closed 6 years ago

BuildWithLal commented 7 years ago

Getting this error when i try to run ./manage.py currencies yahoo

File "currencies/management/commands/_yahoofinance.py", line 73, in get_bulkcurrencies
    jscript = soup.find('script', type='text/javascript', text=re_start).string

AttributeError: 'NoneType' object has no attribute 'string'
racitup commented 7 years ago

Thanks for reporting! Looks like yahoo have removed their currency data. I will fix to use the cached copy. In the meantime please use oxr or iso as source.