Ticket #6800: longerror.txt

File longerror.txt, 12.1 KB (added by Olafur Arason <olafura@…>, 16 years ago)
Line 
1TypeError at http://student.femheimur.com/
2'NoneType' object is not iterable
3Request Method: GET
4Request URL: http://student.femheimur.comhttp://student.femheimur.com/
5Exception Type: TypeError
6Exception Value: 'NoneType' object is not iterable
7Exception Location: /home/olafurac/django/django/core/handlers/base.py in get_response, line 73
8Python Executable: /home/olafurac/python/bin/python
9Python Version: 2.5.2
10Python Path: ['/home/olafurac/public_html/student/cgi-bin', '/home/olafurac/python/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/home/olafurac/python/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-x86_64.egg', '/home/olafurac/python/lib/python2.5/site-packages/flup-0.5-py2.5.egg', '/home/olafurac/python/lib/python25.zip', '/home/olafurac/python/lib/python2.5', '/home/olafurac/python/lib/python2.5/plat-linux2', '/home/olafurac/python/lib/python2.5/lib-tk', '/home/olafurac/python/lib/python2.5/lib-dynload', '/home/olafurac/python/lib/python2.5/site-packages', '/home/olafurac/python/lib/python2.5/site-packages/PIL', '/home/olafurac/python', '/home/olafurac/django', '/home/olafurac/django_projects', '/home/olafurac/django_projects']
11Traceback Switch to copy-and-paste view
12
13 * /home/olafurac/django/django/core/handlers/base.py in get_response
14 66. return response
15 67. # Get urlconf from request object, if available. Otherwise use default.
16 68. urlconf = getattr(request, "urlconf", settings.ROOT_URLCONF)
17 69. resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
18 70. try:
19 73. callback, callback_args, callback_kwargs = resolver.resolve(request.path) ...
20 74. # Apply view middleware
21 75. for middleware_method in self._view_middleware:
22 76. response = middleware_method(request, callback, callback_args, callback_kwargs)
23 77. if response:
24 78. return response
25 ▶ Local vars
26 Variable Value
27 debug
28 <module 'django.views.debug' from '/home/olafurac/django/django/views/debug.pyc'>
29 exc_info
30 (<type 'exceptions.TypeError'>, TypeError("'NoneType' object is not iterable",), <traceback object at 0x2b27e0a122d8>)
31 exceptions
32 <module 'django.core.exceptions' from '/home/olafurac/django/django/core/exceptions.pyc'>
33 mail_admins
34 <function mail_admins at 0x2b27dfd10a28>
35 middleware_method
36 <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x2b27dfd19ad0>>
37 receivers
38 [(<function _rollback_on_exception at 0x2b27e01e3a28>, None)]
39 request
40 <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '11989027.929012120.1201548646.1203597362.1203726539.30', '__utmz': '11989027.1202231950.5.2.utmccn=(referral)|utmcsr=alheimur.femheimur.com|utmcct=/|utmcmd=referral'}, META:{'DJANGO_SETTINGS_MODULE': 'myproject.settings', 'DOCUMENT_ROOT': '/home/olafurac/public_html/student', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=11989027.1202231950.5.2.utmccn=(referral)|utmcsr=alheimur.femheimur.com|utmcct=/|utmcmd=referral; __utma=11989027.929012120.1201548646.1203597362.1203726539.30', 'HTTP_HOST': 'student.femheimur.com', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3) Gecko/2008021416 Firefox/3.0b3', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'QUERY_STRING': '', 'REMOTE_ADDR': '130.208.188.58', 'REMOTE_PORT': '49206', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/cgi-bin/dj', 'SCRIPT_FILENAME': '/home/olafurac/public_html/student/cgi-bin/dj', 'SCRIPT_NAME': '/cgi-bin/dj', 'SERVER_ADDR': '74.220.202.17', 'SERVER_ADMIN': 'webmaster@student.femheimur.com', 'SERVER_NAME': 'student.femheimur.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at student.femheimur.com Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b27de878210>, 'wsgi.input': <open file '<stdin>', mode 'r' at 0x2b27de878120>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': True, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
41 resolver
42 <RegexURLResolver myproject.urls ^/>
43 response
44 None
45 self
46 <django.core.handlers.wsgi.WSGIHandler object at 0x2b27df26b3d0>
47 settings
48 <django.conf.LazySettings object at 0x2b27df89ecd0>
49 urlconf
50 'myproject.urls'
51 urlresolvers
52 <module 'django.core.urlresolvers' from '/home/olafurac/django/django/core/urlresolvers.pyc'>
53
54Environment: Request Method: GET Request URL: http://student.femheimur.comhttp://student.femheimur.com/ Django Version: 0.97-pre-SVN-7176 Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') Traceback: File "/home/olafurac/django/django/core/handlers/base.py" in get_response 73. callback, callback_args, callback_kwargs = resolver.resolve(request.path) Exception Type: TypeError at http://student.femheimur.com/ Exception Value: 'NoneType' object is not iterable
55
56Request information
57GET
58
59No GET data
60POST
61
62No POST data
63COOKIES
64Variable Value
65__utma
66'11989027.929012120.1201548646.1203597362.1203726539.30'
67__utmz
68'11989027.1202231950.5.2.utmccn=(referral)|utmcsr=alheimur.femheimur.com|utmcct=/|utmcmd=referral'
69META
70Variable Value
71DJANGO_SETTINGS_MODULE
72'myproject.settings'
73DOCUMENT_ROOT
74'/home/olafurac/public_html/student'
75GATEWAY_INTERFACE
76'CGI/1.1'
77HTTP_ACCEPT
78'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
79HTTP_ACCEPT_CHARSET
80'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
81HTTP_ACCEPT_ENCODING
82'gzip,deflate'
83HTTP_ACCEPT_LANGUAGE
84'en-us,en;q=0.5'
85HTTP_CONNECTION
86'keep-alive'
87HTTP_COOKIE
88'__utmz=11989027.1202231950.5.2.utmccn=(referral)|utmcsr=alheimur.femheimur.com|utmcct=/|utmcmd=referral; __utma=11989027.929012120.1201548646.1203597362.1203726539.30'
89HTTP_HOST
90'student.femheimur.com'
91HTTP_KEEP_ALIVE
92'300'
93HTTP_USER_AGENT
94'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3) Gecko/2008021416 Firefox/3.0b3'
95PATH
96'/usr/local/bin:/usr/bin:/bin'
97QUERY_STRING
98''
99REMOTE_ADDR
100'130.208.188.58'
101REMOTE_PORT
102'49206'
103REQUEST_METHOD
104'GET'
105REQUEST_URI
106'/cgi-bin/dj'
107SCRIPT_FILENAME
108'/home/olafurac/public_html/student/cgi-bin/dj'
109SCRIPT_NAME
110'/cgi-bin/dj'
111SERVER_ADDR
112'74.220.202.17'
113SERVER_ADMIN
114'webmaster@student.femheimur.com'
115SERVER_NAME
116'student.femheimur.com'
117SERVER_PORT
118'80'
119SERVER_PROTOCOL
120'HTTP/1.1'
121SERVER_SIGNATURE
122'<address>Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at student.femheimur.com Port 80</address>\n'
123SERVER_SOFTWARE
124'Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635'
125wsgi.errors
126<open file '<stderr>', mode 'w' at 0x2b27de878210>
127wsgi.input
128<open file '<stdin>', mode 'r' at 0x2b27de878120>
129wsgi.multiprocess
130True
131wsgi.multithread
132False
133wsgi.run_once
134True
135wsgi.url_scheme
136'http'
137wsgi.version
138(1, 0)
139Settings
140Using settings module myproject.settings
141Setting Value
142ABSOLUTE_URL_OVERRIDES
143{}
144ADMINS
145()
146ADMIN_FOR
147()
148ADMIN_MEDIA_PREFIX
149'/media/'
150ALLOWED_INCLUDE_ROOTS
151()
152APPEND_SLASH
153True
154AUTHENTICATION_BACKENDS
155('django.contrib.auth.backends.ModelBackend',)
156BANNED_IPS
157()
158CACHE_BACKEND
159'locmem://'
160CACHE_MIDDLEWARE_KEY_PREFIX
161''
162CACHE_MIDDLEWARE_SECONDS
163600
164COMMENTS_ALLOW_PROFANITIES
165False
166COMMENTS_BANNED_USERS_GROUP
167None
168COMMENTS_FIRST_FEW
1690
170COMMENTS_MODERATORS_GROUP
171None
172COMMENTS_SKETCHY_USERS_GROUP
173None
174DATABASE_ENGINE
175'mysql'
176DATABASE_HOST
177''
178DATABASE_NAME
179'olafurac_movable'
180DATABASE_OPTIONS
181{}
182DATABASE_PASSWORD
183'********************'
184DATABASE_PORT
185''
186DATABASE_USER
187'olafurac_movable'
188DATETIME_FORMAT
189'N j, Y, P'
190DATE_FORMAT
191'N j, Y'
192DEBUG
193True
194DEFAULT_CHARSET
195'utf-8'
196DEFAULT_CONTENT_TYPE
197'text/html'
198DEFAULT_FROM_EMAIL
199'webmaster@localhost'
200DEFAULT_INDEX_TABLESPACE
201''
202DEFAULT_TABLESPACE
203''
204DISALLOWED_USER_AGENTS
205()
206EMAIL_HOST
207'localhost'
208EMAIL_HOST_PASSWORD
209'********************'
210EMAIL_HOST_USER
211''
212EMAIL_PORT
21325
214EMAIL_SUBJECT_PREFIX
215'[Django] '
216EMAIL_USE_TLS
217False
218FILE_CHARSET
219'utf-8'
220FIXTURE_DIRS
221()
222IGNORABLE_404_ENDS
223('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
224IGNORABLE_404_STARTS
225('/cgi-bin/', '/_vti_bin', '/_vti_inf')
226INSTALLED_APPS
227['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites']
228INTERNAL_IPS
229()
230JING_PATH
231'/usr/bin/jing'
232LANGUAGES
233(('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'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('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'))
234LANGUAGES_BIDI
235('he', 'ar', 'fa')
236LANGUAGE_CODE
237'en-us'
238LOCALE_PATHS
239()
240LOGIN_REDIRECT_URL
241'/accounts/profile/'
242LOGIN_URL
243'/accounts/login/'
244LOGOUT_URL
245'/accounts/logout/'
246LOG_FILE
247'/home/olafurac/log.log'
248MANAGERS
249()
250MEDIA_ROOT
251''
252MEDIA_URL
253''
254MIDDLEWARE_CLASSES
255('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')
256MONTH_DAY_FORMAT
257'F j'
258PREPEND_WWW
259False
260PROFANITIES_LIST
261'********************'
262ROOT_URLCONF
263'myproject.urls'
264SECRET_KEY
265'********************'
266SEND_BROKEN_LINK_EMAILS
267False
268SERVER_EMAIL
269'root@localhost'
270SESSION_COOKIE_AGE
2711209600
272SESSION_COOKIE_DOMAIN
273None
274SESSION_COOKIE_NAME
275'sessionid'
276SESSION_COOKIE_PATH
277'/'
278SESSION_COOKIE_SECURE
279False
280SESSION_ENGINE
281'django.contrib.sessions.backends.db'
282SESSION_EXPIRE_AT_BROWSER_CLOSE
283False
284SESSION_FILE_PATH
285'/tmp/'
286SESSION_SAVE_EVERY_REQUEST
287False
288SETTINGS_MODULE
289'myproject.settings'
290SITE_ID
2911
292TEMPLATE_CONTEXT_PROCESSORS
293('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media')
294TEMPLATE_DEBUG
295True
296TEMPLATE_DIRS
297()
298TEMPLATE_LOADERS
299('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
300TEMPLATE_STRING_IF_INVALID
301''
302TEST_DATABASE_CHARSET
303None
304TEST_DATABASE_COLLATION
305None
306TEST_DATABASE_NAME
307None
308TEST_RUNNER
309'django.test.simple.run_tests'
310TIME_FORMAT
311'P'
312TIME_ZONE
313'America/Chicago'
314TRANSACTIONS_MANAGED
315False
316URL_VALIDATOR_USER_AGENT
317u'Django/0.97-pre-SVN-7176 (http://www.djangoproject.com)'
318USE_ETAGS
319False
320USE_I18N
321True
322YEAR_MONTH_FORMAT
323'F Y'
324
325You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
326
Back to Top