设为首页  加入收藏   |  首页  动画  儿童  育儿  教学  手机/平板  
bicabletramway 
双线索道
 今日热词:issue - 问题conduct - 行为requests - 要求Israel - 以色列successful - 成功tough - 强硬morning - 上午picture - 图片ratio -
单词搜索:
背单词 bicabletramway
单词认知/跟读练习/词义回想/单词回想/字母填空/听写练习/选择练习/默写练习/单词测试(初中高)
单词 bicabletramway 网络释义

单词解释
单词 bicabletramway 其它例句
/home/beeblio/envs/product/lib/python2.6/site-packages/django/core/handlers/base.py in get_response # Apply view middleware for middleware_method in self._view_middleware: response = middleware_method(request, callback, callback_args, callback_kwargs) if response: return response try: response = callback(request, *callback_args, **callback_kwargs) ... except Exception, e: # If the view raised an exception, run it through exception # middleware, and if the exception middleware returns a # response, use that. Otherwise, reraise the exception. for middleware_method in self._exception_middleware: response = middleware_method(request, e)
▶ Local vars
VariableValuecallback
<function get_vocabulary at 0x3eddf50>
callback_args
()
callback_kwargs
{'word': u'bicabletramway'}
e
AttributeError("'NoneType' object has no attribute 'examples'",)
exceptions
<module 'django.core.exceptions' from '/home/beeblio/envs/product/lib/python2.6/site-packages/django/core/exceptions.pyc'>
middleware_method
<bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x2e27b10>>
receivers
[(<function _rollback_on_exception at 0x2e847d0>, None)]
request
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '','CONTENT_TYPE': '','CSRF_COOKIE': '50fa226b4d571055be2605fc92fba3fe','DOCUMENT_ROOT': '/home/beeblio/www/17bdc.com/public','HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*','HTTP_HOST': 'www.shanbay.com:80','HTTP_REFERER': 'http://www.17bdc.com/vocabulary/bicabletramway/','HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)','PATH_INFO': u'/vocabulary/bicabletramway/','QUERY_STRING': '','REMOTE_ADDR': '113.31.18.42','REMOTE_PORT': '18413','REQUEST_METHOD': 'GET','REQUEST_URI': '/vocabulary/bicabletramway/','SCRIPT_NAME': u'','SERVER_NAME': 'shanbay.com','SERVER_PORT': '80','SERVER_PROTOCOL': 'HTTP/1.0','uwsgi.core': 4,'uwsgi.version': '0.9.7.2','wsgi.errors': <open file 'wsgi_input', mode 'w' at 0x402ba50>,'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,'wsgi.input': <open file 'wsgi_input', mode 'r' at 0x588a300>,'wsgi.multiprocess': False,'wsgi.multithread': True,'wsgi.run_once': False,'wsgi.url_scheme': 'http','wsgi.version': (1, 0)}>
resolver
<RegexURLResolver urls (None:None) ^/>
response
None
self
<django_wsgi.ForcePostHandler object at 0x2d74210>
settings
<django.conf.LazySettings object at 0x277f4d0>
urlconf
'urls'
urlresolvers
<module 'django.core.urlresolvers' from '/home/beeblio/envs/product/lib/python2.6/site-packages/django/core/urlresolvers.pyc'>
/home/beeblio/envs/product/src/bdc/main/views.py in get_vocabulary return HttpResponse(json.dumps(1), mimetype='application/javascript') def get_vocabulary(request, word): user = request.user voc = dbc.get_voc_by_content(Vocabulary, word) examples=[] for example in voc.examples: ... examples.append((example.id,example.likes)); logger.debug("vocabulary examples list:%s"%examples) return render(TMPL_VOC, {'voc':voc,'user':user})def get_learning_exnt(request, learning_id): user = request.user
▶ Local vars
VariableValueexamples
[]
request
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '','CONTENT_TYPE': '','CSRF_COOKIE': '50fa226b4d571055be2605fc92fba3fe','DOCUMENT_ROOT': '/home/beeblio/www/17bdc.com/public','HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*','HTTP_HOST': 'www.shanbay.com:80','HTTP_REFERER': 'http://www.17bdc.com/vocabulary/bicabletramway/','HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)','PATH_INFO': u'/vocabulary/bicabletramway/','QUERY_STRING': '','REMOTE_ADDR': '113.31.18.42','REMOTE_PORT': '18413','REQUEST_METHOD': 'GET','REQUEST_URI': '/vocabulary/bicabletramway/','SCRIPT_NAME': u'','SERVER_NAME': 'shanbay.com','SERVER_PORT': '80','SERVER_PROTOCOL': 'HTTP/1.0','uwsgi.core': 4,'uwsgi.version': '0.9.7.2','wsgi.errors': <open file 'wsgi_input', mode 'w' at 0x402ba50>,'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,'wsgi.input': <open file 'wsgi_input', mode 'r' at 0x588a300>,'wsgi.multiprocess': False,'wsgi.multithread': True,'wsgi.run_once': False,'wsgi.url_scheme': 'http','wsgi.version': (1, 0)}>
user
<django.contrib.auth.models.AnonymousUser object at 0x7f8f5083e690>
voc
None
word
u'bicabletramway'
Environment:Request Method: GET
Request URL: http://www.shanbay.com:80/vocabulary/bicabletramway/
Django Version: 1.2.3
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','django.contrib.admin','bdc','together','archive','registration','tagging','stats','forum','avatar','compress','messages','djcelery','coins','pay','cram','renren','referral','ssi','piston']
Installed Middleware:
('django.middleware.common.CommonMiddleware','django.contrib.sessions.middleware.SessionMiddleware','django.contrib.auth.middleware.AuthenticationMiddleware','django.middleware.doc.XViewMiddleware','django.middleware.csrf.CsrfViewMiddleware','bdc.middleware.CookieMiddleware','pyxn.djangoxn.XiaoneiMiddleware','staticgenerator.middleware.StaticGeneratorMiddleware','ssi.middleware.NginxSSIMiddleware')Traceback:
File "/home/beeblio/envs/product/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response100. response = callback(request, *callback_args, **callback_kwargs)
File "/home/beeblio/envs/product/src/bdc/main/views.py" in get_vocabulary261. for example in voc.examples:Exception Type: AttributeError at /vocabulary/bicabletramway/
Exception Value: 'NoneType' object has no attribute 'examples'
 
 
在线背单词
小学数学
电子课本
在线识字