upgrading error

3 views
Skip to first unread message

das1...@gmail.com

unread,
Jul 3, 2008, 11:20:42 AM7/3/08
to GHeimdall
After upgrading from an older version (0.9.2.1 I think), I'm now
getting errors like this -

----------URL----------

POST /gheimdall/login.do/

----------DATA:----------

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py",
line 121, in _run
self.main()
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py",
line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in newfunc
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 363, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.4/site-packages/turbogears/database.py", line
356, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 380, in <lambda>
mapping, fragment, args, kw)))
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 408, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py",
line 72, in try_call
return func(self, *args, **kw)
File "<string>", line 3, in newfunc
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 202, in validate
return errorhandling.run_with_errors(errors, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py",
line 110, in run_with_errors
return func(self, *args, **kw)
File "/usr/lib/python2.4/site-packages/gheimdall/controllers.py",
line 73, in newfunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/gheimdall/controllers.py",
line 504, in login_do
return utils.createLoginDict(SAMLRequest, RelayState, user_name)
File "/usr/lib/python2.4/site-packages/gheimdall/utils.py", line
127, in createLoginDict
module_name = creators.get(
AttributeError: 'NoneType' object has no attribute 'get'


I think I may have a configuration error with the new setup, but I'm
not sure what to put in. In particular I don't know what the idp
issuer_name is supposed to be, or the new settings where they are
defaulting to "google.com = None".

I'm trying to simply use an external ldaps server to authenticate for
google apps. Can you point me in some direction?

Thanks - Dan

tmatsuo

unread,
Jul 15, 2008, 6:22:44 AM7/15/08
to GHeimdall

Hi Dan,

I'm very very sorry for delayed answer. Something went wonky and your
e-mail didn't appear in my GMail INBOX.
I'll look into it in hurry, so could you please wait a little while.

Ragards,

Takashi Matsuo

unread,
Jul 15, 2008, 7:13:27 AM7/15/08
to GHeimdall
Hi Dan,

I'm sorry. Actually there are codes which don't care about upgrading
from an older version.
Could you try attached file? Please copy it to
/usr/lib/python2.4/site-packages/gheimdall/utils.py.

If the trouble remains, please let me see tracebacks again as you did.

I'm really sorry again for the inconvenience.

Regards,

-- Takashi Matsuo

utils.py
Reply all
Reply to author
Forward
0 new messages