Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7652 closed defect (wontfix)

config.getpath error.

Reported by: mvr Owned by: Blackhex
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

revision 8663 breaks as follows for me, whereas 8662 does not. occurs for trac 0.11.1, standalone server in a clean virtual environment.

  File "/home/matt/public_html/test_edit_file/lib/python2.6/site-packages/Trac-0.11.1-py2.6.egg/trac/", line 108, in maybe_init
  File "/home/matt/public_html/test_edit_file/src/tracscreenshots/tracscreenshots/", line 80, in __init__
    self.path = self.config.getpath(
AttributeError: 'Configuration' object has no attribute 'getpath'

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Blackhex

  • Status changed from new to assigned

Thanks for reporting, I'll check and fix that at Thursday.

comment:2 Changed 6 years ago by Blackhex

Since 0.11.1 is not the current version of 0.11 branch, I won't fix it. Update to at least Trac 0.11.5 or change the line to:

self.path = self.config.get('screenshots', 'path') or '../screenshots'

comment:3 Changed 6 years ago by Blackhex

  • Resolution set to wontfix
  • Status changed from assigned to closed

comment:4 Changed 6 years ago by rjollos

  • Description modified (diff)

You might want to add install_requires = ['Trac >= 0.11.5'] to

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
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.