DjangoBB

Django based forum engine

  • You are not logged in.
  • Root
  • » Bugs
  • » failure when viewing new user's information that does not have profile record in djangoBB [RSS Feed]

#1 Dec. 21, 2009 04:26:36

lzhshen
Registered: 2009-12-10
Posts: 30
Reputation: +  3  -
Profile   Send e-mail  

failure when viewing new user's information that does not have profile record in djangoBB

User is created via django-registration and there is no corresponding record created for djangoBB's profile.

Fails to view this user's profile page.

I suggest to add corresponding profile recording when it does not exists.

Offline

#2 Dec. 21, 2009 12:19:34

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

failure when viewing new user's information that does not have profile record in djangoBB

post traceback please, maybe something happined with DBMS...
Profile created automaticaly and work fine)

or install latest django-registration from http://bitbucket.org/ubernostrum/django-registration/

Edited (Dec. 21, 2009 12:41:44)

Offline

#3 Dec. 22, 2009 13:37:53

lzhshen
Registered: 2009-12-10
Posts: 30
Reputation: +  3  -
Profile   Send e-mail  

failure when viewing new user's information that does not have profile record in djangoBB

NoReverseMatch at /bbs/user/sichend/

Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.

Request Method: 	GET
Request URL: 	http://www.sutifang.com/bbs/user/sichend/
Exception Type: 	NoReverseMatch
Exception Value: 	

Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.

Exception Location: 	/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.py in reverse, line 291
Python Executable: 	/usr/local/bin/python
Python Version: 	2.5.4
Python Path: 	['/home/sutifang/webapps/django_1_1', '/home/sutifang/webapps/django_1_1/lib/python2.5', '/home/sutifang/lib/python2.5', '/home/sutifang/webapps/django_1_1/lib/python2.5', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/local/lib/python2.5/site-packages/PIL', '/home/sutifang/webapps/django_1_1/sutifang/apps']
Server time: 	星期二, 22 十二月 2009 19:36:04 +0800
Traceback Switch to copy-and-paste view

    * /home/sutifang/webapps/django_1_1/lib/python2.5/django/core/handlers/base.py in get_response
        85. # Apply view middleware
        86. for middleware_method in self._view_middleware:
        87. response = middleware_method(request, callback, callback_args, callback_kwargs)
        88. if response:
        89. return response
        90.
        91. try:
        92. response = callback(request, *callback_args, **callback_kwargs) ...
        93. except Exception, e:
        94. # If the view raised an exception, run it through exception
        95. # middleware, and if the exception middleware returns a
        96. # response, use that. Otherwise, reraise the exception.
        97. for middleware_method in self._exception_middleware:
        98. response = middleware_method(request, e)
      ▶ Local vars
      Variable 	Value
      callback 	
      <function wrapper at 0x9ee54c4>
      callback_args 	
      ()
      callback_kwargs 	
      {'username': u'sichend'}
      e 	
      NoReverseMatch("Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.",)
      exc_info 	
      (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch("Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.",), <traceback object at 0xa0df39c>)
      exceptions 	
      <module 'django.core.exceptions' from '/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/exceptions.pyc'>
      middleware_method 	
      <bound method CsrfMiddleware.process_view of <django.contrib.csrf.middleware.CsrfMiddleware object at 0x9e527cc>>
      receivers 	
      [(<function _rollback_on_exception at 0x973baac>, None)]
      request 	
      <ModPythonRequest path:/bbs/user/sichend/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '120395146.1672805375.1261383912.1261471223.1261481282.5', '__utmb': '120395146.1.10.1261481282', '__utmc': '120395146', '__utmz': '120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '23c6a27e455fbe948fe8892a27a02aa1'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'GB2312,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'zh-cn,zh;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=120395146.1672805375.1261383912.1261471223.1261481282.5; __utmz=120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=23c6a27e455fbe948fe8892a27a02aa1; __utmc=120395146; __utmb=120395146.1.10.1261481282', 'HTTP_HOST': 'www.sutifang.com', 'HTTP_REFERER': 'http://www.sutifang.com/bbs/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6 GTB6', 'HTTP_X_FORWARDED_FOR': '124.77.184.21', 'PATH_INFO': u'/bbs/user/sichend/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': '', 'SERVER_NAME': 'web89.webfaction.com', 'SERVER_PORT': 43673, 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'mod_python'}>
      resolver 	
      <RegexURLResolver sutifang.urls (None:None) ^/>
      response 	
      None
      self 	
      <django.core.handlers.modpython.ModPythonHandler object at 0x9f5acec>
      settings 	
      <django.conf.LazySettings object at 0x9593b6c>
      urlconf 	
      'sutifang.urls'
      urlresolvers 	
      <module 'django.core.urlresolvers' from '/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.pyc'>
    * /home/sutifang/lib/python2.5/forum/util.py in wrapper
        60. return render_to_response(template_name,
        61. {'bar': bar},
        62. context_instance=RequestContext(request))
        63. """
        64.
        65. def renderer(function):
        66. def wrapper(request, *args, **kwargs):
        67. output = function(request, *args, **kwargs) ...
        68. if not isinstance(output, dict):
        69. return output
        70. tmpl = output.pop('TEMPLATE', template)
        71. return render_to_response(tmpl, output, context_instance=RequestContext(request))
        72. return wrapper
        73. return renderer
      ▶ Local vars
      Variable 	Value
      args 	
      ()
      function 	
      <function user at 0x9ee548c>
      kwargs 	
      {'username': u'sichend'}
      request 	
      <ModPythonRequest path:/bbs/user/sichend/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '120395146.1672805375.1261383912.1261471223.1261481282.5', '__utmb': '120395146.1.10.1261481282', '__utmc': '120395146', '__utmz': '120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '23c6a27e455fbe948fe8892a27a02aa1'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'GB2312,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'zh-cn,zh;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=120395146.1672805375.1261383912.1261471223.1261481282.5; __utmz=120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=23c6a27e455fbe948fe8892a27a02aa1; __utmc=120395146; __utmb=120395146.1.10.1261481282', 'HTTP_HOST': 'www.sutifang.com', 'HTTP_REFERER': 'http://www.sutifang.com/bbs/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6 GTB6', 'HTTP_X_FORWARDED_FOR': '124.77.184.21', 'PATH_INFO': u'/bbs/user/sichend/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': '', 'SERVER_NAME': 'web89.webfaction.com', 'SERVER_PORT': 43673, 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'mod_python'}>
      template 	
      'forum/user.html'
    * /home/sutifang/lib/python2.5/forum/views.py in user
       464. 'form': form,
       465. 'TEMPLATE': 'forum/profile/profile_essentials.html'
       466. }
       467.
       468. else:
       469. topic_count = Topic.objects.filter(user=user).count()
       470. if user.forum_profile.post_count < forum_settings.POST_USER_SEARCH and not request.user.is_authenticated():
       471. return HttpResponseRedirect(reverse('user_signin') + '?next=%s' % request.path) ...
       472. return {'profile': user,
       473. 'topic_count': topic_count,
       474. }
       475.
       476. @login_required
       477. @render_to('forum/reputation.html')
      ▶ Local vars
      Variable 	Value
      request 	
      <ModPythonRequest path:/bbs/user/sichend/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '120395146.1672805375.1261383912.1261471223.1261481282.5', '__utmb': '120395146.1.10.1261481282', '__utmc': '120395146', '__utmz': '120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '23c6a27e455fbe948fe8892a27a02aa1'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'GB2312,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'zh-cn,zh;q=0.5', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=120395146.1672805375.1261383912.1261471223.1261481282.5; __utmz=120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=23c6a27e455fbe948fe8892a27a02aa1; __utmc=120395146; __utmb=120395146.1.10.1261481282', 'HTTP_HOST': 'www.sutifang.com', 'HTTP_REFERER': 'http://www.sutifang.com/bbs/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6 GTB6', 'HTTP_X_FORWARDED_FOR': '124.77.184.21', 'PATH_INFO': u'/bbs/user/sichend/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': '', 'SERVER_NAME': 'web89.webfaction.com', 'SERVER_PORT': 43673, 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'mod_python'}>
      topic_count 	
      0
      user 	
      <User: sichend>
      username 	
      u'sichend'
    * /home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.py in reverse
       334. except KeyError, key:
       335. if resolved_path:
       336. raise NoReverseMatch("%s is not a registered namespace inside '%s'" % (key, ':'.join(resolved_path)))
       337. else:
       338. raise NoReverseMatch("%s is not a registered namespace" % key)
       339.
       340. return iri_to_uri(u'%s%s' % (prefix, resolver.reverse(view,
       341. *args, **kwargs))) ...
       342.
       343. def clear_url_caches():
       344. global _resolver_cache
       345. global _callable_cache
       346. _resolver_cache.clear()
       347. _callable_cache.clear()
      ▶ Local vars
      Variable 	Value
      args 	
      []
      current_app 	
      None
      kwargs 	
      {}
      parts 	
      ['user_signin']
      path 	
      []
      prefix 	
      '/'
      resolved_path 	
      []
      resolver 	
      <RegexURLResolver sutifang.urls (None:None) ^/>
      urlconf 	
      None
      view 	
      'user_signin'
      viewname 	
      'user_signin'
    * /home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.py in reverse
       284. if set(kwargs.keys()) != set(params):
       285. continue
       286. unicode_kwargs = dict([(k, force_unicode(v)) for (k, v) in kwargs.items()])
       287. candidate = result % unicode_kwargs
       288. if re.search(u'^%s' % pattern, candidate, re.UNICODE):
       289. return candidate
       290. raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
       291. "arguments '%s' not found." % (lookup_view, args, kwargs)) ...
       292.
       293. def resolve(path, urlconf=None):
       294. return get_resolver(urlconf).resolve(path)
       295.
       296. def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None, current_app=None):
       297. resolver = get_resolver(urlconf)
      ▶ Local vars
      Variable 	Value
      args 	
      ()
      kwargs 	
      {}
      lookup_view 	
      'user_signin'
      possibilities 	
      []
      self 	
      <RegexURLResolver sutifang.urls (None:None) ^/>

Environment: Request Method: GET Request URL: http://www.sutifang.com/bbs/user/sichend/ Django Version: 1.1 Python Version: 2.5.4 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.markup', 'sutifang.apps.exercise', 'sutifang.apps.workout', 'sutifang.apps.trainer', 'sutifang.apps.registration', 'sutifang.templates.template_utils', 'sutifang.apps.messages', 'sutifang.apps.forum', 'sutifang.apps.django_authopenid', 'sutifang.apps.djapian'] Installed Middleware: ('django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django_authopenid.middleware.OpenIDMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'sutifang.apps.forum.middleware.LastLoginMiddleware', 'sutifang.apps.forum.middleware.UsersOnline') Traceback: File "/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs) File "/home/sutifang/lib/python2.5/forum/util.py" in wrapper 67. output = function(request, *args, **kwargs) File "/home/sutifang/lib/python2.5/forum/views.py" in user 471. return HttpResponseRedirect(reverse('user_signin') + '?next=%s' % request.path) File "/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.py" in reverse 341. *args, **kwargs))) File "/home/sutifang/webapps/django_1_1/lib/python2.5/django/core/urlresolvers.py" in reverse 291. "arguments '%s' not found." % (lookup_view, args, kwargs)) Exception Type: NoReverseMatch at /bbs/user/sichend/ Exception Value: Reverse for 'user_signin' with arguments '()' and keyword arguments '{}' not found.

Request information
GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES
Variable 	Value
__utma 	
'120395146.1672805375.1261383912.1261471223.1261481282.5'
__utmb 	
'120395146.1.10.1261481282'
__utmc 	
'120395146'
sessionid 	
'23c6a27e455fbe948fe8892a27a02aa1'
__utmz 	
'120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
META
Variable 	Value
AUTH_TYPE 	
None
CONTENT_LENGTH 	
0L
CONTENT_TYPE 	
None
GATEWAY_INTERFACE 	
'CGI/1.1'
HTTP_ACCEPT 	
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET 	
'GB2312,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING 	
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE 	
'zh-cn,zh;q=0.5'
HTTP_CONNECTION 	
'close'
HTTP_COOKIE 	
'__utma=120395146.1672805375.1261383912.1261471223.1261481282.5; __utmz=120395146.1261383912.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=23c6a27e455fbe948fe8892a27a02aa1; __utmc=120395146; __utmb=120395146.1.10.1261481282'
HTTP_HOST 	
'www.sutifang.com'
HTTP_REFERER 	
'http://www.sutifang.com/bbs/'
HTTP_USER_AGENT 	
'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6 GTB6'
HTTP_X_FORWARDED_FOR 	
'124.77.184.21'
PATH_INFO 	
u'/bbs/user/sichend/'
PATH_TRANSLATED 	
None
QUERY_STRING 	
None
REMOTE_ADDR 	
'127.0.0.1'
REMOTE_HOST 	
None
REMOTE_IDENT 	
None
REMOTE_USER 	
None
REQUEST_METHOD 	
'GET'
SCRIPT_NAME 	
''
SERVER_NAME 	
'web89.webfaction.com'
SERVER_PORT 	
43673
SERVER_PROTOCOL 	
'HTTP/1.0'
SERVER_SOFTWARE 	
'mod_python'
Settings
Using settings module sutifang.settings
Setting 	Value
ABSOLUTE_URL_OVERRIDES 	
{}
ACCOUNT_ACTIVATION_DAYS 	
3
ADMINS 	
()
ADMIN_FOR 	
()
ADMIN_MEDIA_PREFIX 	
'/media/admin/'
ALLOWED_INCLUDE_ROOTS 	
()
APPEND_SLASH 	
True
AUTHENTICATION_BACKENDS 	
('django.contrib.auth.backends.ModelBackend',)
AUTH_PROFILE_MODULE 	
'registration.Profile'
BANNED_IPS 	
()
CACHE_BACKEND 	
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX 	
''
CACHE_MIDDLEWARE_SECONDS 	
600
COMMENTS_ALLOW_PROFANITIES 	
False
COMMENTS_BANNED_USERS_GROUP 	
None
COMMENTS_FIRST_FEW 	
0
COMMENTS_MODERATORS_GROUP 	
None
COMMENTS_SKETCHY_USERS_GROUP 	
None
DATABASE_ENGINE 	
'postgresql_psycopg2'
DATABASE_HOST 	
''
DATABASE_NAME 	
'sutifang_20091007'
DATABASE_OPTIONS 	
{}
DATABASE_PASSWORD 	
'********************'
DATABASE_PORT 	
''
DATABASE_USER 	
'sutifang_20091007'
DATETIME_FORMAT 	
'N j, Y, P'
DATE_FORMAT 	
'N j, Y'
DEBUG 	
True
DEBUG_PROPAGATE_EXCEPTIONS 	
False
DEFAULT_CHARSET 	
'utf-8'
DEFAULT_CONTENT_TYPE 	
'text/html'
DEFAULT_FILE_STORAGE 	
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 	
'no-reply@sutifang.com'
DEFAULT_INDEX_TABLESPACE 	
''
DEFAULT_TABLESPACE 	
''
DISALLOWED_USER_AGENTS 	
()
DJAPIAN_DATABASE_PATH 	
'/home/sutifang/webapps/django_1_1/sutifang/djapian_db'
EMAIL_HOST 	
'smtp.webfaction.com'
EMAIL_HOST_PASSWORD 	
'********************'
EMAIL_HOST_USER 	
'sutifang_lzhshen'
EMAIL_PORT 	
25
EMAIL_SUBJECT_PREFIX 	
'[Django] '
EMAIL_USE_TLS 	
False
FILE_CHARSET 	
'utf-8'
FILE_UPLOAD_HANDLERS 	
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE 	
2621440
FILE_UPLOAD_PERMISSIONS 	
None
FILE_UPLOAD_TEMP_DIR 	
None
FIXTURE_DIRS 	
()
FORCE_SCRIPT_NAME 	
None
IGNORABLE_404_ENDS 	
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS 	
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS 	
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.markup', 'sutifang.apps.exercise', 'sutifang.apps.workout', 'sutifang.apps.trainer', 'sutifang.apps.registration', 'sutifang.templates.template_utils', 'sutifang.apps.messages', 'sutifang.apps.forum', 'sutifang.apps.django_authopenid', 'sutifang.apps.djapian']
INTERNAL_IPS 	
()
LANGUAGES 	
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI 	
('he', 'ar', 'fa')
LANGUAGE_CODE 	
'zh-CN'
LANGUAGE_COOKIE_NAME 	
'django_language'
LOCALE_PATHS 	
()
LOGIN_REDIRECT_URL 	
'/accounts/profile/'
LOGIN_URL 	
'/accounts/login/'
LOGOUT_URL 	
'/accounts/logout/'
MANAGERS 	
()
MEDIA_ROOT 	
'/home/sutifang/webapps/django_1_1/sutifang/media'
MEDIA_URL 	
'/media/'
MIDDLEWARE_CLASSES 	
('django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django_authopenid.middleware.OpenIDMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'sutifang.apps.forum.middleware.LastLoginMiddleware', 'sutifang.apps.forum.middleware.UsersOnline')
MONTH_DAY_FORMAT 	
'F j'
OPENID_STORE 	
'django_authopenid.openid_store.DjangoOpenIDStore'
PASSWORD_RESET_TIMEOUT_DAYS 	
'********************'
PREPEND_WWW 	
False
PROFANITIES_LIST 	
'********************'
PROJECT_ROOT 	
'/home/sutifang/webapps/django_1_1/sutifang'
ROOT_URLCONF 	
'sutifang.urls'
SECRET_KEY 	
'********************'
SEND_BROKEN_LINK_EMAILS 	
False
SERVER_EMAIL 	
'root@localhost'
SESSION_COOKIE_AGE 	
1209600
SESSION_COOKIE_DOMAIN 	
None
SESSION_COOKIE_NAME 	
'sessionid'
SESSION_COOKIE_PATH 	
'/'
SESSION_COOKIE_SECURE 	
False
SESSION_ENGINE 	
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE 	
False
SESSION_FILE_PATH 	
None
SESSION_SAVE_EVERY_REQUEST 	
False
SETTINGS_MODULE 	
'sutifang.settings'
SITE_ID 	
1
TEMPLATE_CONTEXT_PROCESSORS 	
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media')
TEMPLATE_DEBUG 	
True
TEMPLATE_DIRS 	
('/home/sutifang/webapps/django_1_1/sutifang/templates',)
TEMPLATE_LOADERS 	
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID 	
''
TEST_DATABASE_CHARSET 	
None
TEST_DATABASE_COLLATION 	
None
TEST_DATABASE_NAME 	
None
TEST_RUNNER 	
'django.test.simple.run_tests'
TIME_FORMAT 	
'P'
TIME_ZONE 	
'Asia/Shanghai'
TRANSACTIONS_MANAGED 	
False
URL_VALIDATOR_USER_AGENT 	
'Django/1.1 (http://www.djangoproject.com)'
USE_ETAGS 	
False
USE_I18N 	
True
YEAR_MONTH_FORMAT 	
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.

Edited (Dec. 22, 2009 13:44:29)

Offline

#4 Dec. 22, 2009 13:49:14

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

failure when viewing new user's information that does not have profile record in djangoBB

well, this is django_authopenid problem, it can't find user_signin url
http://bitbucket.org/benoitc/django-authopenid/src/tip/django_authopenid/urls.py#cl-50 check you django_authopenid version. It from hg?

Offline

  • Root
  • » Bugs
  • » failure when viewing new user's information that does not have profile record in djangoBB[RSS Feed]

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version