Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6203 closed defect (wontfix)

new project, /trac/wiki was fine - added files now errors

Reported by: byrd.dave@… 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 Emmanuel Blot)

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)

new 2 (6.7 KB ) - added by byrd.dave@… 17 years ago.
hdfdump for #6203

Download all attachments as: .zip

Change History (4)

by byrd.dave@…, 17 years ago

Attachment: new 2 added

hdfdump for #6203

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Version: 0.10.4

comment:2 by Christian Boos, 17 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 ;-)

comment:3 by Christian Boos, 17 years ago

Resolution: wontfix
Status: newclosed

No code shown, no fix ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.