[web2py] Re: search_widget error: 'str' object has no attribute 'get'

2016-05-18 Thread Adam Drzewiecki
Thanks Anthony for your reply. Greetings Adam W dniu środa, 18 maja 2016 14:15:00 UTC+2 użytkownik Anthony napisał: > > On Wednesday, May 18, 2016 at 6:22:50 AM UTC-4, Adam Drzewiecki wrote: >> >> Hi everybody, >> >> I have some problem with my search_wid

[web2py] Re: search_widget error: 'str' object has no attribute 'get'

2016-05-18 Thread Adam Drzewiecki
I think, that this line makes troubles: File "C:\prg\src\tools\vmman\gluon\sqlhtml.py", line 1889, in search_menu W dniu środa, 18 maja 2016 13:37:09 UTC+2 użytkownik villas napisał: > > I wonder whether this is causing the problem: > > sqyhtml.py line 2513 > form = search_widget

[web2py] search_widget error: 'str' object has no attribute 'get'

2016-05-18 Thread Adam Drzewiecki
Hi everybody, I have some problem with my search_widget. I would like to create search_widget with less fields, but i get error: 'str' object has no attribute 'get' My code: search_options = {'string': ['=', '!=', '<', '>', '<=', '>=', 'starts with', 'contains', 'in', 'not in']} fields =

[web2py] Re: Filling web2py database from an external listening process using DAL

2016-05-10 Thread Adam Drzewiecki
W dniu wtorek, 10 maja 2016 20:18:09 UTC+2 użytkownik Dave S napisał: > > On Tuesday, May 10, 2016 at 9:39:38 AM UTC-7, Adam Drzewiecki wrote: >> >> Hi Gavin, >> >> Yes, you need to define tables again, but only in your "homemade task >> queues".

[web2py] Re: Filling web2py database from an external listening process using DAL

2016-05-10 Thread Adam Drzewiecki
what you meant? > > regards > > Gavin > > On Tuesday, 10 May 2016 09:54:53 UTC+1, Adam Drzewiecki wrote: >> >> Hi. >> >> I'm writing a similar application - i'm logging clients events in >> database. >> I used homemade task queues to run listener. I

[web2py] Re: Filling web2py database from an external listening process using DAL

2016-05-10 Thread Adam Drzewiecki
Hi. I'm writing a similar application - i'm logging clients events in database. I used homemade task queues to run listener. I start whole project with bat: start C:\Python27\python.exe web2py.py -S Test -M -R applications/Test/ private/s.py start C:\Python27\python.exe web2py.py Point of using

[web2py] Sort and select problem with LOAD SQLFORM.grid

2016-05-08 Thread Adam Drzewiecki
Hello. I've got a problem with grid component. I added grid to view with LOAD function because i need to refresh data continuously: {{extend 'layout.html'}} {{=LOAD('default', 'grid.load', ajax=True, times="infinity", timeout=1 )}} and my controler looks like below: def grid(): links

[web2py] Keep sort and select after LOAD SQLFORM.grid

2016-05-08 Thread Adam Drzewiecki
Hello. I have problem and i cannot solve it. I'm trying to write app which display data from database and automatically refresh itself. I used SQLFORM.grid because i need also select and sort functionality. In view i used LOAD function with timeout to refresh component. My problem is that when