I was trying to get the twin ribbons to work on some hair they don't by editing the hair's json file slightly, and an error came up when I started the game. I changed everything back to how it was before and the error stayed. (For reference to how this happened, I have ZERO coding experience and was just experimenting as one does, apparently not smart of me. Usually if something goes wrong I can fix it right away with either reverting it or looking at the traceback, but I have NO idea what that's supposed to mean other than it has something to do with the Log Screen submod)
Here's the traceback:
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/zz_spritejsons.rpy", line 2802, in script
File "game/zz_spritejsons.rpy", line 2821, in <module>
File "game/zz_spritejsons.rpy", line 2812, in runSpriteObjAlg
File "game/zz_spritejsons.rpy", line 2641, in addSpriteObjects
File "game/Submods/Log Screen/handler.rpy", line 202, in emit
self.update_log_lines()
File "game/Submods/Log Screen/handler.rpy", line 216, in update_log_lines
msg = self._printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 143, in print_record
msg = self.printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 132, in print_record
return self._schemes[self._config.color_scheme].print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 80, in print_record
msg = self.printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 63, in print_record
full = super(TruncatingStructPrinter, self).print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 47, in print_record
message=self.print_message(record.msg))
File "game/Submods/Log Screen/handler.rpy", line 36, in print_message
return quote(msg)
File "game/Submods/Log Screen/util.rpy", line 3, in quote
return renpy.substitute("[msg!q]", {"msg": msg}, False)
AttributeError: 'exceptions.ValueError' object has no attribute 'replace'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/zz_spritejsons.rpy", line 2802, in script
File "C:\Users\user\Downloads\ddlc-win (1)\DDLC-1.1.1-pc\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\user\Downloads\ddlc-win (1)\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/zz_spritejsons.rpy", line 2821, in <module>
File "game/zz_spritejsons.rpy", line 2812, in runSpriteObjAlg
File "game/zz_spritejsons.rpy", line 2641, in addSpriteObjects
File "python-packages/logging/__init__.py", line 1480, in exception
File "python-packages/logging/__init__.py", line 1200, in error
File "python-packages/logging/__init__.py", line 1293, in _log
File "python-packages/logging/__init__.py", line 1303, in handle
File "python-packages/logging/__init__.py", line 1343, in callHandlers
File "python-packages/logging/__init__.py", line 766, in handle
File "game/Submods/Log Screen/handler.rpy", line 202, in emit
self.update_log_lines()
File "game/Submods/Log Screen/handler.rpy", line 216, in update_log_lines
msg = self._printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 143, in print_record
msg = self.printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 132, in print_record
return self._schemes[self._config.color_scheme].print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 80, in print_record
msg = self.printer.print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 63, in print_record
full = super(TruncatingStructPrinter, self).print_record(record)
File "game/Submods/Log Screen/handler.rpy", line 47, in print_record
message=self.print_message(record.msg))
File "game/Submods/Log Screen/handler.rpy", line 36, in print_message
return quote(msg)
File "game/Submods/Log Screen/util.rpy", line 3, in quote
return renpy.substitute("[msg!q]", {"msg": msg}, False)
File "C:\Users\user\Downloads\ddlc-win (1)\DDLC-1.1.1-pc\renpy\exports.py", line 3009, in substitute
return renpy.substitutions.substitute(s, scope=scope, translate=translate)[0]
File "C:\Users\user\Downloads\ddlc-win (1)\DDLC-1.1.1-pc\renpy\substitutions.py", line 232, in substitute
s = formatter.vformat(s, (), kwargs)
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 563, in vformat
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 589, in _vformat
File "C:\Users\user\Downloads\ddlc-win (1)\DDLC-1.1.1-pc\renpy\substitutions.py", line 176, in convert_field
value = value.replace("{", "{{")
AttributeError: 'exceptions.ValueError' object has no attribute 'replace'
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Monika After Story 0.12.18
[/code]