Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
error while testing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
xina towner  
View profile  
 More options Feb 13, 6:12 am
From: xina towner <xinatow...@gmail.com>
Date: Mon, 13 Feb 2012 12:12:42 +0100
Local: Mon, Feb 13 2012 6:12 am
Subject: error while testing

I'm getting this error when I try to do my tests, can anybody help me
please?

Traceback (most recent call last):
  File "/home/xino/workspace/unnamedapp/accounts/tests.py", line 209, in
test_request_invitation
    resp = self.client.get('/accounts/invite/request/')
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/client.py",
line 439, in get
    response = super(Client, self).get(path, data=data, **extra)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/client.py",
line 241, in get
    return self.request(**r)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/client.py",
line 381, in request
    response = self.handler(environ)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/client.py",
line 84, in __call__
    response = self.get_response(request)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/handlers/base.py",
line 169, in get_response
    response = self.handle_uncaught_exception(request, resolver,
sys.exc_info())
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/handlers/base.py",
line 218, in handle_uncaught_exception
    return callback(request, **param_dict)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/utils/decorators.py",
line 93, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/views/defaults.py",
line 31, in server_error
    return http.HttpResponseServerError(t.render(Context({})))
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/base.py",
line 123, in render
    return self._render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/utils.py",
line 60, in instrumented_test_render
    return self.nodelist.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/base.py",
line 744, in render
    bits.append(self.render_node(node, context))
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/debug.py",
line 73, in render_node
    result = node.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/loader_tags.py",
line 127, in render
    return compiled_parent._render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/test/utils.py",
line 60, in instrumented_test_render
    return self.nodelist.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/base.py",
line 744, in render
    bits.append(self.render_node(node, context))
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/debug.py",
line 73, in render_node
    result = node.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/loader_tags.py",
line 64, in render
    result = block.nodelist.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/base.py",
line 744, in render
    bits.append(self.render_node(node, context))
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/debug.py",
line 73, in render_node
    result = node.render(context)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/template/defaulttags.py",
line 437, in render
    url = reverse(view_name, args=args, kwargs=kwargs,
current_app=context.current_app)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 391, in reverse
    *args, **kwargs)))
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 312, in reverse
    possibilities = self.reverse_dict.getlist(lookup_view)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 229, in _get_reverse_dict
    self._populate()
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 208, in _populate
    for name in pattern.reverse_dict:
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 229, in _get_reverse_dict
    self._populate()
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 197, in _populate
    for pattern in reversed(self.url_patterns):
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 279, in _get_url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/core/urlresolvers.py",
line 274, in _get_urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/utils/importlib.py",
line 35, in import_module
    __import__(name)
  File "/home/xino/workspace/unnamedapp/urls_web.py", line 6, in <module>
    admin.autodiscover()
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/contrib/admin/__init__.py",
line 26, in autodiscover
    import_module('%s.admin' % app)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/utils/importlib.py",
line 35, in import_module
    __import__(name)
  File "/home/xino/workspace/unnamedapp/quests/admin.py", line 4, in
<module>
    admin.site.register(Location)
  File
"/home/xino/.virtualenvs/xinovirtualenv/local/lib/python2.7/site-packages/d jango/contrib/admin/sites.py",
line 85, in register
    raise AlreadyRegistered('The model %s is already registered' %
model.__name__)
TemplateSyntaxError: Caught AlreadyRegistered while rendering: The model
Location is already registered

Also when I try to run the server and acces with my browser I get this
error:

AlreadyRegistered at /admin

The model Location is already registered

Does anyone knows how to fix it?

--
Grŕcies,

Rubén


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sandro Dutra  
View profile  
 More options Feb 13, 7:52 am
From: Sandro Dutra <hexo...@gmail.com>
Date: Mon, 13 Feb 2012 09:52:17 -0300
Local: Mon, Feb 13 2012 7:52 am
Subject: Re: error while testing
Think it's a name conflict with the model Location, probably it's
registered 2 times in "admin.py" (line 4), or try to change the model
name.

2012/2/13 xina towner <xinatow...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xina towner  
View profile  
 More options Feb 13, 8:10 am
From: xina towner <xinatow...@gmail.com>
Date: Mon, 13 Feb 2012 14:10:12 +0100
Local: Mon, Feb 13 2012 8:10 am
Subject: Re: error while testing

Lots of Thanks :)

On 13 February 2012 13:52, Sandro Dutra <hexo...@gmail.com> wrote:

--
Grŕcies,

Rubén


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »