From: Omer K. <Ome...@ce...> - 2006-12-06 17:27:26
|
Hi, I am trying to launch a smartfrog component via Python script. I simply execute two commands, first sfParse and then sfStart. It always succeed if I launch the command by hand, but fails when launched by python. Following is the errors I get: Parser - SmartFrog 3.10.027dev (27 Nov 2006, 00:56:40) 68(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP 69 70ERROR '/tmp/autosf/autosf_1165425024.98.sf': 71SmartFrogResolutionException:: Unresolved Reference: HERE sfConfig, Cause: Reference not found 72 73Error detected. Check report. 74SFParse: FAILED 75[WARN ][main] SFCORE_LOG - SmartFrog security is NOT active 76SmartFrog 3.10.027dev (27 Nov 2006, 00:56:40) 77(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP 78 - FAILED when trying DEPLOY of 'omer_test', [/tmp/autosf/autosf_1165425024.98.sf], host:lcgctb1 79 Result: 80 * Exception: 'SmartFrogDeploymentException: unnamed component. deploying description '/tmp/autosf/autosf_1165425024.98.sf' for 'omer_test' 81 cause: SmartFrogResolutionException:: 82 Cause: Error during parsing of '/tmp/autosf/autosf_1165425024.98.sf'. Parser error while resolving phases [SmartFrogResolutionException:: Unresolved Reference: HERE sfConfig, Cause: Reference not found] 83 deployedContext: included' 84 What I don't understand is python is able to lanuch the commands, as confirmed by the log file, but why it generates sfConfig error! If it was a python problem, then it should have failed in the first place. But both sfParse and sfStart are launched and produce SmartFrogResolutionException! Any help would be much appreciated! Regards Omer --=20 --------------------------------------------------------------- CERN =96 European Organization for Nuclear Research Information Technology Department CH-1211 Geneva 23 Phone: +41 (0) 22 767 7996 Fax: +41 (0) 22 767 4900 E-mail : Ome...@ce... Homepage: http://cern.ch/Omer.Khalid |