Re: bugfix 1.3.10
John Berninger <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
Well, looks like I'll have to do some debugging... I'll see what I can turn up, and try to find Hunter later today. On Tue, 20 Aug 2002, Arthur Clune wrote: > --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 > _______________________________________________ > Current-server mailing list > [email protected] > http://lists.dulug.duke.edu/mailman/listinfo/current-server -- Thank you, John Berninger Systems Administrator [email protected] Department of Mathematics Box 8205, Harrelson Hall NC State University Raleigh, NC 27695 Phone: (919)515-6315 Fax: (919)515-3798 GPG Key ID: A8C1D45C Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C --