Ticket #566 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

bcfg2-server Debian package is missing a dependency on python-genshi

Reported by: [email protected] Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.6 Release
Component: bcfg2-server Version: 0.9.x
Keywords: Cc: [email protected]


I am using a locally built set of packages based on (rev 4554) on a server built on Debian etch. I tried to enable the SGenshi structure plugin but got errors in my syslog reporting the following upon restarting the server:

Failed to load Genshi; disabling SGenshi
Failed to load plugin SGenshi: No module named genshi.template

I noticed that the debian/buildsys/*/ files make no mention of the python-genshi package, so I tried installing the current version available in etch (Version: 0.3.4-1). Now when I start the bcfg2-server, I get a slightly different error:

Failed to load Genshi; disabling SGenshi
Failed to load plugin SGenshi: No module named base

I haven't finished debugging this fully, but I currently hypothesize that this error is due to having installed a 0.3 version of Genshi instead of the 0.4 version. The later version introduced the genshi.template.base according to

Based on this, I think that each of the debian/buildsys/*/ files should contain a line like this:

Recommends: python-genshi (>= 0.4.4)

I suggest a "Recommends" dependency so that a site not using any of the Genshi plugins can avoid installing it.

I'm reporting this bug here instead of in the Debian bug tracking system because the upstream source seems to include the Debian packaging files. Please let me know if you would prefer such bugs be logged elsewhere.

It would also be nice if the SGenshi page in the Wiki could be updated to indicate that it requires a minimum version 0.4 of Genshi.



Change History

comment:1 Changed 14 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to Bcfg2 0.9.6 Release

Fixed in [c796436d3722d19a3af5528bda4849b8a81e4cf4] (SVN r4941). Reporting these issues here is fine.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as 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.