Opened 16 years ago

Closed 16 years ago

#1854 closed defect (duplicate)

Cannot add a comment on a line

Reported by: c.posluschni@… Owned by: mikechml
Priority: high Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


If I try to add a comment on a line (open dialog, type in a few words and click Add comment) Loading... appears (see pic 1). A refresh leads to No Comments on line (see pic 2). After a click on Add Comment(pic 2) the following error occurs:

Traceback (most recent call last):

File "/usr/local/lib/python2.4/site-packages/trac/web/", line 387, in dispatch_request


File "/usr/local/lib/python2.4/site-packages/trac/web/", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/local/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg/codereview/", line 44, in process_request


File "/usr/local/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg/codereview/", line 114, in createComment

if hasattr(upload, 'filename') and upload.filename:

AttributeError: 'unicode' object has no attribute 'filename'

The file is already patched:
line 114, in createComment
if hasattr(upload, 'filename') and upload.filename:

Operating System: SLES 10

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by c.posluschni@…

Resolution: duplicate
Status: newclosed

See Ticket #1855

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain mikechml.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.