Opened 8 months ago

Last modified 3 weeks ago

#18862 assigned bug

Trac: Error is_authenticated

Reported by: nielx Owned by: nielx
Priority: high Milestone: Unscheduled
Component: Website/Trac Version:
Keywords: Cc:
Blocked By: Blocking: #18923, #19206
Platform: All

Description

After the deployment of 1.6.0, somethings the following error pops up:

2024-03-18 21:19:24,378 Trac[main] ERROR: [10.244.1.190] Internal Server Error: <RequestWithSession "GET '/'">, referrer None
Traceback (most recent call last):
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 609, in dispatch_request
    dispatcher.dispatch(req)
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 301, in dispatch
    raise e
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 210, in dispatch
    chosen_handler = self._get_valid_default_handler(req)
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 337, in _get_valid_default_handler
    name = req.session.get('default_handler')
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/api.py", line 661, in __getattr__
    value = self.callbacks[name](self)
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 364, in _get_session
    return Session(self.env, req)
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/session.py", line 266, in __init__
    if not req.is_authenticated:
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/api.py", line 664, in __getattr__
    raise AttributeError(name)
AttributeError: is_authenticated

To be investigated and resolved (or reported upstream).

Change History (2)

comment:1 by waddlesplash, 5 months ago

Blocking: 18923 added

comment:2 by waddlesplash, 3 weeks ago

Blocking: 19206 added
Note: See TracTickets for help on using tickets.