Created
August 1, 2013 21:54
-
-
Save somyamohanty/6135714 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: GET | |
Request URL: http://localhost:8000/admin/SocialNetworkData/fb_activity/4/ | |
Django Version: 1.5 | |
Python Version: 2.7.2 | |
Installed Applications: | |
('django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'django.contrib.admin', | |
'investigation', | |
'SocialNetworkData') | |
Installed Middleware: | |
('django.middleware.common.CommonMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware') | |
Template error: | |
In template /Library/Python/2.7/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 19 | |
sequence item 0: expected string, list found | |
9 : {% for field in line %} | |
10 : <div{% if not line.fields|length_is:'1' %} class="field-box{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}"{% endif %}> | |
11 : {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} | |
12 : {% if field.is_checkbox %} | |
13 : {{ field.field }}{{ field.label_tag }} | |
14 : {% else %} | |
15 : {{ field.label_tag }} | |
16 : {% if field.is_readonly %} | |
17 : <p>{{ field.contents|linebreaksbr }}</p> | |
18 : {% else %} | |
19 : {{ field.field }} | |
20 : {% endif %} | |
21 : {% endif %} | |
22 : {% if field.field.help_text %} | |
23 : <p class="help">{{ field.field.help_text|safe }}</p> | |
24 : {% endif %} | |
25 : </div> | |
26 : {% endfor %} | |
27 : </div> | |
28 : {% endfor %} | |
29 : </fieldset> | |
Traceback: | |
File "/Library/Python/2.7/site-packages/django/core/handlers/base.py" in get_response | |
140. response = response.render() | |
File "/Library/Python/2.7/site-packages/django/template/response.py" in render | |
105. self.content = self.rendered_content | |
File "/Library/Python/2.7/site-packages/django/template/response.py" in rendered_content | |
82. content = template.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
140. return self._render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render | |
124. return compiled_parent._render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render | |
124. return compiled_parent._render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render | |
63. result = block.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render | |
63. result = block.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/defaulttags.py" in render | |
188. nodelist.append(node.render(context)) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render | |
156. return self.render_template(self.template, context) | |
File "/Library/Python/2.7/site-packages/django/template/loader_tags.py" in render_template | |
138. output = template.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
140. return self._render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/defaulttags.py" in render | |
188. nodelist.append(node.render(context)) | |
File "/Library/Python/2.7/site-packages/django/template/defaulttags.py" in render | |
188. nodelist.append(node.render(context)) | |
File "/Library/Python/2.7/site-packages/django/template/defaulttags.py" in render | |
284. return nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/defaulttags.py" in render | |
284. return nodelist.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/base.py" in render | |
830. bit = self.render_node(node, context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render_node | |
74. return node.render(context) | |
File "/Library/Python/2.7/site-packages/django/template/debug.py" in render | |
87. output = force_text(output) | |
File "/Library/Python/2.7/site-packages/django/utils/encoding.py" in force_text | |
99. s = s.__unicode__() | |
File "/Library/Python/2.7/site-packages/django/forms/forms.py" in __str__ | |
411. return self.as_widget() | |
File "/Library/Python/2.7/site-packages/django/forms/forms.py" in as_widget | |
458. return widget.render(name, self.value(), attrs=attrs) | |
File "/Library/Python/2.7/site-packages/django/forms/forms.py" in value | |
496. return self.field.prepare_value(data) | |
File "/Library/Python/2.7/site-packages/djorm_pgarray/fields.py" in prepare_value | |
91. return self.delim.join(value) | |
Exception Type: TypeError at /admin/SocialNetworkData/fb_activity/4/ | |
Exception Value: sequence item 0: expected string, list found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment