Login | Register
My pages Projects Community openCollabNet
Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Geert van der Ploeg <geert@triple-it.nl>
Full name Geert van der Ploeg <geert@triple-it.nl>
Date 2003-09-04 01:21:17 PDT
Message Hi all,

After some bad experience with the 1.5.5 version, I'm now deploying a 1.4.4
version server.
But, in the process of registering the server itself to Current, the
following occured:

In short:
======
I think there's an error in the XML-part which contains the hardwarelist:
...
<member>
<name>usbproto​col</name>
<value><str​ng></value>​
</member>
<member>
....

Either the string "<strng>" should be encoded (if "<strng>" is really meant
to be sent), or it should be an empty element...
But this way, the XML isn't well-formed.


More info:
=======

Client-side output of rhnreg_ks:

Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 304, in ?
    main()
  File "/usr/sbin/rhnreg_ks", line 289, in main
    rhnreg.sendHardware(systemId, hardwareList)
  File "/usr/share/rhn/up2d​ate_client/rhnreg.py​", line 329, in sendHardware
    rpcServer.doCall(s.r​egistration.add_hw_p​rofile, systemId, hardwareList)
  File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 170, in doCall
    raise up2dateErrors.Commun​icationError(e.errms​g)
up2dateErrors.Commun​icationError: Error communicating with server. The
message was:
Bad Request



Serverside output (current.log):

EXCEPTION in /usr/share/current/c​urrent_apache.py, handler(), 191
[logException()]
Traceback (most recent call last):
  File "/usr/share/current/​current_apache.py", line 187, in handler
    params, method = xmlrpclib.loads(data)
  File "/usr/lib/python2.2/​xmlrpclib.py", line 804, in loads
    p.feed(data)
  File "/usr/lib/python2.2/​xmlrpclib.py", line 390, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 1054, column 25
Sep 04 10:20:46 Couldn't decode XMLRPC call.



See the attached file for the complete HTTP-conversation.


Thanks,
Geert