推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
fucker
V2EX  ›  Python

快点修复模板吧

  •  
  •   fucker · Jul 27, 2013 · 4291 views
    This topic created in 4812 days ago, the information mentioned may be changed or developed.
    http://www.v2ex.com/place/1.1.1.1

    -----------------------------------------------------

    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1042, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1809, in wrapper
    return method(self, *args, **kwargs)
    File "/www/v2ex/galaxy/handlers/web/place.py", line 38, in get
    self.finalize('place/denied.html')
    File "/www/v2ex/galaxy/handlers/web/__init__.py", line 49, in finalize
    template = self.env.get_template(t)
    File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 719, in get_template
    return self._load_template(name, self.make_globals(globals))
    File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 693, in _load_template
    template = self.loader.load(self, name, globals)
    File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 115, in load
    source, filename, uptodate = self.get_source(environment, name)
    File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 227, in get_source
    raise TemplateNotFound(template)
    TemplateNotFound: desktop/place/denied.html

    @Livid
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3188 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 00:35 · PVG 08:35 · LAX 17:35 · JFK 20:35
    ♥ Do have faith in what you're doing.