Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7459 closed defect (invalid)

DistributionNotFound: Beaker

Reported by: black.cap@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /browser/Проверка, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'path': u'/\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.16) Gecko/20080715 Ubuntu/7.10 (gutsy) Firefox/2.0.0.16

System Information

Trac 0.11
Python 2.5.1 (r251:54863, Mar 7 2008, 04:14:33)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
setuptools 0.6c6
MySQL server: "5.0.45-Debian_1ubuntu3.3-log", client: "5.0.45", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.3.1
Pygments 0.10
Mercurial 1.0.1
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/web_ui/browser.py", line 363, in process_request
    node, rev),
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/web_ui/browser.py", line 536, in _render_file
    force_source=force_source)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/mimeview/api.py", line 820, in preview_data
    annotations, force_source=force_source)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/mimeview/api.py", line 606, in render
    qr = renderer.get_quality_ratio(mimetype)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/mimeview/pygments.py", line 98, in get_quality_ratio
    self._init_types()
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/mimeview/pygments.py", line 179, in _init_types
    for _, aliases, _, mimetypes in get_all_lexers():
  File "/usr/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg/pygments/lexers/__init__.py", line 48, in get_all_lexers
    for lexer in find_plugin_lexers():
  File "/usr/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg/pygments/plugin.py", line 53, in find_plugin_lexers
    yield entrypoint.load()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1911, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1924, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
DistributionNotFound: Beaker

Attachments (0)

Change History (1)

comment:1 by ebray <hyugaricdeau@…>, 16 years ago

Resolution: invalid
Status: newclosed

So you have a package installed that provides some pygments lexers and that requires Beaker (Mako possibly?). So I think the obvious thing to do might be to install Beaker. Regardless, this has nothing to do with Trac itself. If you need help you can ask on the MailingList or IrcChannel.

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.