#23394 closed defect (othersoftware)
AttributeError: is_authenticated
| Reported by: | GerdP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trac | Version: | |
| Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /timeline, Trac issued an internal error.
(please provide additional details here)
I just switched from PC to laptop and tried to open the timeline.
Request parameters:
{}
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
System Information
Systeminformation nicht verfügbar
Enabled Plugins
Plugininformation nicht verfügbar
Interface Customization
Schnittstellen-Anpassungs-Information nicht verfügbar
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 (7)
comment:1 by , 23 months ago
comment:2 by , 23 months ago
| Resolution: | → othersoftware |
|---|---|
| Status: | new → closed |
Probably session was broken somehow. If happening again report it to trac.
comment:3 by , 23 months ago
| Component: | Core → Trac |
|---|
comment:5 by , 22 months ago
I'd create a ticket for trac.edgewall.org, but that's impossible. Either I get a 403 error or the links for new tickets don't work (on another computer).



A 2nd try worked fine.