A modest Error (I mean Proposal)

Arinte shouldbe at message.com
Thu Jan 20 10:18:51 EST 2000


"Mikael Olofsson" <mikael at isy.liu.se> wrote in message
news:XFMail.000120142944.mikael at isy.liu.se...

On 20-Jan-00 Arinte wrote:
 >  I am getting this weird error???
 >  Traceback (innermost last):
 >    File "Beer", line 17, in ?
 >    File "D:\POSSApps\anotherposs app\PossDevice.py", line 37, in IOCTL
 >      if type(command)==type(2):
 >  TypeError: len() of unsized object

Maybe you have accidentally redefined type to len...

I would entertain that thought, but this problem only occurs on the 2nd call
to this function???





More information about the Python-list mailing list