PDF Print Error. New Installation

Traceback (most recent call last):
File “/home/erpnext/frappe-bench/apps/frappe/frappe/app.py”, line 67, in application
response = frappe.api.handle()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/api.py”, line 53, in handle
return frappe.handler.handle()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/print_format.py”, line 48, in download_pdf
frappe.local.response.filecontent = get_pdf(html)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/pdf.py”, line 14, in get_pdf
html, options = prepare_options(html, options)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/pdf.py”, line 71, in prepare_options
html, html_options = read_options_from_html(html)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/pdf.py”, line 86, in read_options_from_html
soup = BeautifulSoup(html, “html5lib”)
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/bs4/init.py”, line 198, in init
% “,”.join(features))
FeatureNotFound: Couldn’t find a tree builder with the features you requested: html5lib. Do you need to install a parser library?

Even thought html5lib is installed.

Thanks. And sorry i tried to search but couldn’t find it.

Should close this thread

1 Like

That’s okay.

Please try and search your error (Just the error line) Here it was this

FeatureNotFound: Couldn’t find a tree builder with the features you requested: html5lib. Do you need to install a parser library?

You will get some answer.

Or if search engine here does not work, then use google like this:

site:discuss.erpnext.com "FeatureNotFound: Couldn’t find a tree builder 
with the features you requested: html5lib"