I am using:
./pylons-0.9.5-py2.5.egg
./mako-0.1.7-py2.5.egg
./nose-0.9.3-py2.5.egg
./decorator-2.0.1-py2.5.egg
./simplejson-1.7.1-py2.5.egg
./formencode-0.7.1-py2.5.egg
./myghty-1.1-py2.5.egg
./pastescript-1.3.4-py2.5.egg
./pastedeploy-1.3-py2.5.egg
./paste-1.3-py2.5.egg
./webhelpers-0.3-py2.5.egg
./routes-1.7-py2.5.egg
./setuptools-0.6c6-py2.5.egg
./sqlalchemy-0.3.8-py2.5.egg
./mysql_python-1.2.2-py2.5-win32.egg
./beaker-0.7.4dev_r126-py2.5.egg
I am essentially doing something like this:
session["user"] = some_func(form_result['mail'], form_result["password"])
session.save()
def some_func():
if pass == md5:
info = { 'sdf': 'sdfsx' }
return info
raise some_exception
On 6/21/07, Ben Bangert <[EMAIL PROTECTED]> wrote:
> On Jun 20, 2007, at 7:15 AM, Anil wrote:
>
> > File 'C:\\Documents and
> > Settings\\anilj\\workspace\\Entic.net\\trunk\\Site\\entic\
> > \controllers\\access.py',
> > line 48 in check
> > session.save()
> > File 'c:\\python25\\lib\\site-packages\\beaker-0.7.4dev_r126-
> > py2.5.egg\\beaker\\session.py',
> > line 216 in save
> > self.load()
> > File 'c:\\python25\\lib\\site-packages\\beaker-0.7.4dev_r126-
> > py2.5.egg\\beaker\\session.py',
> > line 191 in load
> > self.debug("session loading keys")
> > File 'c:\\python25\\lib\\site-packages\\beaker-0.7.4dev_r126-
> > py2.5.egg\\beaker\\session.py',
> > line 265 in debug
> > self.log_file.write(message)
> > AttributeError: 'str' object has no attribute 'write'
> >
> > Is this a known bug?
>
> Nope, it's not a known bug. What version of Pylons are you using with
> it and what command caused this to occur?
>
> - Ben
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---