Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Error : Open.SaveAs when converting a word doc to pdf #49

Closed
SirishaGorasa opened this issue Nov 29, 2021 · 2 comments
Closed

Comments

@SirishaGorasa
Copy link

I have installed docx2pdf as:

pip install docx2pdf

I am trying to convert a word document to PDF with the below code:
from docx2pdf import convert
convert("secrecy.docx", "My_Files\\output.pdf")

I am facing the below error :
image

I am unable to figure out the underlying issue i.e, why this error is being occurred.

Is this the problem with my python version? I am using Python 3.8.3. Could you please let me know the solution for this as early as possible?

@AlJohri
Copy link
Owner

AlJohri commented Nov 29, 2021

could be similar to this issue? #21

@AlJohri
Copy link
Owner

AlJohri commented Dec 11, 2021

@SirishaGorasa closing the issue for now. please feel to re-open and add a sample document to help me reproduce the issue

@AlJohri AlJohri closed this as completed Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants