Re: traceback error

Matthew C Valites <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
Nevermind...I just rewrote the up2date script to clean out the RPM 
directory before it runs up2date.  

Matt Valites
Junior Unix Admin
Banta-IM


Matthew C Valites wrote:

> I have a test machine that I am setting up to be an up2date server. 
> Currently, I am testing it on my desktop, and I'm getting a traceback 
> error on the client machine.  I have tried to re-install up2date from 
> the rpm, but the error still persists.  In the FAQ's, it says a 
> traceback error is due most likely to the clocks being out of sync.  I 
> used rdate on the same server to get the clocks exactly the same.  The 
> error is posted at the bottom.  I can / up2date -l/, or /up2date 
> --showall/ fine, but when I try /up2date -u/, or the graphical 
> up2date, I get the error.  I am running current-1.0.3 on RedHat 7.3.  
> Any ideas?
>
> Matt Valites
> Junior Unix Admin.
> Banta-IM
>
>
> Traceback (innermost last):
>  File "/usr/sbin/up2date", line 1169, in ?
>    main()
>  File "/usr/sbin/up2date", line 397, in main
>    sys.exit(batchRun(argObj.getLong("list"), pkgNames, fullUpdate))
>  File "/usr/sbin/up2date", line 1033, in batchRun
>    if not up2date.isPackageCached(pkg):
>  File "/usr/share/rhn/up2date_client/up2date.py", line 1166, in 
> isPackageCached    if size == string.atol(pkg[5]):
> TypeError: argument 1: expected string, int found
>
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
>
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.