Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 3 months ago

#7595 closed defect (worksforme)

AttributeError: 'list' object has no attribute 'split'

Reported by: dave@… Owned by:
Priority: normal Milestone:
Component: version control/log view Version: 0.11
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /log/trunk/boost/archive/array/iarchive.hpp, Trac issued an internal error.

(please provide additional details here)

I was at http://svn.boost.org/trac/boost/log/trunk/boost/archive/array/iarchive.hpp?rev=38329 and I clicked "revision log"

Request parameters:

{'limit': u'100',
 'mode': u'follow_copy',
 'path': u'/trunk/boost/archive/array/iarchive.hpp',
 'rev': [u'38329?action=stop_on_copy', u'38329'],
 'stop_rev': u'',
 'verbose': u'on'}

System Information

Trac 0.11
Python 2.4.4 (#1, Jan 25 2007, 13:04:51)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
setuptools 0.6c8
SQLite 3.5.4
pysqlite 2.4.1
Genshi 0.5
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/trac2/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 "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/versioncontrol/web_ui/log.py", line 91, in process_request
    revranges = Ranges(revs)
  File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/__init__.py", line 397, in __init__
    self.appendrange(r)
  File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/__init__.py", line 404, in appendrange
    for x in r.split(","):
AttributeError: 'list' object has no attribute 'split'

Attachments (0)

Change History (4)

comment:1 by dave@…, 16 years ago

Oops, I meant that I checked "follow copies" and hit the "update" button.

comment:2 by Christian Boos, 16 years ago

Component: generalversion control/log view
Keywords: needinfo added

Strange, it works for me (repeating the reproduction steps on your page).

Looks like in your case:

'rev': [u'38329?action=stop_on_copy', u'38329'],

was the problem (in particular, the presence of the extra, buggy, value u'38329?action=stop_on_copy').

But I've got no clue why you had that and not me. Is the problem always reproducible for you? And what if you're doing this when no logged in?

comment:3 by Christian Boos, 16 years ago

Dave, could you give us more details? Does this still happen? Was that web browser dependent?

This ticket approaches the 3 months limit, so I'm asking again for feedback before closing ;-) (#7816 reminded me about it)

comment:4 by dave@…, 16 years ago

Resolution: worksforme
Status: newclosed

Weird; it's working for me now, too.

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.