double percent signs cause a bug the second time around

Bug #1223177 reported by Nolan Lemahn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ren'Py
Invalid
Undecided
Unassigned

Bug Description

The following code can be used to view the problem. (It will need to be in a label.)

#start code
    $ nvln = NVLCharacter(None, kind=nvl)
    nvln "%%I am a test narrator typing this text with nvl.\n"
    extend "You can take this line out or leave it in. The newlines also do not matter.\n"
    extend "%%This line crashes the game."
#end code

With the error:
  File "game/script_1a.rpy", line 175, in script
  File "renpy/common/00library.rpy", line 59, in python
ValueError: unsupported format character 'T' (0x54) at index 139

Note: The T does correspond to the T in "This line"; changing "This line" to "kThis line" changes the unsupported format character to 'k' in the ValueError.

#start code
    $ nvln = NVLCharacter(None, kind=nvl)
    nvln "%%Oddly enough...{w}\n%%THIS doesn't crash the game!"
#end code

description: updated
Revision history for this message
Tom Rothamel (renpytom) wrote :

I've moved Ren'Py development to github. I'll be tracking this bug here:

https://github.com/renpy/renpy/issues/150

Changed in renpy:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.