Modify ↓
#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 )
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 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
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 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
comment:4 Changed 14 years ago by
Description: | modified (diff) |
---|
You might want to add install_requires = ['Trac >= 0.11.5']
to setup.py
.
Note: See
TracTickets for help on using
tickets.
Thanks for reporting, I'll check and fix that at Thursday.