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 jjneely
Full name Jack Neely
Date 2005-04-09 14:03:56 PDT
Message http://current.tigri​s.org/issues/show_bu​g.cgi?id=28



User jjneely changed the following:

                  What |Old value |New value
====================​====================​====================​====================​
                    Status|NEW |STARTED
--------------------​--------------------​--------------------​--------------------​




------- Additional comments from jjneely at tigris dot org Sat Apr 9 14:03:55 -0700 2005 -------
Specifically this traceback:

Traceback (most recent call last):
  File "/home/slack/project​s/current/src/curren​t_apache.py", line 294, in
callAPIMethod
    result = apply(func, params)
  File "/home/slack/project​s/current/src/api/up​2date.py", line 72, in login
    hi.setChecksum()
  File "/home/slack/project​s/current/src/auth.p​y", line 230, in setChecksum
    self.data['X-RHN-Auth'] = self._calcChecksum()
  File "/home/slack/project​s/current/src/auth.p​y", line 221, in _calcChecksum
    str = str + chan[0] + ':' + chan[1]
TypeError: cannot concatenate 'str' and 'NoneType' objects

I've done some casting so that the data in the channels lists are always strings
and not None. So the above is fixed. Right now up2date will request
listPackages("None") in the case of a created channel with no directories.

Probably should fix this better...

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@c​urrent.tigris.org
For additional commands, e-mail: issues-help at current dot tigris dot org