Opened 6 years ago

Closed 6 years ago

#7425 closed defect (fixed)

TypeError: 'instancemethod' object is unsubscriptable

Reported by: jlew.blackout@… Owned by: dr4Ke
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 6 years ago by dr4Ke

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

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

Add Comment

Modify Ticket

as closed The owner will remain dr4Ke.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.