Skip to content

Exception has occurred: AttributeError 'XlsxWriter' object has no attribute 'save' #54

Description

@SM-47

Please provide as much info as you can for expedited resolution.
I am trying to generate an excel file here but getting the following error :

Exception has occurred: AttributeError 'XlsxWriter' object has no attribute 'save' File "D:\Others\temp.py", line 11, in <module> table_data = et_sess.process_file(filepath=pdf_location, pages="all", output_format="xlsx") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'XlsxWriter' object has no attribute 'save'

This is the what i have done so far :

pdf_location = "./PDFs/1.pdf"
output_excel_location = '1.xlsx'
table_data = et_sess.process_file(filepath=pdf_location, pages="all", output_format="xlsx")
et_sess.save_output(output_excel_location, output_format="xlsx")
et_sess.process_file()

I tried uninstalling XlsxWriter but its not helping ? Anything wrong that i am doing here ? Thanks.

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions