Environment Request Method GET Request URL http 127 8000 blog Django V

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/blog/
Django Version: 1.0-alpha-SVN-unknown
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.flatpages',
'django.contrib.markup',
'lib',
'pytils',
'accounts',
'blog',
'discussion',
'openidconsumer',
'pingback',
'tagging',
'typogrify',
'render',
'robots',
'textblocks',
'livejournal',
'blogroll',
'openidserver',
'recaptcha',
'debug',
'sape',
'watchlist']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'lib.threadlocals.ThreadLocalsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'middleware.url.UrlMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'middleware.redirect.RedirectMiddleware',
'openidconsumer.middleware.OpenIDMiddleware',
'django.middleware.doc.XViewMiddleware',
'middleware.ajax_errors.AjaxMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'middleware.profile.ProfilerMiddleware')
Template error:
In template d:\install\pythonsoft\byteflow-blog-engine-3c240c9e2ecf\templates\base.html, error at line 9
Caught an exception while rendering: Error while importing URLconf 'openidserver.urls': No module named openid.server
1 : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 : {% load i18n %}
3 : {% load theme %}
4 : <html xmlns="http://www.w3.org/1999/xhtml">
5 : <head>
6 : <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 : <title>{{ settings.BLOG_NAME }}: {% block title %}main{% endblock %}</title>
8 : {% theme_css %}
9 : <link rel="alternate" type="application/atom+xml" title="{{ settings.BLOG_NAME }}: blog entries feed" href=" {% url feed "blog" %} " />
10 : <link rel="alternate" type="application/atom+xml" title="{{ settings.BLOG_NAME }}: comments feed" href="{% url feed "comments" %}" />
11 : <link rel="openid2.provider" href="{% absolute_url openid_endpoint %}"/>
12 : <link rel="openid.server" href="{% absolute_url openid_endpoint %}"/>
13 : {% theme_js "jquery" %}
14 : {% theme_js "login-shortcuts" %}
15 : <script type="text/javascript" src="{% url processed_js %}"></script>
16 : {% block extrahead %}{% endblock %}
17 : </head>
18 : <body>
19 : <div id="page">
Traceback:
File "C:\Python25\Lib\site-packages\django\core\handlers\base.py" in get_response
87. response = callback(request, *callback_args, **callback_kwargs)
File "D:\Install\pythonsoft\Byteflow-Blog-Engine-3c240c9e2ecf\..\Byteflow-Blog-Engine-3c240c9e2ecf\apps\blog\views.py" in post_list
43. return object_list(request, *args, **kwargs)
File "C:\Python25\Lib\site-packages\django\views\generic\list_detail.py" in object_list
101. return HttpResponse(t.render(c), mimetype=mimetype)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in render
176. return self.nodelist.render(context)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in render
751. bits.append(self.render_node(node, context))
File "C:\Python25\lib\site-packages\django\template\debug.py" in render_node
71. result = node.render(context)
File "C:\Python25\Lib\site-packages\django\template\loader_tags.py" in render
97. return compiled_parent.render(context)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in render
176. return self.nodelist.render(context)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in render
751. bits.append(self.render_node(node, context))
File "C:\Python25\lib\site-packages\django\template\debug.py" in render_node
81. raise wrapped
Exception Type: TemplateSyntaxError at /blog/
Exception Value: Caught an exception while rendering: Error while importing URLconf 'openidserver.urls': No module named openid.server
Original Traceback (most recent call last):
File "C:\Python25\lib\site-packages\django\template\debug.py", line 71, in render_node
result = node.render(context)
File "C:\Python25\Lib\site-packages\django\template\defaulttags.py", line 364, in render
return reverse(self.view_name, args=args, kwargs=kwargs)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 307, in reverse
*args, **kwargs)))
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 289, in reverse
if lookup_view in self.reverse_dict:
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 225, in _get_reverse_dict
for key, value in pattern.reverse_dict.iteritems():
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 222, in _get_reverse_dict
if not self._reverse_dict and hasattr(self.urlconf_module, 'urlpatterns'):
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 262, in _get_urlconf_module
raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e)
ImproperlyConfigured: Error while importing URLconf 'openidserver.urls': No module named openid.server