Re: Problems with current 1.3.11

Rui Barreiros <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
On Tue, 2002-08-27 at 18:26, Hunter Matthews wrote:
(big snip...)

Hi, 
when i ran rhn_register, it gave me this error:

A socket error occured: (104, 'Connection reset by peer'), attempt #1
A socket error occured: (0, 'Error'), attempt #2
A socket error occured: (0, 'Error'), attempt #3
A socket error occured: (0, 'Error'), attempt #4
A socket error occured: (0, 'Error'), attempt #5

Apache error log:

[Tue Aug 27 18:38:31 2002] [notice] Inside the PythonHandler
[Tue Aug 27 18:38:31 2002] [notice] Reading configuration
[Tue Aug 27 18:38:31 2002] [notice] Starting logging system
[Tue Aug 27 18:38:31 2002] [notice] Starting logging
[Tue Aug 27 18:38:31 2002] [notice] Using current log
/var/log/httpd/current.log
[Tue Aug 27 18:38:31 2002] [notice] Starting backend object
[Tue Aug 27 18:38:32 2002] [notice] child pid 7601 exit signal
Segmentation fault (11)

then i started debugging.

the error ocurred when opening the *.wdb files in channel.py in open(),
i was placing some log() call's around that function and noticed that
one ocasion it started working.
So i removed all the log() calls, cleaned up the .pyc (who knows ...)
and ran rhn_register. no errors at all (still dunno what changed).

up2date -l has no errors (but then i had no packages to update, gonna
try that later)

up2date --showall gives me this error:
(up2date gives the error not current)
Traceback (innermost last):
  File "/usr/sbin/up2date", line 1169, in ?
    main()
  File "/usr/sbin/up2date", line 316, in main
    printList(up2date.getAvailablePackageList())
  File "/usr/sbin/up2date", line 871, in printList
    packageList.sort()
AttributeError: 'None' object has no attribute 'sort'

- about the 1.3.12 and after, i'll wait, if you guys need a hand in
something (except documentation, yes, i hate to write docs too) i'll be
glad to.


> > 
> > p.s: i was wondering if it wasn't easier to make such a thing in perl,
> > or if there is any way of combining the python created db's with perl?
> 
> Since I don't know perl, John doesn't know perl, up2date isn't written
> in perl, and perl wouldn't help here, I doubt it.
> 

hehe, let's make a trade, i'll teach you guys perl, and you guys teach
me python :) *kidding*.
Maybe i can think of some utils in perl that can work all together.

Rui Barreiros
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9a74Nu9hFJqMvrk0RAi8vAKCT+GOvfuTDB2NTMbr1oMWkPTenawCgocZB
YJHapl3SUrYDnlH6JqYMCgw=
=DPWL
-----END PGP SIGNATURE-----
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.