Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10417 closed defect (wontfix)

trac-admin: console depends on Genshi

Reported by: anatoly techtonik <techtonik@…> Owned by:
Priority: normal Milestone:
Component: admin/console Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It is not logical to have Trac admin console dependent on Genshi:

Traceback (most recent call last):
  File "bootstrap.py", line 40, in <module>
    import trac.admin.console
  File "/home/user07/trac/0.12dev/trac/admin/__init__.py", line 14, in <module>
    from trac.admin.api import *
  File "/home/user07/trac/0.12dev/trac/admin/api.py", line 19, in <module>
    from trac.util.translation import _
  File "/home/user07/trac/0.12dev/trac/util/__init__.py", line 35, in <module>
    from trac.util.text import to_unicode
  File "/home/user07/trac/0.12dev/trac/util/text.py", line 30, in <module>
    from trac.util.translation import _
  File "/home/user07/trac/0.12dev/trac/util/translation.py", line 19, in <module>
    from genshi.builder import tag
ImportError: No module named genshi.builder

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

Well, all of Trac depends on Genshi. That is, installing Trac (from source, egg, …) requires Genshi to be installed. I don't think we want to go to all the trouble of allowing to install trac-admin separately.

Now, if it's just a matter of moving an import, then please submit a patch and I'll apply it. Otherwise, I'll close this as "wontfix".

comment:2 by Christian Boos, 13 years ago

Resolution: wontfix
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.