That's one more thing that breaks in python2.4 (2.3 issues the
FutureWarning about returning positive values for numbers over
sys.maxint)
powermate.py:
def _open_device(self, filename):
try:
self.handle = os.open(filename, os.O_RDWR)
if self.handle < 0:
return False
# read event device name
name = fcntl.ioctl(self.handle, 0x80ff4506, chr(0) * 256)
name = name.replace(chr(0), '')
---------------------
the 0x80ff4506 is no longer valid. Change it to -2130754298 or if you
prefer -0x7f00bafa
>>>sys.maxint
2147483647
>>> mux = 0x80000000
>>> mux
2147483648L <-- no longer an int
--Chuck
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio