Edgewall Software

Ticket #7561 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

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:

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

Change History

Changed 4 months ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

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

Add/Change #7561 (AttributeError: 'array.array' object has no attribute 'strip' in SVN Changeset)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from (none). Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.