I'm having this problem with using translate() - I have a line in my code like:
k.translate(None,':.-') , being called from a function, which works flawlessly under v2.6.4 but throwing in TypeError when run under v2.5
Traceback (most recent call last): File "./wakeONlan", line 94, in <module> WakeOnLan(k.translate(None,':.-')) TypeError: expected a character buffer object
What does this error actually mean? And how can make it portable? Some serious reason, v2.5 can't be upgraded on the server at the moment. Any help would be greatly appreciated. Cheers!!!