AttributeError: module bleach_allowlist.bleach_allowlist attribute has no attribute 'all_styles'

Facing Problem in doing update to version 13.23.0.

running bench update --reset from apps/frappe and its end with
AttributeError: module bleach_allowlist.bleach_allowlist attribute has no attribute ‘all_styles’.

Bleach_allowlist is well installed and updated. but error is same i.e. Attribute. please help.

@Owais_Qazi try this command in the bench folder .

 ./env/bin/pip install bleach_allowlist

./env/bin/pip install bleach_allowlist showing “Requirement already staisfied bleach_allowlist in env/lib/python3.6/site-package”. Update still stop with same attributeError.

Finally found solution myself.

uninstall bleach_allowlist by: ./env/bin/pip uninstall bleach_allowlist

then reinstall by: ./env/bin/pip install bleach_allowlist

and then run: bench update --reset

the Error Resolved and my ERPNEXT version updated to 13.23.0. :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.