I'm getting this traceback in kojiweb in an internal koji setup that I'm trying to get working.
I can control koji using the command-line, and I've added new users, so I think that means the kojihub certificate is fine. Kojiweb works fine until I try to login, and that's when I get this traceback.
I'm using certificates that I've issued using dogtag, but I don't think that should have any relevance. My user and server certs are all using the same CA.
Anyone have any thoughts on where I should look?
Thanks,
Jonathan
Traceback (most recent call last): File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 16, in publish_object return old_publish_object(req, object) File "/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line 412, in publish_object return publish_object(req,util.apply_fs_data(object, req.form, req=req)) File "/usr/lib64/python2.4/site-packages/mod_python/util.py", line 439, in apply_fs_data return object(**args) File "/usr/share/koji-web/scripts/index.py", line 183, in login if not _sslLogin(req, session, username): File "/usr/share/koji-web/scripts/index.py", line 70, in _sslLogin proxyuser=username) File "/usr/lib/python2.4/site-packages/koji/__init__.py", line 1458, in ssl_login sinfo = self.callMethod('sslLogin', proxyuser) File "/usr/lib/python2.4/site-packages/koji/__init__.py", line 1503, in callMethod return self._callMethod(name, args, opts) File "/usr/lib/python2.4/site-packages/koji/__init__.py", line 1548, in _callMethod raise err Fault: <Fault 1: "exceptions.AttributeError: 'NoneType' object has no attribute 'split'">
On 06/17/2010 06:07 AM, Jonathan Dieter wrote:
I'm getting this traceback in kojiweb in an internal koji setup that I'm trying to get working.
I can control koji using the command-line, and I've added new users, so I think that means the kojihub certificate is fine. Kojiweb works fine until I try to login, and that's when I get this traceback.
I'm using certificates that I've issued using dogtag, but I don't think that should have any relevance. My user and server certs are all using the same CA.
Anyone have any thoughts on where I should look?
-snip-
Fault:<Fault 1: "exceptions.AttributeError: 'NoneType' object has no attribute 'split'">
This is a fault returned from the hub. The real exception happened on the hub and can be found in your httpd error logs there.
I believe you have not configured ProxyDNs in your hub.conf. Granted we should handle this case with more grace.
On Thu, 2010-06-17 at 12:51 -0400, Mike McLean wrote:
On 06/17/2010 06:07 AM, Jonathan Dieter wrote:
I'm getting this traceback in kojiweb in an internal koji setup that I'm trying to get working.
<snip>
Anyone have any thoughts on where I should look?
-snip-
Fault:<Fault 1: "exceptions.AttributeError: 'NoneType' object has no attribute 'split'">
<snip>
I believe you have not configured ProxyDNs in your hub.conf. Granted we should handle this case with more grace.
I had set the ProxyDNs, but had left a space before the line. Koji-hub doesn't like that. :) Thanks for pointing out where to check.
Jonathan
On 06/17/2010 01:48 PM, Jonathan Dieter wrote:
On Thu, 2010-06-17 at 12:51 -0400, Mike McLean wrote:
On 06/17/2010 06:07 AM, Jonathan Dieter wrote:
I'm getting this traceback in kojiweb in an internal koji setup that I'm trying to get working.
<snip> >> Anyone have any thoughts on where I should look? > -snip- >> Fault:<Fault 1: "exceptions.AttributeError: 'NoneType' object has no >> attribute 'split'"> <snip> > I believe you have not configured ProxyDNs in your hub.conf. Granted we > should handle this case with more grace.
I had set the ProxyDNs, but had left a space before the line. Koji-hub doesn't like that. :) Thanks for pointing out where to check.
That would make it a continuation of the previous config line (that's just how ConfigParser does things), which may have caused other problems depending on which line that was.
On Thu, 2010-06-17 at 17:39 -0400, Mike McLean wrote:
On 06/17/2010 01:48 PM, Jonathan Dieter wrote:
I had set the ProxyDNs, but had left a space before the line. Koji-hub doesn't like that. :) Thanks for pointing out where to check.
That would make it a continuation of the previous config line (that's just how ConfigParser does things), which may have caused other problems depending on which line that was.
Should I update the wiki to make a note of this or am I the only one who's made this mistake?
Jonathan
On 06/18/2010 03:54 AM, Jonathan Dieter wrote:
On Thu, 2010-06-17 at 17:39 -0400, Mike McLean wrote:
On 06/17/2010 01:48 PM, Jonathan Dieter wrote:
I had set the ProxyDNs, but had left a space before the line. Koji-hub doesn't like that. :) Thanks for pointing out where to check.
That would make it a continuation of the previous config line (that's just how ConfigParser does things), which may have caused other problems depending on which line that was.
Should I update the wiki to make a note of this or am I the only one who's made this mistake?
Wouldn't hurt to add a note. I think I'll add one in the sample config.
buildsys@lists.fedoraproject.org