Login | Register
My pages Projects Community openCollabNet

Discussions > users > up2date -l several times in a row causes exception

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

up2date -l several times in a row causes exception

Reply

Author dallase
Full name Dallas Engelken
Date 2003-08-13 11:26:22 PDT
Message well, i've finally got a working channel on 1.5.5rc1/redhat8. woo hoo
:). here is something i find very very strange...


i run, up2date -l, 7 times in a row (random pauses between each) on my
client.... all of them succeed with the folling information.

[root@mailgw /]# up2date -l

Fetching package list for channel: redhat-linux-i386-7.3...
####################​####################​

Fetching Obsoletes list for channel: redhat-linux-i386-7.3...
####################​####################​

Fetching rpm headers...
####################​####################​

Name Version Rel
--------------------​--------------------​------------------
wget 1.8.2 4.73


on the 8th time, i get

[root@mailgw /]# up2date -l
Error communicating with server. The message was:
Broken response from the server.

then, i can begin the sequence again. the communicating error occurs on
every 7th or 8th consecutive attempt. it doesnt matter how long a pause
you put in between each try.. has anyone else seen this yet? or has
anyone else even tried this yet.. if not, please do and see if you get
the same results.


when the communication error occurs, the following info is in the log...

Aug 13 13:04:50 Dispatching: up2date.login
Aug 13 13:04:50 /usr/share/current/a​pi/up2date.py:login(​{'sysid_string':
'<sysid_string not logged>'})
Aug 13 13:04:50 /usr/share/current/a​rchtab.py:getCannonA​rch({'arch':
'i686'})
Aug 13 13:04:50 arch: i386, rel: 7.3
Aug 13 13:04:50 ERROR: Recognized function up2date.login blew up with
undefined error
Aug 13 13:0450 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
callAPIMethod(), 305 [logException()]
Traceback (most recent call last):
  File "/usr/share/current/​current_apache.py", line 291, in
callAPIMethod
    result = apply(func, params)
  File "/usr/share/current/​api/up2date.py", line 51, in login
    si.getattr('os_release'))
  File "/usr/share/current/​db/postgres/postgres​.py", line 684, in
getCompatibleChannels
    self.cursor.execute("""select name, label, arch, description,
  File "/usr/lib/python2.2/​site-packages/pgdb.p​y", line 189, in execute
    self.executemany(operation, (params,))
  File "/usr/lib/python2.2/​site-packages/pgdb.p​y", line 210, in
executemany
    raise OperationalError, "internal error in '%s'" % sql
OperationalError: internal error in 'select name, label, arch,
description,
                    lastupdate from channel
                    where arch = 'i386'
                    and osrelease = '7.3''
Aug 13 13:04:50 exception said: internal error in 'select name, label,
arch, description,
                    lastupdate from channel
                    where arch = 'i386'
                    and osrelease = '7.3''


dallas

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

up2date -l several times in a row causes exception dallase Dallas Engelken 2003-08-13 11:26:22 PDT
     Re: up2date -l several times in a row causes exception hunterm Hunter Matthews 2003-08-13 11:37:33 PDT
     Re: up2date -l several times in a row causes exception jwbernin John Berninger 2003-08-13 11:44:01 PDT
Messages per page: