Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9943 closed defect (cantfix)

AttributeError: 'ThemeNotFound' object has no attribute '_message'

Reported by: Jochen Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

I'm currently running Trac on Windows XP with Python 2.6. I have 2 trac projects, which can be accessed through Apache HTTPD.

I want to use the same theme in both of the applications, but the theme only appears in the first project I access, after Apache HTTPD starts. When I browse to the other project, I get this error: Warning: Unknown theme littlemary configured. Please check your trac.ini. You may need to enable the theme's plugin.

So it seems to me I can only use 1 theme in multiple projects? The theme is installed as plugin in both of the the projects

How to Reproduce

While doing a GET operation on /admin/theme/theme, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': u'theme', 'panel_id': u'theme', 'path_info': None}

User agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13

System Information

Trac 0.12
Genshi 0.6
mod_wsgi 3.0 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.1.31-community-log", client: "5.1.33", thread-safe: 1
MySQLdb 1.2.2
Pygments 1.3.1
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
setuptools 0.6c11
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

tracaccountmanager 0.2.1dev-r7737
tracburndown 1.9.2
tracthemeengine 2.0.1
tracticketchangelogplugin 0.1

Python Traceback

Traceback (most recent call last):
  File "C:\Program Files\Python26\lib\site-packages\trac\web\main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Program Files\Python26\lib\site-packages\trac\web\main.py", line 281, in dispatch
    raise HTTPInternalError(e)
  File "C:\Program Files\Python26\lib\site-packages\trac\web\api.py", line 46, in __init__
    self.detail = detail.message
  File "C:\Program Files\Python26\lib\site-packages\trac\core.py", line 48, in <lambda>
    message = property(lambda self: self._message,
AttributeError: 'ThemeNotFound' object has no attribute '_message'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.