Script error: "unsupported audio format"

Hi! I’m following thistutorial and I’m about 29 minutes in. I’m using the .mp3 mentioned in the tutorial. Here’s my latest .blend

My script will create a single cube and switch the window context to GRAPH_EDITOR, but then crashes out with the error, “unsupported audio format”. Error text follows…

Traceback (most recent call last):
File “J:\My Documents\Desktop\Motion Graphics\cgCookieVisualiser01001Rev.blend
\Text”, line 34, in <module>
File “E:\Program Files\Blender Foundation\Blender\2.70\scripts\modules\bpy\ops
.py”, line 188, in call
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Unsupported audio format

Error: Python script fail, look in the console for now…

It seems strange that the .mp3 wouldn’t import via script. Has anybody a suggestion on how I should tackle this?

–Rev

The solution to the problem lies in slashing - fore, or back? While my path above works fine in most Windows instances, it causes problems with Blender’s Unix origins. Simply replace the ''s with '/'s in the path portion of the script and marvel as blender builds a… lot… of cubes. (Apparently double slashing ‘\’ will also work, though it hasn’t for me).

Cheers!