Modify

Opened 18 years ago

Closed 17 years ago

#774 closed defect (fixed)

error: 'int' object not callable when a source code file link is clicked.

Reported by: ketan.shah@… Owned by: Noah Kantrowitz
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by Noah Kantrowitz)

System info:

  • Trac version: 0.10
  • Peer Review Plugin version: TracCodeReview 2.0Dev

When a source code url is clicked (screenshot1.png) from peer review plugin I get an error shown that "int object is not callable) (screenshot2.png)

2006-10-07 11:55:03,931 Trac[loader] DEBUG: Loading egg plugin webadmin.logging from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:03,934 Trac[loader] DEBUG: Loading egg plugin webadmin.ticket from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:03,971 Trac[loader] DEBUG: Loading egg plugin webadmin.basics from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:03,973 Trac[loader] DEBUG: Loading egg plugin webadmin.perm from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:03,978 Trac[loader] DEBUG: Loading egg plugin webadmin.web_ui from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:03,980 Trac[loader] DEBUG: Loading egg plugin webadmin.plugin from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:04,066 Trac[loader] DEBUG: Loading egg plugin codereview from /usr/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg
2006-10-07 11:55:06,966 Trac[loader] DEBUG: Loading egg plugin webadmin.logging from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:06,969 Trac[loader] DEBUG: Loading egg plugin webadmin.ticket from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:06,979 Trac[loader] DEBUG: Loading egg plugin webadmin.basics from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:06,981 Trac[loader] DEBUG: Loading egg plugin webadmin.perm from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:06,983 Trac[loader] DEBUG: Loading egg plugin webadmin.web_ui from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:06,985 Trac[loader] DEBUG: Loading egg plugin webadmin.plugin from /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.1dev_r2765-py2.4.egg
2006-10-07 11:55:07,052 Trac[loader] DEBUG: Loading egg plugin codereview from /usr/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg
2006-10-07 11:55:07,369 Trac[svn_fs] DEBUG: Opening subversion file-system at /home/ketan/svn with scope /
'''2006-10-07 11:55:07,382 Trac[main] ERROR: 'int' object is not callable
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/codereview/peerReviewPerform.py", line 166, in process_request
TypeError: 'int' object is not callable'''

Attachments (3)

Screenshot1.png (42.3 KB) - added by anonymous 18 years ago.
Screenshot2.png (42.3 KB) - added by anonymous 18 years ago.
774.patch (558 bytes) - added by mikechml 17 years ago.
Fix

Download all attachments as: .zip

Change History (6)

Changed 18 years ago by anonymous

Attachment: Screenshot1.png added

Changed 18 years ago by anonymous

Attachment: Screenshot2.png added

comment:1 Changed 18 years ago by Noah Kantrowitz

Description: modified (diff)

Fixing formatting

comment:2 Changed 18 years ago by Noah Kantrowitz

Owner: changed from Team5 to Noah Kantrowitz

0.10 support in this plugin is still horrible. It is on my todo list, but behind a few other things.

Changed 17 years ago by mikechml

Attachment: 774.patch added

Fix

comment:3 Changed 17 years ago by mikechml

Resolution: fixed
Status: newclosed

(In [2266]) fixes #774

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
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.