Ticket #1005 (closed defect: fixed)
TCheetah template error - NotFound: cannot find 'Properties' while searching for 'self.metadata.Properties'
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawkchm3JrOrQ66dWlucZlFhQ3qT-cIKHdhk | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | TCheetah | Cc: |
Description
Hello,
I'm currently testing the TCheetah plugin, and I'm unable to use information stored in a Properties/server.xml file. Looking at the source TCheetah.py, it looks like it doesn't take properties into account at all. I'm running the latest stable version available in your debian repository, i.e. 1.0.0-6
Thanks in advance for your help
Attachments
Change History
comment:2 in reply to: ↑ 1 Changed 12 years ago by https://www.google.com/accounts/o8/id?id=AItOawkchm3JrOrQ66dWlucZlFhQ3qT-cIKHdhk
Thanks for your prompt answer. Actually, it seems that Google messed up a bit your documentation, because the first one I worked with was still talking about $self.properties[] Later on, I found the right doc, but then got the error reported. As often, the bug was between the computer and the chair, I missed the fact that a Properties plugin exists, I only found this while reading the source. May I suggest you to specify this in your doc, I think it not that clear for everyone. Btw, thanks for this amazing software, and the detailled documentation!
Cheers,
Cerehal
comment:3 Changed 12 years ago by solj
- Status changed from new to closed
- Resolution set to fixed
I have made the suggested changes in 9f5dafe97f04e68cda08d4c8e21cc300e3f6b4f1. Thanks for the input!
How are you trying to access the Properties data? The instructions at http://docs.bcfg2.org/dev/server/plugins/generators/tcheetah.html#self-metadata-properties-data should be up to date.