You know, I think you might be making this harder than it has to be. 
Generally I find it simpler to just run a simple script that then would 
run with the full scripting environment (so if bash, system environments 
etc)... Would that be a possible way to do this easier/better?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



ewall wrote, On 3/5/2009 2:15 PM:
> Arrgh! I've tried many different options for the TALES expression here, and 
> in the process have seen this error message: "CompilerError: $ must be 
> doubled or followed by a simple path". So, it seems that the TALES used here 
> only accepts "path expressions", for which I don't think there is any way to 
> get what I need, short of extending the TALES namespace!
> 
> Now, if it supported TALES Python expressions here, then I could get the date 
> values directly with a line like "python: 
> __import__('datetime').date.today().year"...
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=31953#31953
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to