I've updated to the latest webpy and now i keep getting this error. <type 'exceptions.UnicodeDecodeError'> at / 'ascii' codec can't decode byte 0xa1 in position 0: ordinal not in range(128)
/usr/local/lib/python2.5/site-packages/web/session.py in _generate_session_id 108. def _generate_session_id(self): 109. """Generate a random id for session""" 110. 111. while True: 112. rand = os.urandom(16) 113. now = time.time() 114. secret_key = self._config.secret_key 115. session_id = sha1("%s%s%s%s" %(rand, now, web.ctx.ip, secret_key)) ... 116. session_id = session_id.hexdigest() 117. if session_id not in self.store: 118. break 119. return session_id 120. 121. def _cleanup(self): Local vars now 1224595077.914443 rand '\xa1\x9d\xbcr\xe2\xfe=sd\xd8g\xc7\xd1>\xb5,' secret_key 'fLjUfxqXtfNoIldA0A0J' self <Storage {'session_id': None}> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---