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

Application can't be found. (-2700) #96

Open
samrat2825 opened this issue Nov 30, 2023 · 0 comments
Open

Application can't be found. (-2700) #96

samrat2825 opened this issue Nov 30, 2023 · 0 comments

Comments

@samrat2825
Copy link

samrat2825 commented Nov 30, 2023

I am trying to convert a .docx file to pdf on Mac OS 14.

File Health

I am able to open the original file in Pages and convert it to pdf from Mac Pages. So it is not corrupted

Error

def run(cmd): process = subprocess.Popen(cmd, stderr=subprocess.PIPE) while True: line = process.stderr.readline().rstrip() if not line: break yield line.decode("utf-8")

This function is giving an error

/Users/samrat/.pyenv/versions/3.9.4/envs/docs/lib/python3.9/site-packages/docx2pdf/convert.jxa: execution error: Error: Error: Application can't be found. (-2700)

Apple documentation says it's UNKNOWN ERROR.
https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_error_codes.html

Any idea what is going on here? Thanks for help!

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

1 participant