!!!
Invalid value for parameter bg: Invalid input. It has to match r'^#[0-9a-f]{6}$'.
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/chappy/pygdo/index_wsgi.py:233 in pygdo_application │
│ │
│ 230 │ │ │ │ args.add_post_vars(post_variables) │
│ 231 │ │ │ │
│ 232 │ │ │ try: │
│ ❱ 233 │ │ │ │ result = method.execute() │
│ 234 │ │ │ │ result = aiorun(result) │
│ 235 │ │ │ except Exception as ex: │
│ 236 │ │ │ │ result = GDT_Error.from_exception(ex, method.gdo_module().render_name()) │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ args = ParserArgs(module=captcha, method=render, args={'_url': │ │
│ │ 'captcha.render.txt'}) │ │
│ │ environ = { │ │
│ │ │ 'SSL_TLS_SNI': 'chappy.chappy-bot.net', │ │
│ │ │ 'GATEWAY_INTERFACE': 'CGI/1.1', │ │
│ │ │ 'SERVER_PROTOCOL': 'HTTP/1.1', │ │
│ │ │ 'REQUEST_METHOD': 'GET', │ │
│ │ │ 'QUERY_STRING': '', │ │
│ │ │ 'REQUEST_URI': '/captcha.render.txt', │ │
│ │ │ 'SCRIPT_NAME': '', │ │
│ │ │ 'PATH_INFO': '/captcha.render.txt', │ │
│ │ │ 'PATH_TRANSLATED': │ │
│ │ '/home/chappy/pygdo/index_wsgi.py/captcha.render.txt', │ │
│ │ │ 'HTTP_ACCEPT': '*/*', │ │
│ │ │ ... +49 │ │
│ │ } │ │
│ │ ex = GDOParamError("Invalid value for parameter bg: Invalid input. It has to │ │
│ │ match r'^#[0-9a-f]{6}$'.") │ │
│ │ file = None │ │
│ │ lang = 'en' │ │
│ │ method = render(render)=None │ │
│ │ path = '/home/chappy/pygdo/captcha.render.txt' │ │
│ │ qs = {} │ │
│ │ server = GDO_Server(2): ['2', 'Web', None, '!', None, None, 'web', '1', '2026-01-09 │ │
│ │ 10:44:38.239'] │ │
│ │ session = GDO_Session() │ │
│ │ start_response = │ │
│ │ url = 'captcha.render.txt' │ │
│ │ user = guest{2} │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/chappy/pygdo/gdo/captcha/method/render.py:43 in execute │
│ │
│ 40 │ def execute(self): │
│ 41 │ │ width = self.param_value('width') │
│ 42 │ │ height = self.param_value('height') │
│ ❱ 43 │ │ bg = self.param_val('bg') │
│ 44 │ │ fg = self.param_val('fg') │
│ 45 │ │ │
│ 46 │ │ captcha_text = self.get_captcha_text() │
│ │
│ ╭─────────── locals ───────────╮ │
│ │ height = 64 │ │
│ │ self = render(render)=None │ │
│ │ width = 240 │ │
│ ╰──────────────────────────────╯ │
│ │
│ /home/chappy/pygdo/gdo/base/Method.py:283 in param_val │
│ │
│ 280 │ │ if gdt.validate(val): │
│ 281 │ │ │ return val │
│ 282 │ │ elif throw: │
│ ❱ 283 │ │ │ raise GDOParamError('err_param', (key, gdt.render_error())) │
│ 284 │ │ return None │
│ 285 │ │
│ 286 │ def param_value(self, key: str, throw: bool = True) -> any: │
│ │
│ ╭──────────── locals ────────────╮ │
│ │ gdt = GDT_Color(bg)=ffffff00 │ │
│ │ key = 'bg' │ │
│ │ self = render(render)=None │ │
│ │ throw = True │ │
│ │ val = 'ffffff00' │ │
│ ╰────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
GDOParamError: Invalid value for parameter bg: Invalid input. It has to match r'^#[0-9a-f]{6}$'.