[AG-TECH] Problem with configuration values in Service
Thomas D. Uram
turam at mcs.anl.gov
Thu Dec 9 09:02:01 CST 2004
The problem you're running into is due to a default setting in the ConfigParser module,
which converts options to lower case. If you make your parameter names lowercase, they'll
work as expected.
Rhys Hawkins wrote:
> I've been trying to add some configuration variables to the
> VPConsumerService.py and they come up fine in the Node Management
> dialog. They are also stored correctly in the configuration file
> (e.g. /home/rhys/.AccessGrid/Config/nodeConfig/pigSetup).
> However, on quitting and restarting the VenueClient, then
> opening up the Node Management gui, none of the settings have
> been restored, ie they're still set to default values. Explicitly
> reloading the configuration still doesn't load the actual
> values in the configuration file.
> Attached is the VPConsumerService.py file, can somebody please
> tell me what I've done wrong.
More information about the ag-tech