** Changed in: sch-scripts
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Linux
Greek Teachers, which is subscribed to sch-scripts.
https://bugs.launchpad.net/bugs/1235618
Title:
ip_dialog.py fails on amd64
Status in Scripts for Greek school labs using Ubuntu/LTSP:
Fix Released
Bug description:
On an i386 installation, ip_dialog.py works fine. On an amd64 installation,
it fails.
Here's an example from an amd64 installation that demonstrates the issue:
$ python -c 'import socket,struct; print socket.inet_ntoa(struct.pack("I",
1));'
1.0.0.0
$ python -c 'import socket,struct; print socket.inet_ntoa(struct.pack("L",
1));'
Traceback (most recent call last):
File "<string>", line 1, in <module>
socket.error: packed IP wrong length for inet_ntoa
That last command succeeds on an i386 system.
Should we switch to using "I" instead of "L" in dotted_quad_string_to_int32()
and int32_to_dotted_quad_string()?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sch-scripts/+bug/1235618/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~linux.sch.gr
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linux.sch.gr
More help : https://help.launchpad.net/ListHelp