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
[ ]
Title In mb/asn.py the port in socket.getaddrinfo must not be 0 on Solaris Priority urgent Status resolved Superseder Nosy List dagobert, poeml Assigned To poeml Keywords
In mb/asn.py the resolution is done with
try: for res in socket.getaddrinfo(s, 0): af, socktype, proto, canonname, sa = res
The 0 for the port leads to the exception
socket error msg: [Errno 9] service name not available for the specified socket
type
whereas None instead of 0 works. The error is only present when specifying a fqdn and is not present when adding explicit ip numbers.
The test was done on Solaris 10 Sparc with OpenCSW Python 2.7
Hm, None seems to be fine on Linux also
Fixed in trunk http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8338&view=rev
Thanks, Dago!
History Date User Action Args 2014-01-23 21:43:55 poeml set status: in-progress -> resolved 2014-01-23 21:43:45 poeml set messages: + msg473 status: chatting -> in-progress 2014-01-23 21:40:37 poeml set assignedto: poeml messages: + msg472 nosy: + poeml 2014-01-23 17:34:30 dagobert set status: unread -> chatting messages: + msg471 2014-01-23 17:31:07 dagobert create
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue135
msg470 (view) Author: dagobert Date: 2014-01-23.17:31:06
In mb/asn.py the resolution is done with
The 0 for the port leads to the exception
type
whereas None instead of 0 works. The error is only present when specifying a fqdn
and is not present when adding explicit ip numbers.
msg471 (view) Author: dagobert Date: 2014-01-23.17:34:30
The test was done on Solaris 10 Sparc with OpenCSW Python 2.7
msg472 (view) Author: poeml Date: 2014-01-23.21:40:36
Hm, None seems to be fine on Linux also
msg473 (view) Author: poeml Date: 2014-01-23.21:43:45
Fixed in trunk
http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8338&view=rev
Thanks, Dago!
(end of migrated issue)
The text was updated successfully, but these errors were encountered: