Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6325243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:51:36+00:00 2026-05-24T16:51:36+00:00

I modified my Google App Engine app to work with Mako. To do this,

  • 0

I modified my Google App Engine app to work with Mako. To do this, I followed this answer including the comments:

Mako templates with Google App Engine

However, once you get to loading templates from files, you run into a big problem. By default, Mako’s Template from mako/template.py wants to create a temporary file to store your compiled template. As far as I can tell, GAE doesn’t allow you to create a temp file though. Has anyone run into this and figured out a work-around?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:51:37+00:00Added an answer on May 24, 2026 at 4:51 pm

    The awesome team that wrote the aha framework actually figured this out. The mako_patch function here makes Mako store temporary files in memcache instead of on the filesystem: http://code.google.com/p/aha-gae/source/browse/aha/controller/makocontroller.py

    EDIT: as @Nick Johnson points out, storing this in local memory would make just as much sense and not incur the cost of memcache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a modified version on juno ( http://github.com/breily/juno/ ) in Google App Engine.
I have modified the guestbook example shipped with google app engine (java) to include
I'm trying to enable multi-word search with google app engine. However there appears an
I am somewhat new to the google app engine models system(and all database models
I store user-uploaded images in the Google App Engine datastore as db.Blob , as
I'm fairly new to Google App Engine and Python, but I did just release
I am trying to upload a moderetly sized csv file to google app engine
I have modified my PHP web app to add events to a Google Calendar.
I'm building an application using Google App Engine. The application consists of several servlets,
Situation: running a Google App Engine site with my static content's default_expiration set to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.