Skip to content

_ctypes.COMError: (-2147220262, None, (None, None, None, 0, None)) #1

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

Open
KKKLeouee opened this issue Aug 7, 2022 · 0 comments
Open

Comments

@KKKLeouee
Copy link

Hello, I found the following error during random testing, I don't know how to solve it, come to help you

This is my code to reload the model:

from NeonLightEffect.PyPS import *
import os
path = f'{os.getcwd()}/images'
print('path',path)
for img in os.listdir(path):
NeonLight(20,20,10,10,8,2,'images')

But the following error was reported:

Traceback (most recent call last):
File "D:/Light pollution/Python-CV-Neon-Light-effect-main/img.py", line 8, in
NeonLight(20,20,10,10,8,2,'images')
File "D:\anacode\envs\pytorch\lib\site-packages\NeonLightEffect\PyPS.py", line 19, in NeonLight
psApp.Open(OutputPathOuter2)
File "D:\anacode\Lib\site-packages\comtypes\client\lazybind.py", line 182, in caller
return self._comobj._invoke(descr.memid, descr.invkind, 0, *args)
File "D:\anacode\Lib\site-packages\comtypes\automation.py", line 728, in _invoke
self.__com_Invoke(memid, riid_null, lcid, invkind,
_ctypes.COMError: (-2147220262, None, (None, None, None, 0, 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