WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-25-2009, 05:46 PM
mrvr mrvr is offline
Member
 
Join Date: Dec 2008
Posts: 4
Thanks for the quick reply (you've saved me a lot of time!)

The only unclear thing is the following line:

songCycle = viz.cycle([ viz.addAudio(filename) for filename in songs ])

It will load the songs as it is or I have to change something? (ie replace the "filename" with the first (actual) filename in songs?)

I also met another problem. I had these errors when I run the code:

Traceback (most recent call last):
File "C:\Program Files\WorldViz\Vizard30\python\viztask.py", line 685, in _onupdate
self._tasks = [ t for t in self._tasks if not t.update() ]
File "C:\Program Files\WorldViz\Vizard30\python\viztask.py", line 652, in update
val = self.__stack[-1].next()
File "museum.py", line 78, in PlayMusicTask
songCycle = viz.cycle([ viz.addAudio(filename ) for filename in songs ])
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 7524, in addAudio
return VizAudio(_ipcSend(_VIZ_ADDAUDIO,0,0,fileName,0.0,0 .0,0.0,0.0),**kw)
TypeError: message must be a string
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Little Programming Problem with MultiDimensional Arrays shivanangel Vizard 2 04-25-2007 01:21 PM
5DT Data Glove 5 Ultra Problem bjgold Vizard 1 08-08-2006 05:08 PM
problem with female animations vmonkey Vizard 1 10-07-2005 11:36 AM
Copy objects in an array to another array Johannes Vizard 3 04-29-2005 03:37 PM
PROBLEM: Picture-in-Picture breaks textures?!? vcarlson Vizard 4 10-05-2004 05:22 PM


All times are GMT -7. The time now is 07:59 PM.


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