Opened 18 years ago
Closed 18 years ago
#6203 closed defect (wontfix)
new project, /trac/wiki was fine - added files now errors
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.10.4 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
I apologize, as noob. I searched for 2 days for all keywords in error message but found nothing.
I loaded up trac, built the SVN repository, logged in and it worked great, got normal intro page and empty 'browse source','timeline',milestone','view tickets' as expected.
I made first deposit to repository (upload from WindowsXP via TortoiseSVN and now I get error on wiki homepage. everything else seems to work, just no wiki or TracGuide - not a big deal, just worried something else might break down the road.
tickets, browsesource, timeline, milestones all OK, but everything within trac/wiki/* fails
here is message:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 135, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 466, in _render_view
req.hdf['wiki.attach_href'] = attach_href
AttributeError: 'str' object has no attribute 'hdf'
Oddly, on reviewing code via /trac/wiki?hdfdump=1, it jumps to EOM despite having full normal page stuff. redacted hdfdump is attached
Attachments (1)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
| Description: | modified (diff) |
|---|---|
| Version: | → 0.10.4 |
comment:2 by , 18 years ago
| Keywords: | needinfo added |
|---|
Quite strange indeed. Can you show us your file /usr/lib/python2.4/site-packages/trac/wiki/web_ui.py, from line 459 to 466?
req.hdf['wiki.attach_href'] = attach_href should actually be on line 465, so I suspect there's an extra line in there that replaces req with something funny ;-)



hdfdump for #6203