Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 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/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 4 years ago by Blackhex

  • Status changed from new to assigned

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

comment:2 Changed 4 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 4 years ago by Blackhex

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

comment:4 Changed 4 years ago by rjollos

  • Description modified (diff)

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.