Opened 3 weeks ago

Closed 3 weeks ago

#19206 closed bug (duplicate)

AttributeError: is_authenticated

Reported by: nephele Owned by: nielx
Priority: normal Milestone: Unscheduled
Component: Website/Trac Version: R1/beta5
Keywords: Cc:
Blocked By: #18862 Blocking:
Platform: All

Description

This happens sometimes when opening trac.

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'page': 'WebKit/Overview'}

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 214, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/opt/pypy/lib/pypy3.10/site-packages/trac/web/main.py", line 456, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/var/trac/dev.haiku-os.org/plugins/TracAccountManager-0.6.dev0-py3.10.egg/acct_mgr/api.py", line 469, in pre_process_request
    if not req.session.authenticated or 'ACCTMGR_USER_ADMIN' in req.perm:
  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, 3 weeks ago

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