Re: Need help getting started
Hunter Matthews <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <1018020261.30379.119.camel@kea> |
This has nothing to do with Jeremy's problem below, but if any of you have some python skills and know of or could write a better config.py, I would be eternally grateful. On Thu, 2002-04-04 at 20:01, Jeremy Johnson wrote: > current -v create alpha62 > Traceback (innermost last): > File "/usr/sbin/current", line 169, in ? > main() > File "/usr/sbin/current", line 44, in main > config.cfg.load() > File "/usr/share/current/config.py", line 97, in load > tmp = self.readConfigFile(file) > File "/usr/share/current/config.py", line 225, in readConfigFile > channel = parser.get(section, 'label') > NameError: section > > cadmin -v printconfig > Traceback (innermost last): > File "/usr/sbin/cadmin", line 203, in ? > main() > File "/usr/sbin/cadmin", line 47, in main > config.cfg.load() > File "/usr/share/current/config.py", line 97, in load > tmp = self.readConfigFile(file) > File "/usr/share/current/config.py", line 225, in readConfigFile > channel = parser.get(section, 'label') > NameError: section[current] > valid_channels = alpha62 > log_file = ./current.log > pid_file = ./current.pid > log_level = 0 > http_port = 8080[alpha62] > label = redhatalpha6.2 > name = Alpha62 > parent_channel = > arch = alpha > os_release = 6.2 > description = Dulug 7.1 is Red Hat Linux 7.1 with all the errata > applied, plus some Duke specific packages. > rpm_dirs = /var/ftp/pub/errata/alpha/6.2/ > xrpm_dirs = > src_dirs = > db_dir = /var/ftp/pub/errata/alpha/ > > https_port = 8081 > server_secret = Copyright (c) 2001 Hunter Matthews > server_id = purple > key_file = ./current.pem > > > > > and my config file looks like this > > -- Hunter Matthews Unix / Network Administrator Office: BioScience 145/244 Duke Univ. Biology Department Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438 Never take candy from strangers. Especially on the internet.