VariableDoesNotExist at admin Failed lookup for key name in Request Me

  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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
VariableDoesNotExist at /admin/
Failed lookup for key [name] in ''
Request Method: GET
Request URL: http://80.178.221.222:1929/admin/
Exception Type: VariableDoesNotExist
Exception Value: Failed lookup for key [name] in ''
Exception Location: /usr/lib/python2.4/site-packages/django/template/__init__.py in resolve_variable, line 694
Python Executable: /usr/bin/python
Python Version: 2.4.4
Template error
In template /usr/lib/python2.4/site-packages/django/contrib/admin/templates/admin/index.html, error at line 61
Caught an exception while rendering: Failed lookup for key [name] in ''
51 <div class="module" id="recent-actions-module">
52 <h2>{% trans 'Recent Actions' %}</h2>
53 <h3>{% trans 'My Actions' %}</h3>
54 {% load log %}
55 {% get_admin_log 10 as admin_log for_user user %}
56 {% if not admin_log %}
57 <p>{% trans 'None available' %}</p>
58 {% else %}
59 <ul class="actionlist">
60 {% for entry in admin_log %}
61 <li class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr|escape }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst|escape %}{% trans entry.content_type.name %}{% endfilter %}</span></li>
62 {% endfor %}
63 </ul>
64 {% endif %}
65 </div>
66 </div>
67 {% endblock %}
68
Traceback (innermost last)
Switch to copy-and-paste view
* /usr/lib/python2.4/site-packages/django/template/__init__.py in render_node
743.
744. def render_node(self, node, context):
745. return node.render(context)
746.
747. class DebugNodeList(NodeList):
748. def render_node(self, node, context):
749. try:
750. result = node.render(context) ...
751. except TemplateSyntaxError, e:
752. if not hasattr(e, 'source'):
753. e.source = node.source
754. raise
755. except Exception, e:
756. from sys import exc_info
Local vars
Variable Value
context
[{'forloop': {'parentloop': {}, 'last': False, 'counter': 1, 'revcounter0': 9, 'revcounter': 10, 'counter0': 0, 'first': True}, u'entry': 2008-01-05 15:33:50}, {'block': <Block Node: sidebar. Contents: [<Text Node: '\n<div id="content-related'>, <django.templatetags.i18n.TranslateNode object at 0x87ecbcc>, <Text Node: '</h2>\n <h3>'>, <django.templatetags.i18n.TranslateNode object at 0x87ec9ec>, <Text Node: '</h3>\n '>, <django.template.defaulttags.LoadNode object at 0x87fcf4c>, <Text Node: '\n '>, <GetAdminLog Node>, <Text Node: '\n '>, <If node>, <Text Node: '\n </div>\n</div>\n'>]>, u'admin_log': [2008-01-05 15:33:50, 2007-12-05 21:42:12, 2007-12-02 22:59:38, 2007-12-02 22:59:29, 2007-12-02 22:59:20, 2007-12-02 22:59:10, 2007-12-02 22:59:02, 2007-12-02 22:58:53, 2007-12-02 22:58:44, 2007-12-02 22:58:35]}, {'title': u'\u05e0\u05d9\u05d4\u05d5\u05dc \u05d0\u05ea\u05e8'}, {'request': <WSGIRequest GET:<MultiValueDict: {}>, POST:<MultiValueDict: {}>, COOKIES:{'sessionid': 'b2d1bbdbfd7f0ae8a62abbc933ac6351'}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'CVS_RSH': 'ssh', 'DJANGO_SETTINGS_MODULE': 'hanut.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'G_BROKEN_FILENAMES': '1', 'HISTCONTROL': 'ignoreboth', 'HISTSIZE': '1000', 'HOME': '/home/offline', 'HOSTNAME': 'jobber.example.com', '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,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=b2d1bbdbfd7f0ae8a62abbc933ac6351', 'HTTP_HOST': '80.178.221.222:1929', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://80.178.221.222:1929/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11', 'INPUTRC': '/etc/inputrc', 'JAVA_HOME': '/usr/java/jdk1.5.0_14', 'KDEDIRS': '/usr', 'KDE_IS_PRELINKED': '1', 'LANG': 'en_US.UTF-8', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'LIBGL_DRIVERS_PATH': '/usr/lib/dri', 'LOGNAME': 'offline', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:', 'MAIL': '/var/spool/mail/offline', 'OLDPWD': '/home/offline', 'PATH': '/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.5.0_14/bin:/home/offline/bin:/sbin:/usr/sbin:/usr/local/sbin', 'PATH_INFO': '/admin/', 'PERL5LIB': '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.8:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.8', 'PWD': '/home/offline/django/hanut', 'QTDIR': '/usr/lib/qt-3.3', 'QTINC': '/usr/lib/qt-3.3/include', 'QTLIB': '/usr/lib/qt-3.3/lib', 'QUERY_STRING': '', 'REMOTE_ADDR': '213.8.104.59', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': '', 'SERVER_NAME': '80.178.221.222.adsl.012.net.il', 'SERVER_PORT': '1929', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4.4', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'SSH_CLIENT': '213.8.104.59 4253 22', 'SSH_CONNECTION': '213.8.104.59 4253 80.178.221.222 22', 'SSH_TTY': '/dev/pts/10', 'TERM': 'xterm', 'TZ': 'Asia/Jerusalem', 'USER': 'offline', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb7f660b0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x86d387c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': 'http://muzx.servehttp.com/static/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'he-he'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x87de78c>, 'messages': [], 'user': <User: admin>}, {}]
e
<django.template.VariableDoesNotExist instance at 0x8825b8c>
exc_info
<built-in function exc_info>
node
<django.templatetags.i18n.TranslateNode object at 0x87fba8c>
self
[<django.templatetags.i18n.TranslateNode object at 0x87fba8c>]
wrapped
<django.template.TemplateSyntaxError instance at 0x8825bec>
* /usr/lib/python2.4/site-packages/django/templatetags/i18n.py in render
32.
33. class TranslateNode(Node):
34. def __init__(self, value, noop):
35. self.value = value
36. self.noop = noop
37.
38. def render(self, context):
39. value = resolve_variable(self.value, context) ...
40. if self.noop:
41. return value
42. else:
43. return translation.ugettext(value)
44.
45. class BlockTranslateNode(Node):
Local vars
Variable Value
context
[{'forloop': {'parentloop': {}, 'last': False, 'counter': 1, 'revcounter0': 9, 'revcounter': 10, 'counter0': 0, 'first': True}, u'entry': 2008-01-05 15:33:50}, {'block': <Block Node: sidebar. Contents: [<Text Node: '\n<div id="content-related'>, <django.templatetags.i18n.TranslateNode object at 0x87ecbcc>, <Text Node: '</h2>\n <h3>'>, <django.templatetags.i18n.TranslateNode object at 0x87ec9ec>, <Text Node: '</h3>\n '>, <django.template.defaulttags.LoadNode object at 0x87fcf4c>, <Text Node: '\n '>, <GetAdminLog Node>, <Text Node: '\n '>, <If node>, <Text Node: '\n </div>\n</div>\n'>]>, u'admin_log': [2008-01-05 15:33:50, 2007-12-05 21:42:12, 2007-12-02 22:59:38, 2007-12-02 22:59:29, 2007-12-02 22:59:20, 2007-12-02 22:59:10, 2007-12-02 22:59:02, 2007-12-02 22:58:53, 2007-12-02 22:58:44, 2007-12-02 22:58:35]}, {'title': u'\u05e0\u05d9\u05d4\u05d5\u05dc \u05d0\u05ea\u05e8'}, {'request': <WSGIRequest GET:<MultiValueDict: {}>, POST:<MultiValueDict: {}>, COOKIES:{'sessionid': 'b2d1bbdbfd7f0ae8a62abbc933ac6351'}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'CVS_RSH': 'ssh', 'DJANGO_SETTINGS_MODULE': 'hanut.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'G_BROKEN_FILENAMES': '1', 'HISTCONTROL': 'ignoreboth', 'HISTSIZE': '1000', 'HOME': '/home/offline', 'HOSTNAME': 'jobber.example.com', '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,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=b2d1bbdbfd7f0ae8a62abbc933ac6351', 'HTTP_HOST': '80.178.221.222:1929', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://80.178.221.222:1929/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11', 'INPUTRC': '/etc/inputrc', 'JAVA_HOME': '/usr/java/jdk1.5.0_14', 'KDEDIRS': '/usr', 'KDE_IS_PRELINKED': '1', 'LANG': 'en_US.UTF-8', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'LIBGL_DRIVERS_PATH': '/usr/lib/dri', 'LOGNAME': 'offline', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:', 'MAIL': '/var/spool/mail/offline', 'OLDPWD': '/home/offline', 'PATH': '/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.5.0_14/bin:/home/offline/bin:/sbin:/usr/sbin:/usr/local/sbin', 'PATH_INFO': '/admin/', 'PERL5LIB': '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.8:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.8', 'PWD': '/home/offline/django/hanut', 'QTDIR': '/usr/lib/qt-3.3', 'QTINC': '/usr/lib/qt-3.3/include', 'QTLIB': '/usr/lib/qt-3.3/lib', 'QUERY_STRING': '', 'REMOTE_ADDR': '213.8.104.59', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': '', 'SERVER_NAME': '80.178.221.222.adsl.012.net.il', 'SERVER_PORT': '1929', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4.4', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'SSH_CLIENT': '213.8.104.59 4253 22', 'SSH_CONNECTION': '213.8.104.59 4253 80.178.221.222 22', 'SSH_TTY': '/dev/pts/10', 'TERM': 'xterm', 'TZ': 'Asia/Jerusalem', 'USER': 'offline', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb7f660b0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x86d387c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': 'http://muzx.servehttp.com/static/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'he-he'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x87de78c>, 'messages': [], 'user': <User: admin>}, {}]
self
<django.templatetags.i18n.TranslateNode object at 0x87fba8c>
* /usr/lib/python2.4/site-packages/django/template/__init__.py in resolve_variable
687. try: # list-index lookup
688. current = current[int(bits[0])]
689. except (IndexError, # list index out of range
690. ValueError, # invalid literal for int()
691. KeyError, # current is a dict without `int(bits[0])` key
692. TypeError, # unsubscriptable object
693. ):
694. raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bits[0], current)) # missing attribute ...
695. except Exception, e:
696. if getattr(e, 'silent_variable_failure', False):
697. current = settings.TEMPLATE_STRING_IF_INVALID
698. else:
699. raise
700. del bits[0]
Local vars
Variable Value
bits
[u'name']
context
[{'forloop': {'parentloop': {}, 'last': False, 'counter': 1, 'revcounter0': 9, 'revcounter': 10, 'counter0': 0, 'first': True}, u'entry': 2008-01-05 15:33:50}, {'block': <Block Node: sidebar. Contents: [<Text Node: '\n<div id="content-related'>, <django.templatetags.i18n.TranslateNode object at 0x87ecbcc>, <Text Node: '</h2>\n <h3>'>, <django.templatetags.i18n.TranslateNode object at 0x87ec9ec>, <Text Node: '</h3>\n '>, <django.template.defaulttags.LoadNode object at 0x87fcf4c>, <Text Node: '\n '>, <GetAdminLog Node>, <Text Node: '\n '>, <If node>, <Text Node: '\n </div>\n</div>\n'>]>, u'admin_log': [2008-01-05 15:33:50, 2007-12-05 21:42:12, 2007-12-02 22:59:38, 2007-12-02 22:59:29, 2007-12-02 22:59:20, 2007-12-02 22:59:10, 2007-12-02 22:59:02, 2007-12-02 22:58:53, 2007-12-02 22:58:44, 2007-12-02 22:58:35]}, {'title': u'\u05e0\u05d9\u05d4\u05d5\u05dc \u05d0\u05ea\u05e8'}, {'request': <WSGIRequest GET:<MultiValueDict: {}>, POST:<MultiValueDict: {}>, COOKIES:{'sessionid': 'b2d1bbdbfd7f0ae8a62abbc933ac6351'}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'CVS_RSH': 'ssh', 'DJANGO_SETTINGS_MODULE': 'hanut.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'G_BROKEN_FILENAMES': '1', 'HISTCONTROL': 'ignoreboth', 'HISTSIZE': '1000', 'HOME': '/home/offline', 'HOSTNAME': 'jobber.example.com', '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,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=b2d1bbdbfd7f0ae8a62abbc933ac6351', 'HTTP_HOST': '80.178.221.222:1929', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://80.178.221.222:1929/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11', 'INPUTRC': '/etc/inputrc', 'JAVA_HOME': '/usr/java/jdk1.5.0_14', 'KDEDIRS': '/usr', 'KDE_IS_PRELINKED': '1', 'LANG': 'en_US.UTF-8', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'LIBGL_DRIVERS_PATH': '/usr/lib/dri', 'LOGNAME': 'offline', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:', 'MAIL': '/var/spool/mail/offline', 'OLDPWD': '/home/offline', 'PATH': '/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.5.0_14/bin:/home/offline/bin:/sbin:/usr/sbin:/usr/local/sbin', 'PATH_INFO': '/admin/', 'PERL5LIB': '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.8:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.8', 'PWD': '/home/offline/django/hanut', 'QTDIR': '/usr/lib/qt-3.3', 'QTINC': '/usr/lib/qt-3.3/include', 'QTLIB': '/usr/lib/qt-3.3/lib', 'QUERY_STRING': '', 'REMOTE_ADDR': '213.8.104.59', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': '', 'SERVER_NAME': '80.178.221.222.adsl.012.net.il', 'SERVER_PORT': '1929', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4.4', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'SSH_CLIENT': '213.8.104.59 4253 22', 'SSH_CONNECTION': '213.8.104.59 4253 80.178.221.222 22', 'SSH_TTY': '/dev/pts/10', 'TERM': 'xterm', 'TZ': 'Asia/Jerusalem', 'USER': 'offline', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb7f660b0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x86d387c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': 'http://muzx.servehttp.com/static/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'he-he'}, {}, {'perms': <django.core.context_processors.PermWrapper object at 0x87de78c>, 'messages': [], 'user': <User: admin>}, {}]
current
u''
e
<django.db.models.base.DoesNotExist instance at 0x8825f2c>
path
u'entry.content_type.name'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render_node
750. result = node.render(context)
File "/usr/lib/python2.4/site-packages/django/templatetags/i18n.py" in render
39. value = resolve_variable(self.value, context)
File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in resolve_variable
694. raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bits[0], current)) # missing attribute
VariableDoesNotExist at /admin/
Failed lookup for key [name] in ''
Request information
GET
No GET data
POST
No POST data
COOKIES
Variable Value
sessionid
u'b2d1bbdbfd7f0ae8a62abbc933ac6351'
META
Variable Value
CONTENT_LENGTH
u''
CONTENT_TYPE
u'text/plain'
CVS_RSH
u'ssh'
DJANGO_SETTINGS_MODULE
u'hanut.settings'
GATEWAY_INTERFACE
u'CGI/1.1'
G_BROKEN_FILENAMES
u'1'
HISTCONTROL
u'ignoreboth'
HISTSIZE
u'1000'
HOME
u'/home/offline'
HOSTNAME
u'jobber.example.com'
HTTP_ACCEPT
u'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
u'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
u'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
u'en-us,en;q=0.5'
HTTP_CACHE_CONTROL
u'max-age=0'
HTTP_CONNECTION
u'keep-alive'
HTTP_COOKIE
u'sessionid=b2d1bbdbfd7f0ae8a62abbc933ac6351'
HTTP_HOST
u'80.178.221.222:1929'
HTTP_KEEP_ALIVE
u'300'
HTTP_REFERER
u'http://80.178.221.222:1929/admin/'
HTTP_USER_AGENT
u'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11'
INPUTRC
u'/etc/inputrc'
JAVA_HOME
u'/usr/java/jdk1.5.0_14'
KDEDIRS
u'/usr'
KDE_IS_PRELINKED
u'1'
LANG
u'en_US.UTF-8'
LESSOPEN
u'|/usr/bin/lesspipe.sh %s'
LIBGL_DRIVERS_PATH
u'/usr/lib/dri'
LOGNAME
u'offline'
LS_COLORS
u'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:'
MAIL
u'/var/spool/mail/offline'
OLDPWD
u'/home/offline'
PATH
u'/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.5.0_14/bin:/home/offline/bin:/sbin:/usr/sbin:/usr/local/sbin'
PATH_INFO
u'/admin/'
PERL5LIB
u'/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.8:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/vendor_perl/5.8.8'
PWD
u'/home/offline/django/hanut'
QTDIR
u'/usr/lib/qt-3.3'
QTINC
u'/usr/lib/qt-3.3/include'
QTLIB
u'/usr/lib/qt-3.3/lib'
QUERY_STRING
u''
REMOTE_ADDR
u'213.8.104.59'
REMOTE_HOST
u''
REQUEST_METHOD
u'GET'
RUN_MAIN
u'true'
SCRIPT_NAME
u''
SERVER_NAME
u'80.178.221.222.adsl.012.net.il'
SERVER_PORT
u'1929'
SERVER_PROTOCOL
u'HTTP/1.1'
SERVER_SOFTWARE
u'WSGIServer/0.1 Python/2.4.4'
SHELL
u'/bin/bash'
SHLVL
u'1'
SSH_ASKPASS
u'/usr/libexec/openssh/gnome-ssh-askpass'
SSH_CLIENT
u'213.8.104.59 4253 22'
SSH_CONNECTION
u'213.8.104.59 4253 80.178.221.222 22'
SSH_TTY
u'/dev/pts/10'
TERM
u'xterm'
TZ
u'Asia/Jerusalem'
USER
u'offline'
_
u'/usr/bin/python'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb7f660b0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x86d387c>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
u'http'
wsgi.version
(1, 0)
Settings
Using settings module hanut.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
()
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
u'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
u'dummy:///?timeout=1'
CACHE_MIDDLEWARE_KEY_PREFIX
u''
CACHE_MIDDLEWARE_SECONDS
1
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
u'mysql'
DATABASE_HOST
u'localhost'
DATABASE_NAME
u'hanut'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
u'********************'
DATABASE_PORT
u'3306'
DATABASE_USER
u'hanut'
DATETIME_FORMAT
u'N j, Y, P'
DATE_FORMAT
u'N j, Y'
DEBUG
True
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FIXTURE_DIRS
()
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', 'hanut.products']
INTERNAL_IPS
u'127.0.0.1'
JING_PATH
u'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
u'he-he'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_URL
u'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
u'/home/offline/django/hanut/static/'
MEDIA_URL
u'http://muzx.servehttp.com/static/'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')
MONTH_DAY_FORMAT
u'F j'
PREPEND_WWW
False
PROFANITIES_LIST
u'********************'
ROOT_URLCONF
u'hanut.urls'
SECRET_KEY
u'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
u'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
u'/tmp/'
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
u'hanut.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', 'django.core.context_processors.request')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/home/offline/django/hanut/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
u''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
u'django.test.simple.run_tests'
TIME_FORMAT
u'P'
TIME_ZONE
u'Asia/Jerusalem'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
u'Django/0.97-pre-SVN-6369 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
YEAR_MONTH_FORMAT
u'F Y'