Modify

Opened 23 months ago

Closed 23 months ago

Last modified 14 months ago

#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 GerdP, 23 months ago

A 2nd try worked fine.

comment:2 by stoecker, 23 months ago

Resolution: othersoftware
Status: newclosed

Probably session was broken somehow. If happening again report it to trac.

comment:3 by skyper, 23 months ago

Component: CoreTrac

comment:4 by stoecker, 22 months ago

Ticket #23426 has been marked as a duplicate of this ticket.

comment:5 by stoecker, 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).

comment:6 by stoecker, 14 months ago

Ticket #23958 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.