Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7652 closed defect (wontfix)

config.getpath error.

Reported by: matthew von rocketstein Owned by: Radek Bartoň
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

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 8 years ago by Radek Bartoň

Status: newassigned

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

comment:2 Changed 8 years ago by Radek Bartoň

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 8 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

comment:4 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
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.