Login | Register
My pages Projects Community openCollabNet

Discussions > dev > 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 2004-12-14 14:59:35 PST
Message Tigris - dot - ORG not com...*sigh*


---------- Forwarded message ----------
From: Jack Neely <jjneely at gmail dot com>
Date: Tue, 14 Dec 2004 17:43:25 -0500
Subject: Re: Fault: <Fault 1000: u'Function login called with wrong arg count'>
To: patrick dot geever at genscape dot com, dev at current dot tigris dot com


Patrick,

Let's move this over to the dev list.

Folks on the dev list: While I'm writing, if there are any issues you
have pending that I have not given a satisfactory responce, please
send email to the list and/or put a bug in issuezilla. Hopefully,
I'll have a little more time for Current now.

Patrick, check your current.conf file and make sure you logging is set
to the max (10). If that produces any more output for this bug let me
know. Feel free to use the logging module to try to do some debugging
to see which variable is None. Otherwise, I'm rebuilding my test
machine so I can do some testing.

Jack

On Tue, 14 Dec 2004 11:04:37 -0500, Patrick Geever <pgeever at genscape dot com> wrote:
>
>
> I am having an issue with deploy of current.
>
> I have installed current 1.5.7 via rpm and applied the 1.5.8 patch for the
> file: xmlrpc.py.
>
> I have installed it on a rhel3-i386 system using
> rh-postgresql-server-7.3.4-8, etc. as the database. I seem to have gotten it
> installed correctly as far as I can tell. The output from the db shows the
> database objects being created by the cadmin initdb command:
>
>
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'package_package_id_key' for table 'package'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index 'rpm_rpm_id_key'
> for table 'rpm'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'rpm_filename_key' for table 'rpm'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_rpm_channel​_rpm_id_key' for table 'channel_rpm'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_rpm_active_​active_id_key' for table 'channel_rpm_active'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'rpmprovide_rpmprovide_id_key' for table 'rpmprovide'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'rpmpayload_rpmpayload_id_key' for table 'rpmpayload'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'rpmobsolete_rpmobso​lete_id_key' for table 'rpmobsolete'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_channel_id_key' for table 'channel'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_name_key' for table 'channel'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_label_key' for table 'channel'
> NOTICE: CREATE TABLE / UNIQUE will create implicit index
> 'channel_dir_channel​_dir_id_key' for table 'channel_dir'
>
>
>
> I have created a channel, configured apache and installed a new
> certificate.
>
>
> Now there seems to be a problem with authentication into the current
> server.
>
>
>
> Here is the output I get in current.log when running: up2date --register
>
> Dec 14 10:57:57 Current v1.5.7 starting up
> Dec 14 10:57:57 Inside Current main hander
> Dec 14 10:57:57 Requesting: registration.welcome_message
> Dec 14 10:57:57 method = registration.welcome_message
> Dec 14 10:57:57 Dispatching: registration.welcome_message
> Dec 14 10:57:57 Result is normal data: turn it into an XML chunk
> Dec 14 10:57:57 sendClientResult() finished
> Dec 14 10:57:57 Current v1.5.7 starting up
> Dec 14 10:57:57 Inside Current main hander
> Dec 14 10:57:57 Requesting: registration.privacy_statement
> Dec 14 10:57:57 method = registration.privacy_statement
> Dec 14 10:57:57 Dispatching: registration.privacy_statement
> Dec 14 10:57:57 Result is normal data: turn it into an XML chunk
> Dec 14 10:57:57 sendClientResult() finished
> Dec 14 10:58:02 Current v1.5.7 starting up
> Dec 14 10:58:02 Inside Current main hander
> Dec 14 10:58:02 Requesting: registration.welcome_message
> Dec 14 10:58:02 method = registration.welcome_message
> Dec 14 10:58:02 Dispatching: registration.welcome_message
> Dec 14 10:58:03 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:03 sendClientResult() finished
> Dec 14 10:58:16 Current v1.5.7 starting up
> Dec 14 10:58:16 Inside Current main hander
> Dec 14 10:58:16 Requesting: registration.reserve_user
> Dec 14 10:58:16 method = registration.reserve_user
> Dec 14 10:58:16 Dispatching: registration.reserve_user
> Dec 14 10:58:16 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:16 sendClientResult() finished
> Dec 14 10:58:31 Current v1.5.7 starting up
> Dec 14 10:58:31 Inside Current main hander
> Dec 14 10:58:31 Requesting: registration.new_user
> Dec 14 10:58:31 method = registration.new_user
> Dec 14 10:58:31 Dispatching: registration.new_user
> Dec 14 10:58:31 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:31 sendClientResult() finished
> Dec 14 10:58:31 Current v1.5.7 starting up
> Dec 14 10:58:31 Inside Current main hander
> Dec 14 10:58:31 Requesting: registration.new_system
> Dec 14 10:58:31 method = registration.new_system
> Dec 14 10:58:31 Dispatching: registration.new_system
> Dec 14 10:58:31 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:31 sendClientResult() finished
> Dec 14 10:58:31 Current v1.5.7 starting up
> Dec 14 10:58:31 Inside Current main hander
> Dec 14 10:58:31 Requesting: registration.register_product
> Dec 14 10:58:31 method = registration.register_product
> Dec 14 10:58:31 Dispatching: registration.register_product
> Dec 14 10:58:31 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:31 sendClientResult() finished
> Dec 14 10:58:32 Current v1.5.7 starting up
> Dec 14 10:58:32 Inside Current main hander
> Dec 14 10:58:32 Requesting: registration.add_hw_profile
> Dec 14 10:58:32 method = registration.add_hw_profile
> Dec 14 10:58:32 Dispatching: registration.add_hw_profile
> Dec 14 10:58:32 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:32 sendClientResult() finished
> Dec 14 10:58:32 Inside Current main hander
> Dec 14 10:58:33 Requesting: registration.add_packages
> Dec 14 10:58:33 method = registration.add_packages
> Dec 14 10:58:33 Dispatching: registration.add_packages
> Dec 14 10:58:33 Result is normal data: turn it into an XML chunk
> Dec 14 10:58:33 sendClientResult() finished
> Dec 14 10:58:33 Inside Current main hander
> Dec 14 10:58:33 Requesting: up2date.login
> Dec 14 10:58:33 method = up2date.login
> Dec 14 10:58:33 Dispatching: up2date.login
> Dec 14 10:58:33 ERROR: Recognized function up2date.login called with wrong
> arg c
> ount or other TypeError exception occured
> Dec 14 10:5833 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
> callAPIMetho
> d(), 284 [logException()]
> 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/up2date.py", line 72, in login
> hi.setChecksum()
> File "/usr/share/current/auth.py", line 235, in setChecksum
> self.data['X-RHN-Auth'] = self._calcChecksum()
> File "/usr/share/current/auth.py", line 226, in _calcChecksum
> str = str + chan[0] + ':' + chan[1]
> TypeError: cannot concatenate 'str' and 'NoneType' objects
> Dec 14 10:58:33 Fault: <Fault 1000: u'Function login called with wrong arg
> count
> '>
> Dec 14 10:58:33 sendClientResult() finished
>
>
>
>
>
>
> Here is the output I get in current.log when running: up2date
>
> Dec 14 11:00:51 Inside Current main hander
> Dec 14 11:00:51 Requesting: up2date.login
> Dec 14 11:00:51 method = up2date.login
> Dec 14 11:00:51 Dispatching: up2date.login
> Dec 14 11:00:51 ERROR: Recognized function up2date.login called with wrong
> arg count or other TypeError exception occured
> Dec 14 11:0051 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
> callAPIMethod(), 284 [logException()]
> 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/up2date.py", line 72, in login
> hi.setChecksum()
> File "/usr/share/current/auth.py", line 235, in setChecksum
> self.data['X-RHN-Auth'] = self._calcChecksum()
> File "/usr/share/current/auth.py", line 226, in _calcChecksum
> str = str + chan[0] + ':' + chan[1]
> TypeError: cannot concatenate 'str' and 'NoneType' objects
> Dec 14 11:00:51 Fault: <Fault 1000: u'Function login called with wrong arg
> count'>
> Dec 14 11:00:51 sendClientResult() finished
>
>
>
>
>
>
> Any ideas as to what could be wrong here? Please let me know if there is
> any further logging I need to do etc.
>
> Thanks.
>
> Patrick Geever
> Database Administrator
> Genscape, Inc.
> 301 East Main Street, Suite 200
> Louisville, KY 40202
> (W) 502-583-2298
> (C) 502-432-4073
> patrick dot geever at genscape dot com
>


--
Jack Neely jjneely at gmail dot com
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89


--
Jack Neely jjneely at gmail dot com
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

« 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 2004-12-14 14:59:35 PST
Messages per page: