Modify

Opened 8 years ago

Last modified 6 years ago

#1027 new defect

Does not (yet?) work with trac 0.11dev

Reported by: anonymous Owned by: coderanger
Priority: normal Component: HierWikiPlugin
Severity: normal Keywords: Porting
Cc: Trac Release: 0.11

Description

I tried to use the HierWikiPlugin with trac 0.11dev but it does not work - presumably because of the changes in trac itself from 0.10 to 0.11.
Since I didn´t succeed in compiling ClearSilver on my Solaris (SPARC) 10 box I have to use trac 0.11dev (using Genshi) and would be happy if HierWikiPlugin could be ported to that base.
Are there any plans/timelines for doing so?
Heiko

Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by cboos

Noah, see also #T4416.

comment:2 follow-up: Changed 8 years ago by coderanger

I am not planning to port most of my plugins to 0.11 until there is at least a beta-level release (as far as API stability). I have so many plugins that porting is going to be a very non-trivial task. If you post a specific traceback I can try to fix this specific issue. The two macros should work in 0.11, though I doubt the other stuff will.

comment:3 Changed 8 years ago by anonymous

I activated all 4 parts of the plugin and then put

Go up: [[ParentWiki]]

in the page "TracAccessibility".
That gave me:

Error: Macro !ParentWiki(None) failed
'Formatter' object has no attribute 'hdf'

And in the Logfile we find:

2006-12-18 17:39:42,767 Trac[formatter] ERROR: Macro ParentWiki(None) failed
Traceback (most recent call last):
  File "/digibib/tools/lib/python2.4/site-packages/trac/wiki/formatter.py", line 442, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/digibib/tools/lib/python2.4/site-packages/trac/wiki/formatter.py", line 116, in process
    text = self.processor(text)
  File "/digibib/tools/lib/python2.4/site-packages/trac/wiki/formatter.py", line 103, in _macro_processor
    return self.macro_provider.render_macro(self.formatter, self.name, text)
  File "build/bdist.solaris-2.10-sun4u/egg/hierwiki/macros/parentwiki.py", line 42, in render_macro
AttributeError: 'Formatter' object has no attribute 'hdf'

Hope that helps.
heiko

comment:4 in reply to: ↑ 2 ; follow-up: Changed 8 years ago by cboos

Replying to coderanger:

... The two macros should work in 0.11, though I doubt the other stuff will.

Well, the parent macro is not needed anymore, as you can now simply write [.. up].

comment:5 in reply to: ↑ 4 Changed 6 years ago by anonymous

Replying to cboos:

Replying to coderanger:

... The two macros should work in 0.11, though I doubt the other stuff will.

Well, the parent macro is not needed anymore, as you can now simply write [.. up].

Well, I still love the ParentWiki and SubWiki although you can use .. and TracIndex(...)?. Because it shows the true title instead of just the CamalCase page name.

We'll be missing this.

comment:6 Changed 6 years ago by kennethxu

works now. see comment:ticket:3566:4

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.