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

error:multi-added-already log entries #299

Closed
lorien opened this issue Apr 5, 2018 · 0 comments
Closed

error:multi-added-already log entries #299

lorien opened this issue Apr 5, 2018 · 0 comments
Labels

Comments

@lorien
Copy link
Owner

lorien commented Apr 5, 2018

In fact, these are incorrect log entries, these error should be "could-not-connect"
I use sort of reverse-engineering to build mapping of pycurl error codes to their short text abbreviations with the code:

for key in dir(pycurl):
    if key.startswith('E_'):
        abbr = key[2:].lower().replace('_', '-')
        ERROR_ABBR[getattr(pycurl, key)] = abbr

The problem is multiple E_* constants points to same numeric code, so E_COULDNT_CONNECT is overwritten with E_MULTI_ADDED_ALREADY

@lorien lorien added the bug label Apr 7, 2018
@lorien lorien closed this as completed in 5f3f6d7 Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant