Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#23958 closed defect (duplicate)

AttributeError: is_authenticated

Reported by: 28shtuh01@… Owned by: stoecker
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc: stoecker

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0

System Information

System information not available

Enabled Plugins

Plugin information not available

Interface Customization

Interface customisation 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 210, in dispatch
    chosen_handler = self._get_valid_default_handler(req)
  File "/usr/local/lib/python3.10/dist-packages/trac/web/main.py", line 337, in _get_valid_default_handler
    name = req.session.get('default_handler')
  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 (2)

comment:1 by taylor.smock, 2 months ago

Cc: stoecker added
Component: CoreTrac
Owner: changed from team to stoecker
Resolution: worksforme
Status: newclosed

@28shtuh01: I have no clue what you were trying to do. curl -X GET https://josm.openstreetmap.de/ worked for me. If you were trying to report a bug against Trac, you probably want https://trac.edgewall.org/wiki/NewTicket .

@stoecker: Maybe this is for one of the Trac plugins you maintain? I don't think so based off of the traceback.

comment:2 by stoecker, 2 months ago

Resolution: worksformeduplicate

Marked as duplicate of #23394.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
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.