Projet

Général

Profil

Bug #1177

Traceback on index page

Ajouté par Jérôme Schneider il y a environ 12 ans. Mis à jour il y a presque 12 ans.

Statut:
Fermé
Priorité:
Bas
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
30 décembre 2011
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Planning:

Description

When you install Authentic from scratch I have the following traceback :

[30/Dec/2011 11:27:08] "GET /login/?next=/ HTTP/1.1" 500 3798
Traceback (most recent call last):                                                                                                                                                                           
  File "/usr/local/lib/python2.7/dist-packages/django/core/servers/basehttp.py", line 283, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 272, in __call__
    response = self.get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 153, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 218, in handle_uncaught_exception
    return callback(request, **param_dict)
  File "/home/jschneider/apps/authentic/authentic2/../authentic2/views.py", line 21, in server_error
    context_instance = RequestContext(request)
  File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 20, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 188, in render_to_string
    return t.render(context_instance)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 123, in render
    return self._render(context)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 757, in render_node
    return node.render(context)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 127, in render
    return compiled_parent._render(context)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 757, in render_node
    return node.render(context)
  File "/home/jschneider/apps/authentic/authentic2/../authentic2/idp/idp_openid/templatetags/openid.py", line 19, in render
    reverse('openid-provider-xrds'))
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 391, in reverse
    *args, **kwargs)))
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 312, in reverse
    possibilities = self.reverse_dict.getlist(lookup_view)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 229, in _get_reverse_dict
    self._populate()
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 208, in _populate
    for name in pattern.reverse_dict:
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 229, in _get_reverse_dict
    self._populate()
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 197, in _populate
    for pattern in reversed(self.url_patterns):
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 279, in _get_url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
ImportError: No module named backends.default.urls

This traceback hide another error because it's append when Authentic is trying to show an error page.

Historique

#1

Mis à jour par Anonyme il y a environ 12 ans

When you say from scratch that is from the git repository or the 2.0.0 release tarball ?

It looks like a bad version for the "registration" application. As this application is now bundled with authentic maybe you have another version installed.

#2

Mis à jour par Jérôme Schneider il y a environ 12 ans

  • Priorité changé de Haut à Bas
  • Version cible 2.0.1 supprimé

OK it was the django registration module. I installed the 1.8a1 and it's work. Why you don't use this registration module ? : http://dev.entrouvert.org/projects/authentic/repository/revisions/master/show/authentic2/vendor/registration

#3

Mis à jour par Benjamin Dauvergne il y a environ 12 ans

I do not understand your remark, 0.8.0-alpha-1 is the version already included in authentic source code.

#4

Mis à jour par Mikaël Ates il y a presque 12 ans

Can we close as not a bug ?

#5

Mis à jour par Benjamin Dauvergne il y a presque 12 ans

If everybody agrees that the problem does not exist anymore, we can close it. I've not done a from scratch installation for a long time.

#6

Mis à jour par Mikaël Ates il y a presque 12 ans

  • Statut changé de Nouveau à Fermé

No traceback with install from scratch of release 2.0.1.

#7

Mis à jour par Jérôme Schneider il y a presque 12 ans

On Thu, Apr 12, 2012 at 11:59:57PM +0200, wrote:

Can we close as not a bug ?

Yes

Formats disponibles : Atom PDF