Ticket #613 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Migrating from to 0.9.6rc1 broke TCheetah template

Reported by: Fernando Laudares Camargos <[email protected]…> Owned by: desai
Priority: major Milestone: Bcfg2 0.9.6 Release
Component: bcfg2-server Version: 0.9.x
Keywords: TCheetah Cc: desai


Once I did the upgrade I've got this messages while starting the bcfg2-server:

... Nov 14 04:08:01 bcfg2 bcfg2-server[24420]: Override encoding of template to ascii Nov 14 04:08:01 bcfg2 bcfg2-server[24420]: NotFound?: cannot find 'properties' while searching for '' Nov 14 04:08:01 bcfg2 bcfg2-server[24420]: TCheetah template error for /etc/apt/sources.list Nov 14 04:08:01 bcfg2 bcfg2-server[24420]: Failed to bind entry: ConfigFile? /etc/apt/sources.list ...

The following "patch" fixed up this issue: --- /tmp/ 2008-11-14 05:03:48.000000000 -0600 +++ /usr/share/pyshared/Bcfg2/Server/Plugins/ 2008-11-14 04:42:26.000000000 -0600 @@ -26,7 +26,7 @@

self.template = Cheetah.Template.Template(open(,

compilerSettings=s, searchList = [self.searchlist])

- + =

except Cheetah.Parser.ParseError?, perror:

logger.error("Cheetah parse error for file %s" % ( logger.error(

Although I don't know if it may be applicable to new installations, what has lead me to it was ticket #559.




Change History

comment:1 Changed 14 years ago by desai

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

Fixed in [1b1eea8aa9de19c018f4eb58e573d4afa3247e31] (SVN r4989). Thanks for the patch.

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.