Hmmm, I tried to use it on my actual project (I first tried on a new one) and it gives me this error, even though it works fine on the new one.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 234, in script
$ renpy.music.play(config.main_menu_music, if_changed=True)
File "renpy/common/00start.rpy", line 234, in <module>
$ renpy.music.play(config.main_menu_music, if_changed=True)
TypeError: expected string or buffer
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00start.rpy", line 234, in script
$ renpy.music.play(config.main_menu_music, if_changed=True)
File "C:\Ren'py\renpy-7.0.0-sdk\renpy\ast.py", line 862, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Ren'py\renpy-7.0.0-sdk\renpy\python.py", line 1912, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00start.rpy", line 234, in <module>
$ renpy.music.play(config.main_menu_music, if_changed=True)
File "C:\Ren'py\renpy-7.0.0-sdk\renpy\audio\music.py", line 112, in play
c.enqueue(filenames, loop=loop, synchro_start=synchro_start, fadein=fadein, tight=tight, loop_only=loop_only)
File "C:\Ren'py\renpy-7.0.0-sdk\renpy\audio\audio.py", line 534, in enqueue
filename, _, _ = self.split_filename(filename, False)
File "C:\Ren'py\renpy-7.0.0-sdk\renpy\audio\audio.py", line 295, in split_filename
m = re.match(r'<(.*)>(.*)', filename)
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/re.py", line 141, in match
TypeError: expected string or buffer
Windows-7-6.1.7601-SP1
Ren'Py 7.0.0.196
El Retorno al Charco 1.0
Sun Aug 12 00:47:56 2018