From UlrichB at posteo.de Thu Sep 12 14:09:28 2024 From: UlrichB at posteo.de (Ulrich B.) Date: Thu, 12 Sep 2024 18:09:28 +0000 Subject: [moin-devel] Debian packages problem: traceback in themes/__init__.py" line 831: AttributeError In-Reply-To: <1873638.7maI3eu1ZR@jason> References: <59f9c6e9-ab8f-4431-ada5-ea3836fe32d5@posteo.de> <1874600.qkCczyV1En@jason> <3232154.D0SlxzLt8a@jason> <1873638.7maI3eu1ZR@jason> Message-ID: <1cc4f3c0-a021-49cd-88d5-a844d1f6e403@posteo.de> Am 14.08.24 um 23:59 schrieb Paul Boddie: > Just to follow up again, I identified the error and it is a trivial but > annoying one. Having set up a wiki instance, I tried to visit it at... > > http://127.0.0.1/20240814 > > This caused the error where request.view_args is None. Introducing some > debugging statements indicated that the initial exception occurs in flask/ > ctx.py in the RequestContext.match_request method, this being an HTTPException > instance encoding a "308 Permanent Redirect" condition. There is an option to prevent the redirect, please see https://github.com/moinwiki/moin/issues/1737. Hopefully this fixes the problem. Regards, Ulrich From paul at boddie.org.uk Thu Sep 12 17:43:09 2024 From: paul at boddie.org.uk (Paul Boddie) Date: Thu, 12 Sep 2024 23:43:09 +0200 Subject: [moin-devel] Debian packages problem: traceback in themes/__init__.py" line 831: AttributeError In-Reply-To: <1cc4f3c0-a021-49cd-88d5-a844d1f6e403@posteo.de> References: <59f9c6e9-ab8f-4431-ada5-ea3836fe32d5@posteo.de> <1873638.7maI3eu1ZR@jason> <1cc4f3c0-a021-49cd-88d5-a844d1f6e403@posteo.de> Message-ID: <90853209.PxrMLVxtBM@jason> On Thursday, 12 September 2024 20:09:28 CEST Ulrich B. wrote: > > There is an option to prevent the redirect, please see > https://github.com/moinwiki/moin/issues/1737. Hopefully this fixes the > problem. I manually introduced the one-line change and it does indeed fix the error. Thanks for looking into this, and I look forward to the next release! Paul