src_dirs config file option

"David Ritchey" <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <001301c1ed8c$05eb0fe0$0e00000a@iceman>
If I add a directory to src_dirs of a channel definition, then try to create
the channel with 'cadmin create redhat-linux-i386-7.2', I get the following
traceback:

Traceback (innermost last):
  File "/usr/sbin/cadmin", line 203, in ?
    main()
  File "/usr/sbin/cadmin", line 101, in main
    chan['db_dir'], chan['rpm_dirs'], chan['src_dirs'])
  File "/usr/share/current/channel.py", line 117, in create
    self._addSrcDir(dir)
  File "/usr/share/current/channel.py", line 780, in _addSrcDir
    (hdr, isSource) = self.getHeaderFromFilename(pathname)
AttributeError: getHeaderFromFilename

I've verified that the src_dirs value I added exists. If I remove the value,
and leave it null, it works fine. Is this option for future use, perhaps to
take advantage of the up2date --src option, or did I do something wrong?

Thanks!

--
David Ritchey
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.