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

StartDriver() doesn't work #50

Open
Andymash opened this issue Sep 3, 2022 · 1 comment
Open

StartDriver() doesn't work #50

Andymash opened this issue Sep 3, 2022 · 1 comment

Comments

@Andymash
Copy link

Andymash commented Sep 3, 2022

When I run the code, I find an error indicated. It happens to all the dataRay example codes, including this one, do you know what's the reason?
Traceback (most recent call last):
File "C:\Users\yang.zeng\AppData\Local\Programs\Python\Python310\lib\site-packages\comtypes_init_.py", line 275, in getattr
fixed_name = self.map_case[name.lower()]
KeyError: 'startdevice'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\yang.zeng\Documents\01.Sinaero\04.scripts\dataRay_example\dataray-python-camera-example-2021.py", line 101, in
app = MyApp()
File "C:\Users\yang.zeng\Documents\01.Sinaero\04.scripts\dataRay_example\dataray-python-camera-example-2021.py", line 97, in init
self.gd.ctrl.StartDevice()
File "C:\Users\yang.zeng\AppData\Local\Programs\Python\Python310\lib\site-packages\comtypes_init_.py", line 277, in getattr
raise AttributeError(name)
AttributeError: StartDevice

@sunjerry019
Copy link
Owner

Could you post a MWE? (or in this case, minimal, non-working, example?)

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