Skip to content

StartDriver() doesn't work #50

@Andymash

Description

@Andymash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions