Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7561 closed defect (invalid)

AttributeError: 'array.array' object has no attribute 'strip' in SVN Changeset

Reported by: rdougan@… Owned by:
Priority: high Milestone:
Component: version control/changeset view Version:
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When I try to view a SVN changeset in the SVN browser I get the following error:

AttributeError: 'array.array' object has no attribute 'strip'

Other information:

File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 197, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/versioncontrol/web_ui/changeset.py", line 323, in process_request
  self._render_html(req, repos, chgset, restricted, xhr, data)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/versioncontrol/web_ui/changeset.py", line 542, in _render_html
  for old_node, new_node, kind, change in get_changes():
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/versioncontrol/web_ui/changeset.py", line 364, in get_changes
  for npath, kind, change, opath, orev in chgset.get_changes():
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/versioncontrol/cache.py", line 319, in get_changes
  path.strip('/'))):
Trac:  	0.11
Python: 	2.4.4 (#1, Apr 15 2008, 23:37:53) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools: 	0.6c3
MySQL: 	server: "5.0.32-Debian_7etch6-log", client: "5.0.32", thread-safe: 0
MySQLdb: 	1.2.1_p2
Genshi: 	0.5.1
mod_python: 	3.3.1
Pygments: 	0.10
Subversion: 	1.4.2 (r22196)
jQuery:	1.2.3

Attachments (0)

Change History (1)

comment:1 by anonymous, 16 years ago

Resolution: invalid
Status: newclosed

Problem is to do with mysql. See here: http://trac.edgewall.org/wiki/MySqlDb

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.