Modify

Opened 8 years ago

Closed 7 years ago

#774 closed defect (fixed)

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

Reported by: ketan (_d0t) shah at gmail (_d0t) com Owned by: coderanger
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by coderanger)

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 8 years ago.
Screenshot2.png (42.3 KB) - added by anonymous 8 years ago.
774.patch (558 bytes) - added by mikechml 7 years ago.
Fix

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by anonymous

Changed 8 years ago by anonymous

comment:1 Changed 8 years ago by coderanger

  • Description modified (diff)

Fixing formatting

comment:2 Changed 8 years ago by coderanger

  • Owner changed from Team5 to coderanger

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

Changed 7 years ago by mikechml

Fix

comment:3 Changed 7 years ago by mikechml

  • Resolution set to fixed
  • Status changed from new to closed

(In [2266]) fixes #774

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.