[web2py] Re: Problem with starting project

2018-11-12 Thread Константин Комков
Server is working on windows (IIS), database - Firebird 2.5. On my computer operation system is windows7. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Re: What are you use with web2py.

2018-11-12 Thread pbreit
The fabfile should work. Do you know what the issue is? I did not see anything here or github about a problem. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)

[web2py] Re: Stuck in the queue (scheduler)

2018-11-12 Thread Dave S
On Monday, November 12, 2018 at 1:09:22 PM UTC-8, Dave S wrote: > > > > On Friday, November 9, 2018 at 5:51:48 PM UTC-8, Dave S wrote: >> >> I'm trying to add a second scheduler item of work. At the moment, I seem >> to get the scheduler to run the new function some of the time, and to be >> s

[web2py] Re: Problem with starting project

2018-11-12 Thread Dave S
On Monday, November 12, 2018 at 11:40:33 AM UTC-8, Константин Комков wrote: > > Today I tryed to install fdb driver, but it didn't solved problem. Maybe I > need to put something in folder modules? > Just to keep the i's dotted and the t's crossed, I'll ask if you're using the Firebird databa

[web2py] Re: Stuck in the queue (scheduler)

2018-11-12 Thread Dave S
On Friday, November 9, 2018 at 5:51:48 PM UTC-8, Dave S wrote: > > I'm trying to add a second scheduler item of work. At the moment, I seem > to get the scheduler to run the new function some of the time, and to be > stuck in the cue other times. > > Here are some entries that are stuck: > 591

[web2py] Re: Problem with starting project

2018-11-12 Thread Константин Комков
Today I tryed to install fdb driver, but it didn't solved problem. Maybe I need to put something in folder modules? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Is

[web2py] Re: Summing up values in a dabase table with compute r: r[' ']

2018-11-12 Thread mostwanted
Thanks Stifan On Monday, November 12, 2018 at 9:29:50 PM UTC+2, 黄祥 wrote: > > perhaps you can learn from web2py appliance: pos > if i'm not wrong the code to calculate for sum is on the controller side > > ref: > https://github.com/mdipierro/web2py-appliances/ > > best regards, > stifan > -- Re

[web2py] '<'

2018-11-12 Thread mostwanted
I'm pulling my hairs out over this error, it occurred from no where & I cant make sense of it because i had not made any updates to my code & got this error Here is the traceback if anyone can figure something out please help me, thank you in advance. Ticket ID 127.0.0.1.2018-11-12.20-51-42.

[web2py] Re: Summing up values in a dabase table with compute r: r[' ']

2018-11-12 Thread 黄祥
perhaps you can learn from web2py appliance: pos if i'm not wrong the code to calculate for sum is on the controller side ref: https://github.com/mdipierro/web2py-appliances/ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web

[web2py] Re: Summing up values in a dabase table with compute r: r[' ']

2018-11-12 Thread mostwanted
I wanted to create an Invoice for clients orders, i wanted to be able to do all the calculations of the costs of their services as I enter values into the database. But I kinda found a way around this coz it was giving me a headache, so i decided to calculate the total in the controller like i d

[web2py] Re: Column order in SQLFORM

2018-11-12 Thread Anthony
On Monday, November 12, 2018 at 3:26:11 AM UTC-5, Yann Dulondel wrote: > > Hi Anthony, > Thank for the answer. > For the order of column think I was not clear(sorry not English). > If you look at the print screen before I clicked the column header the > bulk column was the 4th after the position

[web2py] Re: How to work with files in multipart/form-data?

2018-11-12 Thread Val K
Try in ajax data: {data: JSON.stringify(...)} -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the

[web2py] Re: Summing up values in a dabase table with compute r: r[' ']

2018-11-12 Thread Leonel Câmara
You can either use after_insert to put the value in the Total of all rows or you can use a Virtual field or Method. May I ask what you're trying to do? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.googl

[web2py] Re: MongoDB

2018-11-12 Thread Leonel Câmara
Don't use cache and cacheable in your selects. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the

[web2py] Re: How to work with files in multipart/form-data?

2018-11-12 Thread Константин Комков
Hello, help me please. I don't know what I need to do on server in controller def loadDocs(): documents = request.vars.data for i in documents: stream = open(i.file, 'rb') db_app.doc_images.insert(person='{0} {1} {2}'.format(session.abit_f,session.abit_i,session.abit_o),fi

[web2py] Re: Column order in SQLFORM

2018-11-12 Thread Yann Dulondel
Hi Anthony, Thank for the answer. For the order of column think I was not clear(sorry not English). If you look at the print screen before I clicked the column header the bulk column was the 4th after the position is 5fth. Concerning the column display, for table type_bulkhead I put format='%(nam