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

giving 'module' object has no attribute with 'inet_pton' on windows #1537

Closed
infinite-Joy opened this issue Jan 13, 2016 · 0 comments
Closed
Labels
Mailpile-v1-is-Obsolete Tagging issues we won't fix because Mailpile v1 development has stopped

Comments

@infinite-Joy
Copy link
Contributor

This is happening for me.

ERROR: test_HostNameCheck_valid (mailpile.tests.test_config.TestConfig)

Traceback (most recent call last):
File "G:\Python\code_reading\Mailpile\mailpile\tests\test_config.py", line 90,
in test_HostNameCheck_valid
res = mailpile.config._HostNameCheck(v)
File "G:\Python\code_reading\Mailpile\mailpile\config.py", line 382, in _HostN
ameCheck
if not _HostNameValid(host):
File "G:\Python\code_reading\Mailpile\mailpile\config.py", line 352, in _HostN
ameValid
socket.inet_pton(socket.getattribute(attr), host)

AttributeError: 'module' object has no attribute 'inet_pton'

i understand this is only for windows users. Will this hurt in the platform independent-ness of Mailpile. Also can any one help me in resolving it. The link mitsuhiko/python-geoip#4 did not help. Thanks

@BjarniRunar BjarniRunar added the Mailpile-v1-is-Obsolete Tagging issues we won't fix because Mailpile v1 development has stopped label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mailpile-v1-is-Obsolete Tagging issues we won't fix because Mailpile v1 development has stopped
Projects
None yet
Development

No branches or pull requests

2 participants