[web2py] web2py broken

2018-08-09 Thread BlueShadow
Hi I got a pretty big problem. My web2py seems to be completly broken. even my last backup won't work. when I go to my site I get: Internal errorTicket issued: unknown and I can't access the appadmin. I tried to use the console to backup the database: python web2py.py -S appname -M web2py Web Fr

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
I just downloaded my entire app. (with FTP since I can't access the webinterface) Now when I try to run it locally on a web2py compiled server (newest one directly from the site). I get the following error: 127.0.0.1.2018-08-09.13-16-30.9c125719-b261-4285-8a88-3012470558cc file is encrypted o

[web2py] Re: Answer from server ajax()

2018-08-09 Thread Anthony
Controller: def VcodeToDbAndMail(): return 1 Javascript: let x = 0 function showCode(data) { x = parseInt(data); $('#code').css('visibility', 'visible'); } jQuery(function() { jQuery('#myform').submit(function(e) { e.preventDefault(); ajax('{{=URL("VcodeToDbAndMail")}}', ['ema

[web2py] Re: Answer from server ajax()

2018-08-09 Thread Константин Комков
Thank you, I thought that third parametr of ajax function might be only 'target' or ':eval'. четверг, 9 августа 2018 г., 17:27:21 UTC+3 пользователь Anthony написал: > > Controller: > > def VcodeToDbAndMail(): > return 1 > > Javascript: > > > let x = 0 > > function showCode(data) { > x = p

[web2py] Re: Two or more variables in function ajax()

2018-08-09 Thread Константин Комков
It was my mistake. When we using ajax we can see ticket press F12 -> network. среда, 1 августа 2018 г., 15:56:13 UTC+3 пользователь Константин Комков написал: > > 1. Can I send two or more variables in function ajax()? > > In the book I saw parameters of ajax function: > ajax(url, [name1, name2,

[web2py] Re: Answer from server ajax()

2018-08-09 Thread Anthony
On Thursday, August 9, 2018 at 10:46:03 AM UTC-4, Константин Комков wrote: > > Thank you, I thought that third parametr of ajax function might be only > 'target' or ':eval'. > I don't think it's documented in the book. There is also a fourth "options" argument, which is an object -- it's "done"

[web2py] virtual field not exportable to CSV

2018-08-09 Thread Vic Ding
I have one virtual field in SQLFORM.grid which works fine. However, when I want to export the grid to CSV, it complains '"po"."amount"' is it a bug or expected behaviour? Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (So

[web2py] Error in all functions that I use SQLFORM.grid

2018-08-09 Thread Morganti
Hi people, I have an application that is being used in production almost one year. Today I was making an update in local development environemnt and got the error below. I tried to use other functions where the SQLFORM.grid is used too and got the same error. Traceback (most recent call last)

[web2py] Re: Error in all functions that I use SQLFORM.grid

2018-08-09 Thread Anthony
Looks like a bug introduced in this commit , but I think fixed in this one . Can you try the latest release? Anthony On Thursda

[web2py] Why is scheduler creating so many files at /var/spool/postfix/maildrop?

2018-08-09 Thread Lisandro
I've found that my production server has a lot of files in /var/spool/postfix/maildrop. I don't use postfix at all, however that folder is full of files. All the files follow the same name format, like this: 2B8431690D, 5712AE68F, 73CF062660, 73C02183A9, 5706512838, 2B7E413705. The file conten

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
No one? Did I give insufficient information? I really need some help with this Problem thanks guys. On Thursday, August 9, 2018 at 1:27:42 PM UTC+2, BlueShadow wrote: > > > I just downloaded my entire app. (with FTP since I can't access the > webinterface) Now when I try to run it locally on a w