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

Photoshop is not opening with Dispatch #20

Open
mogesh06 opened this issue Apr 2, 2023 · 0 comments
Open

Photoshop is not opening with Dispatch #20

mogesh06 opened this issue Apr 2, 2023 · 0 comments

Comments

@mogesh06
Copy link

mogesh06 commented Apr 2, 2023

Traceback (most recent call last):
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\PyCharm\Adobe\main.py", line 3, in
app = Dispatch("Photoshop.Application")
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client_init_.py", line 118, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch, userName, clsctx)
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 104, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 86, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

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