Opened 12 months ago

Closed 7 months ago

#11262 closed defect (worksforme)

Failed to install plugin on Trac 1.0.1 SLES 11 Python 2.6

Reported by: anonymous Owned by: stoecker
Priority: normal Component: TracIniAdminPanelPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by jun66j5)

python bdist_egg
cp dist/TracIniAdminPanel-1.0.1-py2.6.egg <trac>/plugins
cd  <trac>/plugins
-rw-r--r-- 1 wwwrun www 30749 Aug  7 15:53 TracIniAdminPanel-1.0.1-py2.6.egg

trac crashes afterwards with:

Traceback (most recent call last):

  File "build/bdist.linux-x86_64/egg/trac/web/", line 514, in send_error
    data, 'text/html')
  File "build/bdist.linux-x86_64/egg/trac/web/", line 975, in render_template
    template = self.load_template(filename, method=method)
  File "build/bdist.linux-x86_64/egg/trac/web/", line 933, in load_template
    self.get_all_templates_dirs(), auto_reload=self.auto_reload,
  File "build/bdist.linux-x86_64/egg/trac/web/", line 648, in get_all_templates_dirs
    for provider in self.template_providers:
  File "build/bdist.linux-x86_64/egg/trac/", line 78, in extensions
    components = [component.compmgr[cls] for cls in classes]
  File "build/bdist.linux-x86_64/egg/trac/", line 199, in __getitem__
    component = cls(self)
  File "build/bdist.linux-x86_64/egg/trac/", line 138, in __call__
  File "build/bdist.linux-x86_64/egg/inieditorpanel/", line 63, in __init__
    locale_dir = resource_filename(__name__, 'locale')
  File "build/bdist.linux-x86_64/egg/", line 945, in resource_filename
    self, resource_name
  File "build/bdist.linux-x86_64/egg/", line 1634, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "build/bdist.linux-x86_64/egg/", line 1653, in _extract_resource
    timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'inieditorpanel/locale'

Attachments (0)

Change History (3)

comment:1 Changed 12 months ago by jun66j5

  • Description modified (diff)

comment:2 Changed 10 months ago by anonymous

To build locale files, run:

$ python compile_catalog -f


$ python bdist_egg

comment:3 Changed 7 months ago by stoecker

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from stoecker. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.