Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +--------------------- Traceback (most recent call last) ---------------------+
- | in _run_module_as_main:198 |
- | in _run_code:88 |
- | |
- | in <module>:7 |
- | |
- | C:\Users\<user>\.cache\pre-commit\repomzsfvd3s\py_env-python3.12\Lib\site-p |
- | ackages\aoc_tiles\cli.py:87 in main |
- | |
- | 84 def main(): |
- | 85 rich.traceback.install() |
- | 86 config = cli_parse_config(Config) |
- | > 87 TileMaker(config).make_tiles() |
- | 88 |
- | 89 |
- | 90 if __name__ == "__main__": |
- | |
- | C:\Users\<user>\.cache\pre-commit\repomzsfvd3s\py_env-python3.12\Lib\site-p |
- | ackages\aoc_tiles\make_tiles.py:179 in make_tiles |
- | |
- | 176 logger.info("Found {} years with solutions", len(solve_data.y |
- | 177 for year, data in sorted(solve_data.year_to_data.items(), rev |
- | 178 logger.debug("year={} data={}", year, data) |
- | > 179 self.handle_year(year, data) |
- | 180 |
- | 181 if self.config.auto_add_tiles_to_git in ["add", "amend"]: |
- | 182 self.solution_finder.git_add(self.config.image_dir) |
- | |
- | C:\Users\<user>\.cache\pre-commit\repomzsfvd3s\py_env-python3.12\Lib\site-p |
- | ackages\aoc_tiles\make_tiles.py:161 in handle_year |
- | |
- | 158 f"README.md! Make sure to add them to the README at { |
- | 159 ) |
- | 160 pattern = re.compile(rf"{begin}.*{end}", re.DOTALL | re.M |
- | > 161 new_text = pattern.sub(f"{begin}\n{html}\n{end}", text) |
- | 162 |
- | 163 with open(self.config.readme_path, "w", encoding="utf-8") as |
- | 164 file.write(str(new_text)) |
- | |
- | C:\Python312\Lib\re\__init__.py:334 in _compile_template |
- | |
- | 331 @functools.lru_cache(_MAXCACHE) |
- | 332 def _compile_template(pattern, repl): |
- | 333 # internal: compile replacement pattern |
- | > 334 return _sre.template(pattern, _parser.parse_template(repl, patter |
- | 335 |
- | 336 # register myself for pickling |
- | 337 |
- | |
- | C:\Python312\Lib\re\_parser.py:1068 in parse_template |
- | |
- | 1065 this = chr(ESCAPES[this][1]) |
- | 1066 except KeyError: |
- | 1067 if c in ASCIILETTERS: |
- | > 1068 raise s.error('bad escape %s' % this, len(th |
- | 1069 lappend(this) |
- | 1070 else: |
- | 1071 lappend(this) |
- +-----------------------------------------------------------------------------+
- error: bad escape \C at position 81 (line 5, column 17)
- Running AoC-Tiles
- Leaderboard for 2022 is younger than 30 minutes, skipping download in order to avoid DDOS.
- Leaderboard for 2023 is complete, no need to download.
- === Generating table for year 2023 ===
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement