View Single Post
Old 04-07-2024, 04:22 PM   #24
hatuluang
Connoisseur
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 79
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by jackie_w View Post
Can you show me the end of the log.txt file when kobopatch fails to run, please?
Please find below:

Code:
|   Patch("Custom synopsis details line spacing - Jp") enabled=true
          |     ResetBaseAddress()
          |     applying
          |     looping over instructions
          |       kobopatch.FindZlib index=3 line=18
          |         FindZlib("body[qApp_deviceIsTrilogy=true] {\n  line-height: 1.45em;") | hex:626f64795b714170705f64657669636549735472696c6f67793d747275655d207b0a20206c696e652d6865696768743a20312e3435656d3b
          |       kobopatch.ReplaceZlibGroup index=4 line=20
          |         ReplaceZlibGroup(0, []struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"body {\n  font-family: Georgia;\n  margin: 0px;\n  padding: 0px;\n}", Replace:"body {font-family:Georgia; margin:0; padding:0;}\np {margin:0 0 0 0; text-indent:0.5em;}"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"body[qApp_deviceIsTrilogy=true] {\n  line-height: 1.45em;\n}\n", Replace:"\n"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"body[qApp_deviceIsPhoenix=true] {\n  line-height: 1.4em;\n}\n", Replace:"\n"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"line-height: 1.35em;", Replace:"line-height: 1.3em;"}})
          |   Patch("Custom synopsis font size - Jp") enabled=true
          |     ResetBaseAddress()
          |     applying
          |     looping over instructions
          |       kobopatch.FindZlib index=3 line=37
          |         FindZlib("body[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;") | hex:626f64795b714170705f64657669636549735472696c6f67793d747275655d207b0a2020666f6e742d73697a653a20313970783b
          |       kobopatch.ReplaceZlibGroup index=4 line=39
          |         ReplaceZlibGroup(0, []struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 19px;", Replace:"font-size: 20px;"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 23px;", Replace:"font-size: 25px;"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 29px;", Replace:"font-size: 32px;"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 32px;", Replace:"font-size: 41px;"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 34px;", Replace:"font-size: 37px;"}, struct { Find string "yaml:\"Find\""; Replace string "yaml:\"Replace\"" }{Find:"font-size: 37px;", Replace:"font-size: 40px;"}})
          |         could not apply patch "Custom synopsis font size - Jp": line 39: inst 4: ReplaceZlib: new compressed data is 1 bytes longer than old data (try removing whitespace or unnecessary css)
        --> could not apply patch "Custom synopsis font size - Jp": line 39: inst 4: ReplaceZlib: new compressed data is 1 bytes longer than old data (try removing whitespace or unnecessary css)
hatuluang is offline   Reply With Quote