Login | Register
My pages Projects Community openCollabNet

Discussions > users > Fwd: Fault: <Fault 1000: u'Function login called with wrong arg count'>

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

current
Discussion topic

Back to topic list

Fwd: Fault: &lt;Fault 1000: u'Function login called with wrong arg count'&gt;

Reply

Author theslack
Full name Jack Neely
Date 2005-01-05 18:21:49 PST
Message Patrick,

Can you make sure you are running Current 1.5.9 and that the Current
server is still tracebacking during scan channels with this traceback?

Traceback (most recent call last):
  File "/usr/share/current/​current_apache.py", line 278, in callAPIMethod
    result = apply(func, params)
  File "/usr/share/current/​api/cadmin.py", line 39, in scanChannels
    result[chan] = db.db.updateChannel(chan)
  File "/usr/share/current/​db/currentdb.py", line 152, in updateChannel
    result['addedrpms'] = self._addRpms(channel, added_rpms)
  File "/usr/share/current/​db/currentdb.py", line 311, in _addRpms
    pkg_id = self._insertPackageT​able(header)
  File "/usr/share/current/​db/currentdb.py", line 385, in _insertPackageTable
    header[RPM.SOURCEPACKAGE])
  File "/usr/share/current/RPM.py", line 70, in __getitem__
    return meth()
  File "/usr/share/current/RPM.py", line 80, in _get_SOURCEPACKAGE
    return int(self.is_source)
TypeError: int() argument must be a string or a number

If that is still the case I would like you to apply the attached
patch. This doesn't fix the problem but will tell me what is going on
there.

Jack
Attachments

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

Messages

Show all messages in topic

Fwd: Fault: &lt;Fault 1000: u'Function login called with wrong arg count'&gt; theslack Jack Neely 2005-01-05 18:21:49 PST
Messages per page: