Massimo

Just did a fresh - hg clone https://code.google.com/p/web2py

...added my app to that installation

and am seeing the same traceback I was getting yesterday.

Traceback(most recent call last):
  File"C:\Deleteme\web2py\gluon\restricted.py",line204,inrestricted
    execccodeinenvironment
  File"C:/Deleteme/web2py/applications/infocenter/controllers/administration.py"  
<http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/administration.py>,line1816,in<module>
  File"C:\Deleteme\web2py\gluon\globals.py",line172,in<lambda>
    self._caller=lambdaf:f()
  File"C:\Deleteme\web2py\gluon\tools.py",line2530,inf
    returnaction(*a, **b)
  File"C:/Deleteme/web2py/applications/infocenter/controllers/administration.py"  
<http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/administration.py>,line457,inassetTypes
    paginate=15,maxtextlength=45)
  File"C:\Deleteme\web2py\gluon\sqlhtml.py",line1967,insmartgrid
    user_signature=user_signature,**kwargs)
  File"C:\Deleteme\web2py\gluon\sqlhtml.py",line1815,ingrid
    iflink(row):
  File"C:\Deleteme\web2py\gluon\sqlhtml.py",line1964,in<lambda>
    args=request.args[:nargs]+[args0,row.id])))
  File"C:\Deleteme\web2py\gluon\dal.py",line4996,in__getattr__
    return self[key]
  File"C:\Deleteme\web2py\gluon\dal.py",line4987,in__getitem__
    returndict.__getitem__(self,key)
KeyError:'id'


    -Jim

On 1/20/2012 12:19 PM, Massimo Di Pierro wrote:
can you check if trunk fixed it?

On Jan 19, 10:45 am, Jim Steil<j...@qlf.com>  wrote:
Hi

Just updated to the latest trunk this morning and now my smartgrids
aren't working where the table being used has links.

Here is what I'm getting:

Traceback(most recent call last):
    File"C:\dev\web2py\gluon\restricted.py",line204,inrestricted
      execccodeinenvironment
    
File"C:/dev/web2py/applications/infocenter/controllers/administration.py"<http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/admin...>,line1816,in<module>
    File"C:\dev\web2py\gluon\globals.py",line172,in<lambda>
      self._caller=lambdaf:f()
    File"C:\dev\web2py\gluon\tools.py",line2530,inf
      returnaction(*a, **b)
    
File"C:/dev/web2py/applications/infocenter/controllers/administration.py"<http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/admin...>,line457,inassetTypes
      paginate=15,maxtextlength=45)
    File"C:\dev\web2py\gluon\sqlhtml.py",line1971,insmartgrid
      user_signature=user_signature,**kwargs)
    File"C:\dev\web2py\gluon\sqlhtml.py",line1819,ingrid
      iflink(row):
    File"C:\dev\web2py\gluon\sqlhtml.py",line1968,in<lambda>
      args=request.args[:nargs]+[args0,row.id])))
    File"C:\dev\web2py\gluon\dal.py",line4996,in__getattr__
      return self[key]
    File"C:\dev\web2py\gluon\dal.py",line4987,in__getitem__
      returndict.__getitem__(self,key)
KeyError:'id'

If the table doesn't have any fields referencing other tables, then it
works fine.

Is it just me?

      -Jim

Reply via email to