Yes. There was a bug in GAE with blobs. Not sure why it showed up only
now. Fixed in trunk!

On Nov 11, 7:18 am, Aspersieman <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> I have an application that seems to have stopped working on GAE after my
> most recent svn update. It runs fine on the normal web2py (cherrypy)
> webserver and used to run fine on GAE - but when I run it on GAE using the
> dev_appserver I get the following error:
>
> ===================ERROR OUTPUT=========================================
> f:\Projects>dev_appserver --port=8081 pleph
> INFO     2008-11-11 12:19:43,654 appcfg.py] Server: appengine.google.com
> INFO     2008-11-11 12:19:43,671 appcfg.py] Checking for updates to the
> SDK.
> WARNING  2008-11-11 12:19:44,874 dev_appserver.py] Could not initialize
> images A
> PI; you are likely missing the Python "PIL" module. ImportError: No module
> named
>   PIL
> INFO     2008-11-11 12:19:44,890 dev_appserver_main.py] Running
> application plep
> h on port 8081:http://localhost:8081
> WARNING  2008-11-11 12:19:52,374 portalocker.py] no file locking
> WARNING  2008-11-11 12:19:56,733 sql.py] no sqlite3 or dbapi2 driver
> WARNING  2008-11-11 12:19:56,953 sql.py] no informixdb driver
> WARNING  2008-11-11 12:19:57,453 cache.py] unable to import dbhash
> WARNING  2008-11-11 12:19:58,124 compileapp.py] unable to import py_compile
> WARNING  2008-11-11 12:19:59,233 main.py] unable to import wsgiserver
> WARNING  2008-11-11 12:20:03,969 cache.py] no cache.disk
> ERROR    2008-11-11 12:20:04,655 main.py] Traceback (most recent call
> last):
>    File "f:\Projects\pleph\gluon\main.py", line 220, in wsgibase
>      session._try_store_in_db(request,response)
>    File "f:\Projects\pleph\gluon\globals.py", line 194, in _try_store_in_db
>      record_id=table.insert(**dd)
>    File "f:\Projects\pleph\gluon\contrib\gql.py", line 188, in insert
>      tmp=self._tableobj(**fields)
>    File "C:\Program
> Files\Google\google_appengine\google\appengine\ext\db\__init_
> _.py", line 555, in __init__
>      prop.__set__(self, value)
>    File "C:\Program
> Files\Google\google_appengine\google\appengine\ext\db\__init_
> _.py", line 372, in __set__
>      value = self.validate(value)
>    File "C:\Program
> Files\Google\google_appengine\google\appengine\ext\db\__init_
> _.py", line 1757, in validate
>      'to a Blob instance (%s)' % (self.name, err))
> BadValueError: Property session_data must be convertible to a Blob
> instance (Blo
> b() argument should be str instance, not unicode)
>
> INFO     2008-11-11 12:20:04,719 dev_appserver.py] "GET / HTTP/1.1" 200 -
> INFO     2008-11-11 12:20:04,780 dev_appserver_index.py] Updating
> f:\Projects\pl
> eph\index.yaml
> INFO     2008-11-11 12:20:05,046 dev_appserver.py] "GET /favicon.ico
> HTTP/1.1" 4
> 00 -
> ===================ERROR OUTPUT=========================================
>
> Anyone have any ideas on how I could fix this.
>
> Thanks
>
> Nicol
> --
> Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to