Page 1 of 1

[SOLVED] WTF bug: specific commented line crash builder

Posted: Sun Jan 12, 2014 7:28 pm
by Keul
Step to reproduce:
  • Create a new project with renpy 6.16.5 (english template, any theme)
  • Click Build distribution, build, it works
  • Download http://fichiers.keul.fr/renpy_bugged_script.zip and replace script.rpy in the game folder
  • Click Build distribution
    Image
    (yes, no more detail, even in log files...)
  • Remove one of the commented line in the file or change the content of one of the line and try to build again, it will work
Content of the buggy script.rpy file:
label start:
# todo ou baisser musique pour év
# todo ou baisser musique pour év

"test"
return
The comment is in French, the file is UTF-8 encoded and I have never get issue with special characters, the project of 6500 lines of code works perfectly if I remove this comment, and that contains others special characters in text and commented lines.
(original comment was : # TODO Diminuer ou baisser musique pour éviter une cacophonie)

Re: WTF bug: specific commented line crash builder [testcase

Posted: Sun Jan 12, 2014 9:37 pm
by PyTom
Basically, this was a bug in Ren'Py's TODO detection code.

https://github.com/renpy/renpy/commit/7 ... 3df04f42e2

is the fix for it.

Re: WTF bug: specific commented line crash builder [testcase

Posted: Mon Jan 13, 2014 4:26 am
by Keul
OK, Thanks for the fix.