[web2py] Re: After update can't connect Oracle

2017-07-24 Thread Вячеслав Анатольевич
Hi, another error in oracle (can't create auth_ tables): not all arguments converted during string formatting File "D:\Web\server\web2py\gluon\packages\dal\pydal\adapters\oracle.py", line 70, in create_sequence_and_triggers 'MINVALUE -1;' % sequence_name) TypeError: not all arguments

[web2py] Re: grid for data entry

2017-07-24 Thread Nico de Groot
Looks like you specify the left relation also in the select clause. Debugging tip: you can use _select() to see the SQL generated by the DAL. To get answers in the forum, it helps if you convert your question to an minimal example using easy to grasp tablenames and relations. Nico de Groot --

[web2py] Re: grid for data entry

2017-07-24 Thread T.R.Rajkumar
Any ideas? -- 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 Google Groups "web2py-users" group

[web2py] Re: How to use HTML escapes in Field titles

2017-07-24 Thread Joe Barnhart
Ugh. Replace the word "title" with "label" everywhere. Global search and replace. -- 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 mes

[web2py] How to use HTML escapes in Field titles

2017-07-24 Thread Joe Barnhart
I have field titles which need to indicate "less than or equal" or "greater than" symbols. HTML provides such escapes with the character sequences ≤ and > respectively. But when I use these characters in the "title" of a Field, the displayed SQLFORM changes these back into "≤" for example ins

[web2py] Virtual field strange behaviour

2017-07-24 Thread Anthony
Please attach a minimal app that reproduces the behavior. -- 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 subscr

RE: [web2py] Re: Virtual field strange behaviour

2017-07-24 Thread ramstein74
But the select is on table log and not on table status. Also i have many rows in table status and the select on table log fires the virtual field on table status and creates only one row in log.Im confused by this Enviado a partir do meu smartphone Samsung Galaxy. Mensagem original --

[web2py] Re: Virtual field strange behaviour

2017-07-24 Thread Leonel Câmara
What do you mean? Your virtual field is inserting 'mmm' into the log table. When you call "select" the virtual field is called for each row by the default processor which creates the Rows object. You can see the default processing rows from the DB get here: https://github.com/web2py/pydal/blob

[web2py] Virtual field strange behaviour

2017-07-24 Thread António Ramos
i have 2 tables db.define_table('log', Field('msg',"text"), Field('created','datetime',default=datetime.datetime.utcnow())) db.define_table( "status", Field.Virtual('blabla', lambda row: db.log.insert(msg="mmm")), Format="%(title)s" ) if i go to admin and select "log" database, every time i pr

[web2py] Re: No puedo correr Web2Py en windows 10

2017-07-24 Thread Leonel Câmara
Web2py works fine in windows 10. Do you have an index function in default.py? -- 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 b

[web2py] No puedo correr Web2Py en windows 10

2017-07-24 Thread Mayra Lorena Altamirano Crespo
Hola Buen día! Por alguna razón no puedo correr el Web2py en mi maquina. Es Windows 10 x64. Me aparece el siguiente error: -- Resources: - http://web2py.co