[SOLVED] WTF bug: specific commented line crash builder

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Keul
Regular
Posts: 49
Joined: Wed May 06, 2009 3:42 am
Location: France - Strasbourg
Contact:

[SOLVED] WTF bug: specific commented line crash builder

#1 Post 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)
Last edited by Keul on Mon Jan 13, 2014 4:29 am, edited 2 times in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#2 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Keul
Regular
Posts: 49
Joined: Wed May 06, 2009 3:42 am
Location: France - Strasbourg
Contact:

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

#3 Post by Keul »

OK, Thanks for the fix.

Post Reply

Who is online

Users browsing this forum: No registered users