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

Fixed setup of wsdl files #14

Closed
wants to merge 1 commit into from
Closed

Conversation

karlkar
Copy link

@karlkar karlkar commented Jan 15, 2018

Hello.
This fix is related to issue #13
After applying it wsdls will be installed in proper place:
lib/python<proper_version>/site-packages/onvif_zeep--py.egg/onvif

@karlkar karlkar closed this Jan 15, 2018
@karlkar karlkar deleted the setup_fix branch January 15, 2018 23:16
@hakan458
Copy link

hakan458 commented Aug 8, 2019

Why was this closed?

@LichtiMC
Copy link

LichtiMC commented Feb 5, 2020

still a problem on current systems

@CDahmsCellarEye
Copy link

I'm having this problem as well:

$ python3 test1.py 
Traceback (most recent call last):
  File "test1.py", line 14, in <module>
    main()
  File "test1.py", line 7, in main
    camera = ONVIFCamera('192.168.1.175', 80, 'admin', 'pass')
  File "/usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/onvif/client.py", line 215, in __init__
    self.update_xaddrs()
  File "/usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/onvif/client.py", line 222, in update_xaddrs
    self.devicemgmt = self.create_devicemgmt_service()
  File "/usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/onvif/client.py", line 343, in create_devicemgmt_service
    return self.create_onvif_service('devicemgmt', transport=transport)
  File "/usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/onvif/client.py", line 320, in create_onvif_service
    xaddr, wsdl_file, binding_name = self.get_definition(name, portType)
  File "/usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/onvif/client.py", line 291, in get_definition
    raise ONVIFError('No such file: %s' % wsdlpath)
onvif.exceptions.ONVIFError: Unknown error: No such file: /usr/local/lib/python3.6/dist-packages/onvif_zeep-0.2.12-py3.6.egg/wsdl/devicemgmt.wsdl

@mweinelt
Copy link

mweinelt commented Jul 7, 2024

Probably because it was like that before and was changed for Windows support
4691372

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

Successfully merging this pull request may close these issues.

5 participants