Re: bugfix 1.3.10
Arthur Clune <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
--On 20/08/02 09:26:24 -0400 John Berninger wrote:
> Actually, the problem is much more simple - it should be
> misc.PathJoin(...), not misc.JoinPath(...). If you make that change, it
> should work correctly - the error message is simply saying there's no
> such routine in the misc namespace, which there isn't. The routine
> imported from misc is PathJoin, not JoinPath.
Yeah, I just spotted that :(
It's not the end of the problem though:
.....
Aug 20 14:36:06 Adding glibc-2.1.3-23.i386.rpm
pkg0 = glibc, pkg4 = i386, filename = glibc-2.1.3-23.i386.rpm
Aug 20 14:36:06 Removing glibc-2.1.3-23.i386.rpm
Traceback (innermost last):
File "/usr/sbin/cadmin", line 265, in ?
main()
File "/usr/sbin/cadmin", line 144, in main
newchan.create(chan)
File "/usr/share/current/channel.py", line 221, in create
self._addRpmDir(dir)
File "/usr/share/current/channel.py", line 614, in _addRpmDir
self._addRpmPackage(pathname)
File "/usr/share/current/channel.py", line 723, in _addRpmPackage
self._deleteRpmPackage(fullname)
File "/usr/share/current/channel.py", line 987, in _deleteRpmPackage
self._createListPackagesCache()
File "/usr/share/current/channel.py", line 262, in
_createListPackagesCache
filename = misc.PathJoin(self.chanInfo['list_dir'],
self.chanInfo['last_modified'])
KeyError: last_modified
So there are issues with the non-existance of the last_modified field.
(That's using channel.py from the tarball with JoinPath changed to PathJoin
and no
other changes)
Arthur
--
Arthur Clune [email protected]
We are the sum of the things we pretend to be, so we must be careful
who we pretend to be - Kurt Vonnegut