ThemeEnginePlugin with Trac 1.0

138 views
Skip to first unread message

gmk

unread,
Oct 9, 2012, 10:22:44 AM10/9/12
to trac-...@googlegroups.com
If a set 
themeengine.api.themeenginesystem = enabled

i get

  File "/usr/local/lib/python2.6/dist-packages/TracThemeEngine-2.0.1-py2.6.egg/themeengine/api.py", line 65, in __init__
    for provider in self.providers:
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/core.py", line 78, in extensions
    components = [component.compmgr[cls] for cls in classes]
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/core.py", line 199, in __getitem__
    component = cls(self)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/core.py", line 138, in __call__
    self.__init__()
[...]
  File "/usr/local/lib/python2.6/dist-packages/TracThemeEngine-2.0.1-py2.6.egg/themeengine/api.py", line 65, in __init__
    for provider in self.providers:
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/core.py", line 78, in extensions
    components = [component.compmgr[cls] for cls in classes]
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/core.py", line 199, in __getitem__
    component = cls(self)
RuntimeError: maximum recursion depth exceeded while calling a Python object

With
api.py", line 65, in __init__

    def __init__(self):
        # This can safely go in here because the data can only change on a restart anyway
        self.info = {}
        for provider in self.providers:
            for name in provider.get_theme_names():
                theme = provider.get_theme_info(name)
                theme['provider'] = provider
                theme['module'] = provider.__class__.__module__
                theme['name'] = name
                self.info[name.lower()] = theme


Is this plugin broken with Trac 1.0 or is there another Plugin to use with Trac 1.0?

Regards, 
Gernot

Peter Suter

unread,
Oct 9, 2012, 1:50:20 PM10/9/12
to trac-...@googlegroups.com
On 09.10.2012 16:22, gmk wrote:
> Is this plugin broken with Trac 1.0 or is there another Plugin to use with Trac 1.0?

Yes, that plugin is broken in Trac 1.0.

See http://trac-hacks.org/ticket/9580 which also contains a patch that
might help.

-- Peter

Olemis Lang

unread,
Oct 9, 2012, 2:33:53 PM10/9/12
to trac-...@googlegroups.com
/me fixing once maintainership will be granted to me
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To post to this group, send email to trac-...@googlegroups.com.
> To unsubscribe from this group, send email to
> trac-users+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>


--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

RjOllos

unread,
Oct 9, 2012, 7:37:10 PM10/9/12
to trac-...@googlegroups.com


On Tuesday, October 9, 2012 11:34:01 AM UTC-7, olemis wrote:
/me fixing once maintainership will be granted to me

I gave you commit access just now, so you can at least push any changes you'd like. I trust that you know what you are doing ;)

We'll transfer over full maintainership if coderanger doesn't want to continue maintaining it. 

Olemis Lang

unread,
Oct 9, 2012, 8:25:16 PM10/9/12
to trac-...@googlegroups.com
Noah K. already replied to th-users ML saying it's ok ... did u c that message ?

PS: I never know what I'm doing ... things I do just work , don't ask
me why / how
:)
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/trac-users/-/b7kV7AD34IoJ.

Ryan Ollos

unread,
Oct 9, 2012, 8:39:50 PM10/9/12
to trac-...@googlegroups.com
-----Original Message-----
From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com] On Behalf Of Olemis Lang
Sent: Tuesday, October 09, 2012 17:25
To: trac-...@googlegroups.com
Subject: Re: [Trac] ThemeEnginePlugin with Trac 1.0

> Noah K. already replied to th-users ML saying it's ok ... did u c that message ?

I didn't, I'm probably on daily digest for that mail list.

It's all yours now. Work more miracles :)
Reply all
Reply to author
Forward
0 new messages