patrickrolanddg / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
0 stars 0 forks source link

Unable to sign in to post a comment #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out revision 1 (yes, one)
2. run bin/testserver.sh
3. go to http://localhost:8080/user/popular/presence/12347#comments
4. click on "sign in to add a comment"

What is the expected output? 
sign in box

What do you see instead?
ERROR:root:Error: Traceback (most recent call last):
  File "/usr/local/google/jaiku/jaikuengine/django/core/handlers/base.py",
line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/google/jaiku/jaikuengine/common/decorator.py", line 41,
in _wrap
    rv = handler(request, *args, **kw)
  File "/usr/local/google/jaiku/jaikuengine/login/views.py", line 34, in
login_login
    redirect_to = clean.redirect_to(redirect_to)
  File "/usr/local/google/jaiku/jaikuengine/common/clean.py", line 199, in
redirect_to
    if not parts.scheme and not parts.netloc and parts.path:
AttributeError: 'tuple' object has no attribute 'scheme'

INFO:root:"GET
/login?redirect_to=http://localhost%3A8080/user/popular/presence/12347
HTTP/1.1" 200 -

Please use labels and text to provide additional information.

Original issue reported on code.google.com by tony.t.t...@gmail.com on 14 Mar 2009 at 12:51

GoogleCodeExporter commented 9 years ago
ah, this is a python 2.4 bug, will fix

Original comment by andyster on 14 Mar 2009 at 1:01

GoogleCodeExporter commented 9 years ago
http://rietku.appspot.com/13/show

Original comment by tony.t.t...@gmail.com on 18 Mar 2009 at 2:19

GoogleCodeExporter commented 9 years ago
please mark this as fixed when you commit your code :)

Original comment by andyster on 18 Mar 2009 at 11:25

GoogleCodeExporter commented 9 years ago
Er, I couldn't commit for some reason. (maybe it has something to do with 
wiping svn
repo?)

Original comment by tony.t.t...@gmail.com on 20 Mar 2009 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by tony.t.t...@gmail.com on 27 Mar 2009 at 6:30