Opened 8 years ago

Closed 8 years ago

#7425 closed defect (fixed)

TypeError: 'instancemethod' object is unsubscriptable

Reported by: jlew.blackout@… Owned by: Christophe Drevet
Priority: normal Component: TracGitosisPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Python Traceback

Most recent call last:
File "/usr/lib/python2.5/site-packages/trac/web/", line 423, in _dispatch_request
File "/usr/lib/python2.5/site-packages/trac/web/", line 197, in dispatch
File "/usr/lib/python2.5/site-packages/trac/admin/", line 113, in process_request
File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/", line 192, in render_admin_panel
File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/", line 239, in set_config
File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/", line 267, in _write_config
File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/", line 281, in write

Line 281:

fp.write("%s = %s\n" % (item, str(self.sections['gitosis'][item]).replace('\n', '\n\t')))

Should be Line 281:

fp.write("%s = %s\n" % (item, str(self._sections['gitosis'][item]).replace('\n', '\n\t')))

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Christophe Drevet

Resolution: fixed
Status: newclosed

Thanks for pointing it out. Fixed in latest commit on github.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christophe Drevet.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.