Hot answers tagged python
a while ago while debugging a graphite ldap installation ldap.set_option(ldap.OPT_DEBUG_LEVEL, 65535) which I got from the graphite docs (http://graphite.readthedocs.io/en/latest/config-local-settings.html). It might tell you more about what is going on in your app.
The most reliable way to find the IP address your host will use to communicate is by using getsockname on a connected UDP socket. In case of UDP the connect system call doesn't involve any network communication. Here is a Python function I have written in the past for a similar purpose. If you don't know in advance which remote IP address you will ...
Just add the Mercurial lib Path to PYTHONPATH. Locate the libraries: locate mercurial, and find the Lib PATH. E.g. /usr/lib64/python2.6/site-packages/mercurial ; Add the Lib Path to PYTHONPATH: export PYTHONPATH=$PYTHONPATH:/usr/lib64/python2.6/site-packages. The Lib path may be a different place in your machine. And you could permanently add the export ...
Only top voted, non community-wiki answers of a minimum length are eligible