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
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