Re: Snapshot
Hunter Matthews <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
Send me a diff -ruN on your source tree, for that and I'll apply it.
I meant to do that last night, but backups come first.
And X-RHN-Client-Version isn't _used_ by current at all. All the clients
till now had set it, so I checked for it.
On Mon, 2002-10-07 at 23:53, Matt Gunter wrote:
> Well I think your snapshot works with a slight change. If I remove
> 'X-RHN-Client-Version' from /usr/share/current/auth.py lines 167-170 it
> works for my RH 7.2, 7.3, and 8.0 clients. I don't know how removing it
> effects how current works though.
>
> Matt Gunter
> Cypress Tech Group
>
>
>
>
> On Mon, 2002-10-07 at 10:03, Hunter Matthews wrote:
> > %!@$##$^@%^!~@#%$@$%^!#%$^!$%@#54
> > !$%!$%~$%~$#^%^#%^!$%~@#$~@#%!$%^@%^^&&
> >
> > Thats what I get for making a last minute "obvious" fix.
> >
> > It also means that that 2.8 is not a perfect back port of 3.0.
> >
> > <Sigh>
> >
> > Ok, Your fix of the _delete function is correct. I'll add that patch and
> > do a new snapshot this afternoon. I'm hoping I can get an 8.0 installed
> > here to play with.
> >
> >
> > On Mon, 2002-10-07 at 04:39, Matt Gunter wrote:
> > > When remaking the db for my RH 7.2 and 7.3 installations I encountered
> > > and error with the new snapshot. It only happens if there is a package
> > > to obsolete. I traced the error down and I believe I have a fix. The
> > > problem comes from the casting of the oflags to a string in
> > > _addRpmPackage() and the change not getting reflected in
> > > _deleteRpmPackage().
> > >
> > > file: /usr/share/current/channel.py line 1007
> > > value = value + [onames[i], overs[i], oflags[i]]
> > >
> > > should be:
> > > value = value + [onames[i], overs[i], str(oflags[i])]
> > >
> > >
> > > I'm still getting the error below when I try to update a RH 8.0 client.
> > > Hope this information is useful. I'm trying to get up to speed with
> > > this stuff so I can help out. I really appreciate the hard work that
> > > has gone into current. Its saved me a ton of time in the last 6 months.
> > >
> > > Matt Gunter
> > > Cypress Tech Group
> > >
> > > [Mon Oct 7 02:29:45 2002] [notice] Inside the accesshandler
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > Traceback (innermost last):
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 185,
> > > in Dispatch
> > > result = object(req)
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/current_apache.py", line 114, in accesshandler
> > > hi = auth.SysHeaders(req.headers_in)
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/auth.py", line 149, in __init__
> > > self.loadHeaders(headers)
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/auth.py", line 172, in loadHeaders
> > > raise Exception("Missing authentication header: %s" % attr)
> > > [Mon Oct 7 02:29:45 2002] [error] PythonAccessHandler current_apache:
> > > Exception: Missing authentication header: X-RHN-Client-Version
> > > [Mon Oct 7 02:29:45 2002] [notice] Inside the loghandler
> > > [Mon Oct 7 02:29:45 2002] [notice]
> > > /XMLRPC/$RHN/redhat-i386-8.0/listPackages/20021007022311
> > > [Mon Oct 7 02:29:45 2002] [notice] text/html; charset=iso-8859-1
> > > [Mon Oct 7 02:29:46 2002] [notice] Inside the accesshandler
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > Traceback (innermost last):
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 185,
> > > in Dispatch
> > > result = object(req)
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/current_apache.py", line 114, in accesshandler
> > > hi = auth.SysHeaders(req.headers_in)
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/auth.py", line 149, in __init__
> > > self.loadHeaders(headers)
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > File "/usr/share/current/auth.py", line 172, in loadHeaders
> > > raise Exception("Missing authentication header: %s" % attr)
> > > [Mon Oct 7 02:29:46 2002] [error] PythonAccessHandler current_apache:
> > > Exception: Missing authentication header: X-RHN-Client-Version
> > > [Mon Oct 7 02:29:46 2002] [notice] Inside the loghandler
> > > [Mon Oct 7 02:29:46 2002] [notice]
> > > /XMLRPC/$RHN/redhat-i386-8.0/listPackages/20021007004621
> > > [Mon Oct 7 02:29:46 2002] [notice] text/html; charset=iso-8859-1
> > >
> > >
> > >
> > >
> > > Matt Gunter
> > > Cypress Tech Group
> > >
> > >
> > > _______________________________________________
> > > Current-server mailing list
> > > [email protected]
> > > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> > >
> > >
> > --
> > 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.
> >
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
>
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
>
--
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.