Opened 16 months ago
Closed 16 months ago
#23426 closed defect (duplicate)
AttributeError: is_authenticated
Reported by: | gaben | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /ticket/23397
, Trac issued an internal error.
(please provide additional details here)
gaben: I just opened https://josm.openstreetmap.de/ticket/23397#comment:9 from the email notification. Sometimes I see this error since the upgrade.
Request parameters:
{'id': '23397'}
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
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 "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 609, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 301, in dispatch raise e File "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 214, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 456, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "/usr/local/lib/python3.10/dist-packages/acct_mgr/api.py", line 469, in pre_process_request if not req.session.authenticated or 'ACCTMGR_USER_ADMIN' in req.perm: File "/usr/local/lib/python3.10/dist-packages/trac/web/api.py", line 661, in __getattr__ value = self.callbacks[name](self) File "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 364, in _get_session return Session(self.env, req) File "/usr/local/lib/python3.10/dist-packages/trac/web/session.py", line 266, in __init__ if not req.is_authenticated: File "/usr/local/lib/python3.10/dist-packages/trac/web/api.py", line 664, in __getattr__ raise AttributeError(name) AttributeError: is_authenticated
Attachments (0)
Change History (4)
comment:1 by , 16 months ago
comment:3 by , 16 months ago
Has the same stacktrace, but the user agent and request differs. Hmm, let @stoecker decide :D
comment:4 by , 16 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #23394.
I've seen that around 10 times now. Pressing F5 always solved the problem.