On Feb 9, 10:26 am, jmt <[email protected]> wrote:
> Does anyone know if the kid template module is a supported template
> engine on Google App Engine?
>
> I am very new to the kid module and just wanted to give it a shot as a
> Google App Engine project and I receive the following when running my
> sample code thru dev_appserver.py :
>
> 63 class KidFile(object):
>    64     magic = imp.get_magic()
>    65
>    66     def __init__(self, kid_file, force=False,
> magic undefined, global imp = None, imp.get_magic undefined
>
> <type 'exceptions.AttributeError'>: 'module' object has no attribute
> 'get_magic'
>
> I basically get this during the kid module import.
>
> Sorry if this has already been covered, in general I am new to GAE as
> well.

The error is coming from the sandbox blocking the imp module and thus
the get_magic function from that module. This has been fixed in v1.1.9
of the SDK. But if Kid compiles down to Python bytecode it probably
won't work as the sandbox blocks bytecode usage.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to