[web2py] Re: Please help met to see the mistake causing this Valueerror

2011-11-07 Thread Johann Spies
Apologies, the screenshot did not show up in the email. I have attached it here. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) <>

[web2py] Re: Please help met to see the mistake causing this Valueerror

2011-11-07 Thread Johann Spies
This also happens in the appadmin interface. A bug perhaps? I have updated my web2py version from the trunk this morning. Previously this worked without a problem. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

[web2py] Re: Please help met to see the mistake causing this Valueerror

2011-11-07 Thread Massimo Di Pierro
Can you post a minimalist model/controller to reproduce it? On Nov 7, 5:17 am, Johann Spies wrote: > ValueError: invalid literal for int() with base 10: 'abcd' > > From SQLForm.grid, when clicked on the ' View'  button I get the following > > When I click on the 'Edit'  button, I get a ticket: >

Re: [web2py] Re: Please help met to see the mistake causing this Valueerror

2011-11-07 Thread Johann Spies
Thanks for your attention Massimo. I found the cause of the problem: I used the suggest-widget with the doc_nr field and specified an id-field without specifying 'keyword' as in the documentation. This worked well in SQLFORM.factory but not in the model. db.akb_doccenter.doc_nr.widget = suggest_