View Single Post
  #1  
Old 05-12-2006, 05:52 PM
enkeli enkeli is offline
Member
 
Join Date: Mar 2006
Location: Isla Vista
Posts: 24
'int' object not callable

Quote:
Traceback (most recent call last):
File "C:\Program Files\Vizard25\viz.py", line 5916, in mytimer
curAction.update(elaps,curAction._obj_)
File "C:\Program Files\Vizard25\vizact.py", line 1199, in update
sample = int(p * self.numsamples)
TypeError: 'int' object is not callable
Traceback (most recent call last):
File "DecisonMaking.py", line 1010, in trial
peopleGiveResponse( i, slideNumber )
File "DecisonMaking.py", line 816, in peopleGiveResponse
lookAbout = whrandom.randrange( -1 ,2 ) # -1,0,1
File "C:\Program Files\Vizard25\bin\lib\whrandom.py", line 103, in randrange
istart = int(start)
TypeError: 'int' object is not callable
Traceback (most recent call last):
File "DecisonMaking.py", line 1108, in timer
viz.starttimer( TIMER_BLINK_CLOSE[ i ], whrandom.randrange( 3, 7 ) )
File "C:\Program Files\Vizard25\bin\lib\whrandom.py", line 103, in randrange
istart = int(start)
TypeError: 'int' object is not callable
I am getting these errors sometimes from my program (which has also started crashing/closing on me without any error messages)

These errors appear to be from inside the whrandom, what can I do?

Last edited by enkeli; 05-12-2006 at 05:59 PM.
Reply With Quote