Giter VIP home page Giter VIP logo

openkvk's People

Contributors

jeff-99 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openkvk's Issues

Name or service not known

When executing your code I get an error.

I execute the following code:

        from OpenKVK import ApiClient

        client = ApiClient()
        client.get_by_city('Rotterdam')

Which Results in the following error:

Traceback (most recent call last):
  File "/kvk/contacts/tests.py", line 11, in test_get_by_dossier
    client.get_by_city('Rotterdam')
  File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 291, in get_by_city
    return self.do_query(basequery,limit,**kwargs)
  File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 219, in do_query
    response = self.request(query_buffer[q])
  File "/kvk/venv/lib/python3.6/site-packages/OpenKVK/Client.py", line 73, in request
    request = urlopen(url)
  File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.6/urllib/request.py", line 1346, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib64/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>

Can anyone help me to resolve this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.