Opened 17 years ago
Closed 17 years ago
#1855 closed defect (duplicate)
Cannot add a comment to a line
Reported by: | Owned by: | Team5 | |
---|---|---|---|
Priority: | highest | Component: | PeerReviewPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
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/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", 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/peerReviewCommentCallback.py", line 44, in process_request self.createComment(req) File "/usr/local/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg/codereview/peerReviewCommentCallback.py", 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
Trac 0.10.3.1
Attachments (2)
Change History (9)
Changed 17 years ago by
Attachment: | peer_loading.jpg added |
---|
comment:1 Changed 17 years ago by
Priority: | normal → high |
---|
comment:3 Changed 17 years ago by
Severity: | normal → blocker |
---|
Additional informations:
- Apache: 2.2.3
- mod_python: 3.1.3
- python: 2.4.2
comment:5 Changed 17 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
can someone attach the patch. i still unable to fix this. i can't compile the file due to 'inconsistent use of tabs and spaces in
indentation'
i changed the tabs, spaces etc... but no luck
comment:6 Changed 17 years ago by
comment:7 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Sorry, should have mentioned, grab the latest source, that version should work just fine. Myself and sontek have taken over maintenance of this plugin. Things should be changing rapidly here, so keep an eye on the wiki page!
pic 1: Loading...