Re: FormEncode 1.1 and AppEngine

Ian Bicking <[email protected]> Tue, 28 Oct 2008 10:40:13 -0500
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Walter Cruz wrote:
> FormEncode 1.1 won't work on appengine ;)
> 
>   File "/home/walter/devel/pylons/open_events_calendar/lib/python2.5/site-packages/FormEncode-1.1-py2.5.egg/formencode/api.py", line 48, in <module>
> 
>     localedir = get_localedir()):
>   File "/home/walter/devel/pylons/open_events_calendar/lib/python2.5/site-packages/FormEncode-1.1-py2.5.egg/formencode/api.py", line 35, in get_localedir
>     if os.access(locale_dir, os.R_OK | os.X_OK):
> 
> AttributeError: 'module' object has no attribute 'access'

Should be fixed in trunk (though I haven't specifically tested it). 
Also I opened a bug for appengine, as os.access has nothing to do with 
writing files and should be available: 
http://code.google.com/p/googleappengine/issues/detail?id=821

-- 
Ian Bicking : [email protected] : http://blog.ianbicking.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/