Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 28] Weird errors when a channel is never scanned

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

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

[Issue 28] Weird errors when a channel is never scanned


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
    result = apply(func, params)
  File "/home/slack/project​s/current/src/api/up​2date.py", line 72, in login
  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

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


Show all messages in topic

[Issue 28] Weird errors when a channel is never scanned jjneely Jack Neely 2005-04-09 14:03:56 PDT
Messages per page: