Aha! I found the problem. My actual user table has an additional field
in it that was missing in my view. When I add the field to the view,
it all works fine, now. I think it's odd (perhaps a benign bug) that I
don't get a ticket, which made my bug harder to discover. I had
already pared down the table a couple of times, but in each case, I
hadn't eliminated the field that was missing from the view. So sorry
it took you're time to find this one, Massimo.

HOWEVER, now I'm running into another problem. My user field has an
image that the user can upload as their avatar. (I can almost not use
that word any more as James Cameron sooooooo owns it -- I saw the
flick in 3D the other day and was deeply impressed (first movie I've
seen in the theaters in years -- amazing what you can (and can't) do
with ~$1Billion)). Anyway, back to reality, when I upload a gif, I get
the following ticket:

Traceback (most recent call last):
  File "C:\web2py\gluon\main.py", line 485, in wsgibase
    session._try_store_on_disk(request, response)
  File "C:\web2py\gluon\globals.py", line 369, in _try_store_on_disk
    cPickle.dump(dict(self), response.session_file)
TypeError: expected string or Unicode object, NoneType found

The gif actually does get uploaded to the proper folder on the server
and it does register in the db, so next time I go to profile, I see
the gif. If I tell profile to delete the gif, it gets deleted. But if
I try to upload, then I run into that same ticket. Massimo, any
thoughts?

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to