PDA

View Full Version : Tickle2 Demo not working in Vizard 3.0


mjabon
10-25-2007, 06:44 PM
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 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:

import hd

The code works in 2.5. I have attached the file.

Thanks.

farshizzo
10-26-2007, 09:33 AM
Does the Tickle2.py script contain a local version of the hd.dlm file?

v-zbigy
10-31-2007, 02:25 PM
Hi,

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

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

farshizzo
10-31-2007, 02:31 PM
Yes, is there a copy of the hd.dlm file in the directory of the tickle script?

v-zbigy
10-31-2007, 02:34 PM
yes.. it does. Is it supposed to?

farshizzo
11-01-2007, 10:22 AM
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.

mjabon
01-07-2008, 01:07 PM
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.

farshizzo
01-07-2008, 03:59 PM
Send me an email at lashkari@worldviz.com and I will provide you with the Tickle demo.