You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: