WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-25-2007, 06:44 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Tickle2 Demo not working in Vizard 3.0

Hi. With our new version of Vizard Tickle2.py is not working. It gives the error:

C:\Program Files\WorldViz\Vizard30\bin\lib\whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
** ERROR: Failed to load plug-in: 'hd.dlm'

I tried adding the line
Code:
viz.setOption('hd.version',1)
This did not work. Furthermore I wrote my own script that works just fine with the haptic pen and in it all I say is:

Code:
 import hd
The code works in 2.5. I have attached the file.

Thanks.
Reply With Quote
  #2  
Old 10-26-2007, 09:33 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Does the Tickle2.py script contain a local version of the hd.dlm file?
Reply With Quote
  #3  
Old 10-31-2007, 02:25 PM
v-zbigy v-zbigy is offline
Member
 
Join Date: Oct 2007
Posts: 3
Hi,

I am Pablo, and am the one trying to debug this now.

Quote:
Originally Posted by farshizzo View Post
Does the Tickle2.py script contain a local version of the hd.dlm file?
What do you mean a local version of the file within the script? Do you mean a local version of the file within the folder the script is running from?

Pablo
Reply With Quote
  #4  
Old 10-31-2007, 02:31 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Yes, is there a copy of the hd.dlm file in the directory of the tickle script?
Reply With Quote
  #5  
Old 10-31-2007, 02:34 PM
v-zbigy v-zbigy is offline
Member
 
Join Date: Oct 2007
Posts: 3
yes.. it does. Is it supposed to?
Reply With Quote
  #6  
Old 11-01-2007, 10:22 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
No, you should remove the file since it is already included with Vizard 3.0. If there happens to be a hd.py and hd.pyc file in the same directory as the script you should remove them as well.
Reply With Quote
  #7  
Old 01-07-2008, 01:07 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
We tried removing the files you mentioned, and now we can feel the baby, but the background is not there, the sound doesn't work,and the baby doesn't cry or smile - all it will do is close its eye.

Any ideas?

Could you maybe just give us a new version of the script/folder.
Reply With Quote
  #8  
Old 01-07-2008, 03:59 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Send me an email at lashkari@worldviz.com and I will provide you with the Tickle demo.
Reply With Quote
Reply

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 03:39 PM.


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