zanata_users.py does not work with new Zanata (3.9.6)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack i18n |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
zanata_users.py does not work with Zanata 3.9.6.
zanata_users.py parses the generated web pages, so there is no surprise after upgrading zanata.
ubuntu@
Retreiving language list
Getting member list from language el
member_
Traceback (most recent call last):
File "zanata_users.py", line 145, in <module>
data = collect_
File "zanata_users.py", line 120, in collect_
for role, user_id in zanata.
File "zanata_users.py", line 51, in iter_language_
span_txt = user.find('span', {'class': 'list__
AttributeError: 'NoneType' object has no attribute 'text'
If someone is interested in fixing it, feel free to take it.