Modify ↓
#4219 closed defect (duplicate)
Wiki macro TracGuideToc failed
| Reported by: | __doc__ | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | devel |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Browsing the Help/About page of trac that uses the [[TracGuideToc]] I get the following traceback
2006-11-20 16:33:21,504 Trac[macros] ERROR: Wiki macro TracGuideToc failed ('NoneType' object is not callable)
Traceback (most recent call last):
File "/root/packages/trac/trac/wiki/macros.py", line 501, in render_macro
return module.execute(req and req.hdf, content, self.env)
File "/usr/share/trac/wiki-macros/TracGuideToc.py", line 34, in execute
curpage = '%s' % hdf.getValue('wiki.page_name', '')
TypeError: 'NoneType' object is not callable
2006-11-20 16:33:21,505 Trac[formatter] ERROR: Macro TracGuideToc(None) failed
Traceback (most recent call last):
File "/root/packages/trac/trac/wiki/formatter.py", line 443, in _macro_formatter
return macro.process(self.req, args, True)
File "/root/packages/trac/trac/wiki/formatter.py", line 115, in process
text = self.processor(req, text)
File "/root/packages/trac/trac/wiki/formatter.py", line 103, in _macro_processor
return self.macro_provider.render_macro(req, self.name, text)
File "/root/packages/trac/trac/wiki/macros.py", line 501, in render_macro
return module.execute(req and req.hdf, content, self.env)
File "/usr/share/trac/wiki-macros/TracGuideToc.py", line 34, in execute
curpage = '%s' % hdf.getValue('wiki.page_name', '')
TypeError: 'NoneType' object is not callable
I tried this on r4320
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
| Severity: | normal → major |
|---|
comment:2 by , 19 years ago
I can reproduce this on trunk if I delete neo_cgi.so, so I wonder if your Clearsilver isn't installed properly. The error page I get (same error, NoneType not callable while trying to render TracGuideToc) states:
To install Trac, the following software packages must be installed: ... ClearSilver, version >= 0.9.3 * With python-bindings (./configure --with-python=/usr/bin/python)
comment:3 by , 19 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Well, anyway that macro is currently broken, even if hdf would not be None, it wouldn't contain any data… See #3958.
comment:4 by , 19 years ago
| Milestone: | 0.11 |
|---|
Note:
See TracTickets
for help on using tickets.



Problem is still there with 0.11 trunk r4363