-
Notifications
You must be signed in to change notification settings - Fork 144
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
NotImplementedError: AnySimpleType.pytonvalue() not implemented #4
Comments
I can not reproduce this problem... Questions:
|
Another question: Are you able to run your test with the upstream version under Python 2.7? Since you seem to use Anaconda 3, you could:
What happens if you run your test under this setting? |
I have installed python 2.7 , And it running without any problem, So i think this problem has nothing to do with my camera (Actually... i don't know my camera model number (ˉ▽ ̄~)) |
Did you try with the last version, which can be installed through |
Still exists :( |
I got around this by using the fix I found here I monkey patched zeep:
It's not very nice but it works for me. |
@iomihai, thanks a lot! Works like a charm. You've saved tons of my time! Thanks, thanks, thanks! But anyway, I'll try to investigate this problem later... |
Same problem on the onvif GetProfiles() call. Interesting though I have no issues on the Panasonic and Sony cameras, but only on a Honeywell (exactly the same code, zeep version 2.5.0). |
Had the same issue on Python3.6.5. Thanks to @iomihai for providing that fix. |
where to append exactly patch ? |
It's simple but so cool~~ |
Here is my code(Run with python 3.6 and python-onvif-0.2.0 ):
from onvif import ONVIFCamera, ONVIFError
mycam = ONVIFCamera('192.168.1.64', 80, 'admin', 'admin12345', 'C:\ProgramData\Anaconda3\Lib\site-packages\onvif-0.2.0-py3.6.egg\wsdl')
media = mycam.create_media_service()
media_profile = media.GetProfiles()[0]
And what I get:
How can i fixed it?
The text was updated successfully, but these errors were encountered: