googlefonts / fontra-rcjk

Fontra plug-in with django-robocjk support and .rcjk file format support
GNU General Public License v3.0
2 stars 1 forks source link

logout causes 500 Internal Server error #168

Closed justvanrossum closed 6 months ago

justvanrossum commented 6 months ago
2024-04-15 16:00:57 aiohttp.server    ERROR    Error handling request
Traceback (most recent call last):
  File "/Users/just/code/git/BlackFoundry/fontra/venv/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/just/code/git/BlackFoundry/fontra/venv/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/just/code/git/BlackFoundry/fontra-rcjk/src/fontra_rcjk/projectmanager.py", line 88, in logoutHandler
    await client.close()
          ^^^^^^^^^^^^
AttributeError: 'AuthorizedClient' object has no attribute 'close'. Did you mean: 'aclose'?

The error message contains the likely fix...