WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 32 votes, 4.38 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC