Opened 6 months ago

Closed 6 months ago

#18923 closed bug (duplicate)

AttributeError: is_authenticated

Reported by: grexe Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/beta4
Keywords: Cc:
Blocked By: #18862 Blocking:
Platform: All

Description

How to Reproduce

While doing a GET operation on /, Trac issued an internal error.

I was successfully logged in but got this error afterwards

Request parameters:

{}

User agent: Mozilla/5.0 (Macintosh; Intel Haiku R1) AppleWebKit/605.1.15 (KHTML, like Gecko) WebPositive/1.3 Version/14.1.2 Safari/605.1.15

System Information

System information not available

Enabled Plugins

Plugin information not available

Interface Customization

Interface customization information not available

Python Traceback

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

Change History (1)

comment:1 by waddlesplash, 6 months ago

Blocked By: 18862 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.