A modest Error (I mean Proposal)

Mikael Olofsson mikael at isy.liu.se
Thu Jan 20 11:07:54 EST 2000


On 20-Jan-00 Arinte wrote:
 >  
 >  "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???

OK, so we've narrowed it down some. Maybe that's what happens between 
those two calls. 

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    20-Jan-00
Time:    17:03:57

This message was sent by XF-Mail.
-----------------------------------------------------------------------



More information about the Python-list mailing list