[Tutor] Determine Filetype

Kent Johnson kent37 at tds.net
Fri Sep 18 22:48:03 CEST 2009


On Fri, Sep 18, 2009 at 4:10 PM, admin at gg-lab.net <admin at gg-lab.net> wrote:

> Ok, so magic is not installed on GAE. I've then uploaded it and it
> loaded succesfully. New error:
>
> No module named _ctypes
>
> And, reading the full debug i got this:
>
> File "/base/python_dist/lib/python2.5/ctypes/__init__.py", line 10, in <module>
>    from _ctypes import Union, Structure, Array
>
> So, the __init__.py file of the GAE evinronment's ctypes library is
> broken, as it's importing from a package that doesn't exist. Right?

Probably ctypes is not supported in GAE, that would be a pretty big
security hole.

Kent


More information about the Tutor mailing list