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

The examples aren't actually working #2

Open
WereCatf opened this issue Apr 3, 2022 · 2 comments
Open

The examples aren't actually working #2

WereCatf opened this issue Apr 3, 2022 · 2 comments

Comments

@WereCatf
Copy link

WereCatf commented Apr 3, 2022

The first issue is that ONVIFCamera isn't getting populated correctly, resulting in errors like the following:
AttributeError: 'ONVIFCamera' object has no attribute 'devicemgmt' and AttributeError: 'ONVIFCamera' object has no attribute 'get_service'

The Type Instance - example isn't working either, with time_params.TimeZone.TZ = 'CST-8:00:00' failing because time_params.TimeZone is None and the same goes for time_params.UTCDateTime

OS: Ubuntu Linux 21.10
Python: 3.9.7

@martyanov
Copy link
Owner

@WereCatf thanks for the report. I see. It is sort of remnants of the original project. PRs are welcome.

@wlockwood
Copy link

I ran into this problem when one of my project files was called onvif.py, which happens to be a package name that aonvif uses. I don't know if that was WereCatf's problem in this case, but I resolved the same error by simply resolving the name collisions.

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

3 participants