RichardoMrMu / python-onvif

control hikcamera using onvif test code
MIT License
36 stars 11 forks source link

Getting NoneType Error #1

Closed kasperhbo closed 1 year ago

kasperhbo commented 2 years ago

Dear,

I keep getting this error when trying to startup.

I have an HikVision DS-2CD55C5G0-IZS.

self.requestc.Velocity.PanTilt.space = ptz_configuration_options.Spaces.ContinuousPanTiltVelocitySpace[0].URI AttributeError: 'NoneType' object has no attribute 'PanTilt'

Can you maybe help solve this issue?

Thanks in advance!

murfdogprod commented 1 year ago

Did you find an answer to this? I have same issue

kasperhbo commented 1 year ago

It was because my camera didn't support panning and tilting. Thought it did