Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 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/core.py", line 108, in maybe_init
    init(self)
  File "/home/matt/public_html/test_edit_file/src/tracscreenshots/tracscreenshots/core.py", line 80, in __init__
    self.path = self.config.getpath(
AttributeError: 'Configuration' object has no attribute 'getpath'

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Radek Bartoň

Status: newassigned

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

comment:2 Changed 7 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 7 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

comment:4 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.