[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". >> Mayby i'm wrong, because i'm new in web2py, but

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

2016-05-10 Thread Dave S
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". > Mayby i'm wrong, because i'm new in web2py, but that works for my app. > I think that's not define in database way (like CREATE

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

2016-05-10 Thread Adam Drzewiecki
Hi Gavin, Yes, you need to define tables again, but only in your "homemade task queues". In db.py you define tables only once. In your external app you have to define every time you use it. Mayby i'm wrong, because i'm new in web2py, but that works for my app. I think that's not define in

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

2016-05-10 Thread Gavin Kenny
Hi Adam, I am suprised you need to define the tables again. I would expect you would open access to the database via a call to the DAL and then use an insert command to add more information, or is that what you meant? regards Gavin On Tuesday, 10 May 2016 09:54:53 UTC+1, Adam Drzewiecki

[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