Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8095 closed defect (invalid)

MemoryError using reposearchplugin

Reported by: jeffrey.lyon@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11
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)

Ran a search after installing repoSearchPlugin on a repository containing 10GB in 2000 files). The computer has 110GB of free disk space and 3GB or RAM. The error is repeatable with this repository. The search runs successfully on other smaller repositories.

Request parameters:

{'noquickjump': u'1', 'q': u'test', 'repo': u'on'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

System Information

Trac 0.11
Python 2.5.2 |EPD Py25 4.1.30101| (r252:60911, Dec 19 2008, 13:49:12) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9-s1
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5
Pygments 0.10.0001
Subversion 1.5.4 (r33841)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python25\Lib\site-packages\trac\search\web_ui.py", line 106, in process_request
    results += list(source.get_search_results(req, terms, filters))
  File "build\bdist.win32\egg\tracreposearch\search.py", line 112, in get_search_results
    for node in walker(repo, query):
  File "build\bdist.win32\egg\tracreposearch\search.py", line 93, in full_walker
    content = to_unicode(content.read().lower(), node.get_content_type())
  File "C:\Python25\Lib\site-packages\trac\mimeview\api.py", line 789, in to_unicode
    return to_unicode(content, charset)
  File "C:\Python25\Lib\site-packages\trac\util\text.py", line 59, in to_unicode
    return unicode(text, charset, 'replace')
  File "C:\Python25\lib\encodings\iso8859_15.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
MemoryError

Attachments (0)

Change History (2)

comment:1 by jeffrey.lyon@…, 15 years ago

more details on the plugin:

tracreposearch 0.2

http://trac-hacks.org/wiki/TracRepoSearch

comment:2 by Emmanuel Blot, 15 years ago

Resolution: invalid
Status: newclosed

more details on the plugin:

More details about NewTicket#Whentonotcreateatickethere

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.