+ Reply to Thread
Results 1 to 3 of 3

Thread: getting application level errors while trying to register

  1. #1
    theda is offline Junior Member theda is on a distinguished road
    Join Date
    Jul 2008
    Posts
    1

    Default getting application level errors while trying to register

    I tried to register today and I got this error message after choosing a country and clicking the Next button:

    AttributeError at /

    'NoneType' object has no attribute '_meta'

    Request Method: GET Request URL: https://rf.com/ Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute '_meta' Exception Location: /usr/lib/python2.4/site-packages/django/contrib/contenttypes/models.py in get_for_model, line 17 Python Executable: /usr/bin/python Python Version: 2.4.3 Python Path: ['/home/django/services/ringfree', '/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg', '/usr/lib/python2.4/site-packages/flup-1.0-py2.4.egg', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0'] Server time: Sat, 12 Jul 2008 19:40:03 -0700
    Traceback Switch to copy-and-paste view

    • /usr/lib/python2.4/site-packages/django/core/handlers/base.py in get_response
      • # Apply view middleware
      • for middleware_method in self._view_middleware:
      • response = middleware_method(request, callback, callback_args, callback_kwargs)
      • if response:
      • return response
      • try:
      1. response = callback(request, *callback_args, **callback_kwargs) ...
      • except Exception, e:
      • # If the view raised an exception, run it through exception
      • # middleware, and if the exception middleware returns a
      • # response, use that. Otherwise, reraise the exception.
      • for middleware_method in self._exception_middleware:
      • response = middleware_method(request, e)

      ▶ Local vars
      Variable
      Value
      callback
      <function _check at 0xa3a195c>

      callback_args
      ()

      callback_kwargs
      {}

      debug
      <module 'django.views.debug' from '/usr/lib/python2.4/site-packages/django/views/debug.pyc'>

      e
      <exceptions.AttributeError instance at 0xa44e3ec>

      exc_info
      (<class exceptions.AttributeError at 0xb7f2574c>, <exceptions.AttributeError instance at 0xa44e3ec>, <traceback object at 0xa5e1e8c>)

      exceptions
      <module 'django.core.exceptions' from '/usr/lib/python2.4/site-packages/django/core/exceptions.pyc'>

      mail_admins
      <function mail_admins at 0xa33bc34>

      middleware_method
      <bound method TransactionMiddleware.process_exception of <django.middleware.transaction.TransactionMiddlewa re object at 0xa33dfac>>

      receivers
      [(<function _rollback_on_exception at 0xb7c3d2cc>, None)]

      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '124498761.2632707435305729500.1215913934.12159139 34.1215916511.2', '__utmb': '124498761.13.10.1215916511', '__utmc': '124498761', '__utmz': '124498761.1215913934.1.1.utmcsr=voip-sol.com|utmccn=(referral)|utmcmd=referral|utmcct=/iphone-voip-apps-the-top-softphones-for-iphone/', 'sessionid': '24aaf07f439bed938af15ebd3754b55d'}, META:{'DOCUMENT_ROOT': '/home/django/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utma=124498761.2632707435305729500.1215913934.1 215913934.1215916511.2; __utmc=124498761; __utmz=124498761.1215913934.1.1.utmcsr=voip-sol.com|utmccn=(referral)|utmcmd=referral|utmcct=/iphone-voip-apps-the-top-softphones-for-iphone/; sessionid=24aaf07f439bed938af15ebd3754b55d; __utmb=124498761.13.10.1215916511', 'HTTP_HOST': 'rf.com', 'HTTP_IF_NONE_MATCH': '9c9db7a340ffb525f5e9495eafbe2c5c', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'https://rf.com/register/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15', 'PATH_INFO': '/', 'PATH_TRANSLATED': '/home/django/public_html/', 'QUERY_STRING': '', 'REDIRECT_STATUS': '200', 'REDIRECT_URI': '/mysite.fcgi/', 'REMOTE_ADDR': '209.59.169.2', 'REMOTE_PORT': '56391', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/django/public_html/mysite.fcgi', 'SCRIPT_NAME': '/mysite.fcgi', 'SERVER_ADDR': '172.30.1.199', 'SERVER_NAME': 'rf.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'lighttpd/1.4.19', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0xa44ef8c>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0xa44e8cc>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>

      resolver
      <RegexURLResolver ringfree.urls ^/>

      response
      None

      self
      <django.core.handlers.wsgi.WSGIHandler object at 0xa2cffec>

      settings
      <django.conf.LazySettings object at 0xb7cc322c>

      urlconf
      'ringfree.urls'

      urlresolvers
      <module 'django.core.urlresolvers' from '/usr/lib/python2.4/site-packages/django/core/urlresolvers.pyc'>
    • /home/django/services/ringfree/app/views/decorators.py in _check
      • # remember the url so we can go back after login
      • request.session['nextPage'] = request.get_full_path()
      • return HttpResponseRedirect (reverse ('ringfree-login'))
      • # for now we're using the emailConfirmed field to check whether we're ready to roll
      • if not user.get_profile().emailConfirmed:
      • return HttpResponseRedirect(reverse('ringfree-phone-activate'))
      1. return view_func (request, *args, **kwargs) ...
      • return _check
      • def owned_provideraccount_from_id (view_func):
      • def _check (request, providerAccountID, *args, **kwargs):
      • user = request.user
      • spec = ProviderAccount.objects.filter (user=user, id=providerAccountID)

    (had to snip for post size limit)

  2. #2
    eric is offline Founder eric has disabled reputation
    Join Date
    Oct 2007
    Location
    San Francisco, California, United States
    Posts
    147

    Default

    Thank you for bringing this to our attention.

    We are able to reproduce the problem and should have a fix shortly.

    As a workaround, log in and complete the registration process from your iPhone.

  3. #3
    eric is offline Founder eric has disabled reputation
    Join Date
    Oct 2007
    Location
    San Francisco, California, United States
    Posts
    147

    Default

    This issue has been resolved.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts