Hello,

I post this issue on an other thread on the launch of 1.99.5 about that.

If I just move my app from 1.99.4 to 1.99.5+ it does works when user try to 
logon, the login page show up but login process failed. I have no clue what 
for... Here traceback :

127.0.0.1.2012-03-07.10-02-42.5cfe96a6-fa8a-419b-83e0-0b439d6dac2e
<type 'exceptions.KeyError'> 'db'VERSIONweb2py™(1, 99, 7, 
datetime.datetime(2012, 3, 4, 22, 12, 8), 'stable')PythonPython 2.6.5: 
/usr/bin/pythonTRACEBACK

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.

Traceback (most recent call last):
  File "/home/web2py/gluon/restricted.py", line 205, in restricted
    exec ccode in environment
  File "/home/web2py/applications/sgddms/controllers/default.py", line 423, in 
<module>
  File "/home/web2py/gluon/globals.py", line 173, in <lambda>
    self._caller = lambda f: f()
  File "/home/web2py/applications/sgddms/controllers/default.py", line 213, in 
user
    return dict(form=auth())
  File "/home/web2py/gluon/tools.py", line 1161, in __call__
    return getattr(self,args[0])()
  File "/home/web2py/gluon/tools.py", line 1817, in login
    self.update_groups()
  File "/home/web2py/gluon/tools.py", line 2506, in update_groups
    == self.user.id).select()
  File "/home/web2py/gluon/dal.py", line 7578, in select
    return adapter.select(self.query,fields,attributes)
  File "/home/web2py/gluon/dal.py", line 1320, in select
    return self.parse(rows,fields,self._colnames)
  File "/home/web2py/gluon/dal.py", line 1617, in parse
    self.parse_value(value,field.type,blob_decode)
  File "/home/web2py/gluon/dal.py", line 1496, in parse_value
    return self.parsemap[key](value,field_type)
KeyError: 'db'


   - Function argument list
   
   (self=<gluon.dal.PostgreSQLAdapter object>, value=1, 
   field_type='db.auth_user', blob_decode=True)
   Code listing
   
   1491.
   1492.
   1493.
   1494.
   1495.
   1496.
   
   1497.
   1498.
   1499.
   1500.
   
               return value
           elif field_type == 'blob' and not blob_decode:
               return value
           else:
               key = regex_type.match(field_type).group(0)
               return self.parsemap[key](value,field_type)
   
   
       def parse_reference(self, value, field_type):
           referee = field_type[10:].strip()
           if not '.' in referee:
   
   Variablesfield_type'db.auth_user'self<gluon.dal.PostgreSQLAdapter object>
   self.parsemap{'blob': <bound method PostgreSQLAdapter.parse_blob of 
   <gluon.dal.PostgreSQLAdapter object>>, 'boolean': <bound method 
   PostgreSQLAdapter.parse_boolean of <gluon.dal.PostgreSQLAdapter object>>, 
   'date': <bound method PostgreSQLAdapter.parse_date of 
   <gluon.dal.PostgreSQLAdapter object>>, 'datetime': <bound method 
   PostgreSQLAdapter.parse_datetime of <gluon.dal.PostgreSQLAdapter object>>, 
   'decimal': <bound method PostgreSQLAdapter.parse_decimal of 
   <gluon.dal.PostgreSQLAdapter object>>, 'double': <bound method 
   PostgreSQLAdapter.parse_double of <gluon.dal.PostgreSQLAdapter object>>, 
   'id': <bound method PostgreSQLAdapter.parse_id of 
   <gluon.dal.PostgreSQLAdapter object>>, 'integer': <bound method 
   PostgreSQLAdapter.parse_integer of <gluon.dal.PostgreSQLAdapter object>>, 
   'list:integer': <bound method PostgreSQLAdapter.parse_list_integers of 
   <gluon.dal.PostgreSQLAdapter object>>, 'list:reference': <bound method 
   PostgreSQLAdapter.parse_list_references of <gluon.dal.PostgreSQLAdapter 
   object>>, ...}key'db'value1
   


Thanks to point me out where is it coming from...

Richard

Reply via email to