Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9534 closed defect (cantfix)

AttributeError: 'NoneType' object has no attribute 'get_node'

Reported by: jerryli@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'changeset': u'on',
 'docs': u'on',
 'milestone': u'on',
 'noquickjump': u'1',
 'q': u'test',
 'ticket': u'on',
 'wiki': u'on'}

User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

System Information

Trac 0.12
Genshi 0.6
mod_python 3.3.1
MySQL server: "5.1.48-log", client: "5.1.48", thread-safe: 1
MySQLdb 1.2.3
Python 2.6.5 (r265:79063, Jul 14 2010, 17:39:10)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-10)]
RPC 1.1.0
setuptools 0.6c11
Subversion 1.6.12 (r955767)
jQuery 1.4.2

Enabled Plugins

AdvancedTicketWorkflowPlugin 0.10dev
HudsonTrac 0.3
IniAdmin 0.2
PageToDoc 0.2
siteupload 0.11dev
TracDocs 0.3
tracreposearch 0.2
TracXMLRPC 1.1.0

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/search/web_ui.py", line 96, in process_request
    results = self._do_search(req, terms, filters)
  File "build/bdist.linux-x86_64/egg/trac/search/web_ui.py", line 201, in _do_search
    or [])
  File "build/bdist.linux-x86_64/egg/tracdocs/web_ui.py", line 38, in get_search_results
    node = repos.get_node(root, None)
AttributeError: 'NoneType' object has no attribute 'get_node'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (TracDocs).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


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