[web2py] gmail smtp and password retrieval

2022-08-17 Thread lucas
hey one and all, on May 5th, 2022, gmail imposed the 2 step verification on its smtp service. how do we configure web2py to still use our gmail accounts to send smtp for password retrieval. thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
akwlqljrsdeyj16' tls= true ssl= true where i changed the login string so i didn't give away my security. so what do you think? lucas On Wednesday, August 17, 2022 at 11:34:58 AM UTC-4 Clemens wrote: > Generate an app password, as follows: > https://support.google.com/ma

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
oh, so the latter is still not sending the Lost Password. On Wednesday, August 17, 2022 at 11:54:38 AM UTC-4 lucas wrote: > ok, i turned on 2-step verification, generated 1 password for "App > passwords" that gave me a 16 character string which i copied into the > pass

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
ps! > > Clemens > > On Wednesday, August 17, 2022 at 5:57:56 PM UTC+2 lucas wrote: > >> oh, so the latter is still not sending the Lost Password. >> >> On Wednesday, August 17, 2022 at 11:54:38 AM UTC-4 lucas wrote: >> >>> ok, i turned on 2-step verific

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
August 17, 2022 at 6:12:50 PM UTC+2 lucas wrote: > >> nope, that didn't work either. uhm. >> >> On Wednesday, August 17, 2022 at 12:08:12 PM UTC-4 Clemens wrote: >> >>> Hmm, should work, since it's the right port for ssl. Maybe setting tls >

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
i'm wondering. do i have to retrieve or generate the 16 digit password from the app itself. cuz i don't know how to do that since it is purely a linux console only interface. On Wednesday, August 17, 2022 at 12:18:16 PM UTC-4 lucas wrote: > nope, and i regenerated a new passwo

[web2py] pbkdf2(1000,20,sha512)$etc... in v2.22.5

2022-08-17 Thread lucas
hello one and all, in linux/bash script code, not web2py interface, how do i take a regular string and convert it into the password that is stored in the password in the auth_user table under web2py version 2.22.5? thank you in advance, lucas -- Resources: - http://web2py.com - http

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
i am using web2py 2.22.5 using the wsgihandler.py handler and nginx under centos 8 stream all current and updated and rebooted. i don't understand all of the stuff from massimo On Wednesday, August 17, 2022 at 8:54:22 PM UTC-4 lucas wrote: > i'm wondering. do i have to retriev

[web2py] Re: pbkdf2(1000,20,sha512)$etc... in v2.22.5

2022-08-18 Thread lucas
On Wednesday, August 17, 2022 at 9:01:32 PM UTC-5 lucas wrote: > >> hello one and all, >> in linux/bash script code, not web2py interface, how do i take a regular >> string and convert it into the password that is stored in the password in >> the auth_user table

Re: [web2py] Re: pbkdf2(1000,20,sha512)$etc... in v2.22.5

2022-08-18 Thread lucas
ok, that sets up the web2py environment. i'm asking how to reproduce or generate the hashed key from regular text within a separate shell script. lucas On Thursday, August 18, 2022 at 8:53:38 AM UTC-4 Jim S wrote: > It should be the same as auth.settings.hmac_key, probably set

Re: [web2py] Re: pbkdf2(1000,20,sha512)$etc... in v2.22.5

2022-08-19 Thread lucas
cript code, not web2py interface [or application], how do i take a regular string and convert it into the password that is stored in the password in the auth_user table under web2py version 2.22.5?" lucas On Thursday, August 18, 2022 at 4:51:41 PM UTC-4 Jim S wrote: > I must be misun

[web2py] DAL join field access

2022-09-10 Thread lucas
field values by like db.table1.id or db.table2.last_name? is there a way to collapse the fields so that we can just use id or last_name, especially when we're certain that the fields are unique when we collapse when we specify the fields under the select? thank you in advance, lucas -- Reso

Re: [web2py] DAL join field access

2022-09-10 Thread lucas
yes, that worked perfectly. thank you massimiliano. lucas On Saturday, September 10, 2022 at 12:43:30 PM UTC-4 Massimiliano wrote: > Hi, > > I'm not sure to have understand correctly your question, but maybe you > need to use aliases: > > fields = [ > d

[web2py] how to point web2py to python3.9 not python3.8?

2022-11-29 Thread lucas
, lucas -- 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"

[web2py] Re: how to point web2py to python3.9 not python3.8?

2022-11-30 Thread lucas
ror trace files. On Tuesday, November 29, 2022 at 10:58:57 PM UTC-5 lucas wrote: > hello one and all, > > i just upgraded my centos8stream server from python3.8 to python3.9 > running nginx1.14 and uwsgi2.0.21 and web2py2.22.5. > > when i restart web2py it says it is still ac

Re: [web2py] Re: how to point web2py to python3.9 not python3.8?

2022-11-30 Thread lucas
. lucas [Unit] Description=uWSGI Emperor service [Service] ExecStartPre=/usr/bin/bash -c 'mkdir -p /run/uwsgi; chown web2py:nginx /run/uwsgi' ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites Restart=always KillSignal=SIGQUIT Type=notify NotifyAccess=all [Install] Want

[web2py] after Lost Password onaccept

2023-03-22 Thread lucas
t that one. thank you in advance, lucas -- 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 Goo

[web2py] Re: after Lost Password onaccept

2023-03-23 Thread lucas
thank you, that worked great. both suggestions. lucas On Thursday, March 23, 2023 at 8:00:11 AM UTC-4 Leonel Câmara wrote: > It's auth.settings.reset_password_onaccept > > However you can also simply use auth.settings.login_after_password_change > = False to force the us

[web2py] uwsgi with web2py hard crash/locking with nginx

2023-10-16 Thread lucas
at 1. Oct 16 13:48:34 iquanta.info systemd[1]: Stopped uWSGI Emperor service. Oct 16 13:48:34 iquanta.info systemd[1]: uwsgi.service: Consumed 10.241s CPU time. with not much to say under the nginx logs. so, does anyone know what i can be dealing with? thank you in advance, lucas -- Re

[web2py] Re: uwsgi with web2py hard crash/locking with nginx

2023-10-18 Thread lucas
web2py gid = web2py socket = /run/uwsgi/web2py.sock chown-socket = web2py:nginx chmod-socket = 660 vacuum = true thank you for your help. lucas On Tuesday, October 17, 2023 at 3:43:31 AM UTC-4 Tom Clerckx wrote: > Maybe you should review the 'high calculation/high plotly' pages for > m

[web2py] reCAPTCHA link in online web2py book

2024-01-22 Thread lucas
still working in the latest version of web2py, 2.27.1? is it still free? is it still good to use? thank you, lucas -- 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 Issue

[web2py] Re: reCAPTCHA link in online web2py book

2024-01-28 Thread lucas
anyone on this, at all? On Monday, January 22, 2024 at 9:01:02 AM UTC-5 lucas wrote: > hello one and all, > > the link for reCAPTCHA, or, " > http://web2py.com/books/default/reference/29/recaptcha";, under the online > web2py book, " > http://web2py.com/b

[web2py] button to cancel an SQLFORM

2024-10-07 Thread lucas
g the data record? thank you in advance, lucas -- 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

[web2py] [Off Topic] Appreport plugin - helpers for PDF reports

2011-01-09 Thread Lucas D'Avila
https://github.com/lucasdavila/plugin-appreport/wiki -- Lucas D'Avila http://flavors.me/lucasdavila

Re: [web2py] Using pyGravatar to get user avatar for profile pages

2011-01-24 Thread Lucas D'Avila
Nice tip +1 Thanks Bruno! -- Lucas D'Avila http://flavors.me/lucasdavila Em 24/01/2011 19:23, "Albert Abril" escreveu:

Re: [web2py] Re: T-Shirts web2py

2011-01-26 Thread Lucas D'Avila
Cool! you can also create buttons (or bottons ?) and stickers ? I buy, if you have a nice design :) -- Lucas D'Avila http://flavors.me/lucasdavila Em 26/01/2011 08:31, "Martin.Mulone" escreveu: > like the idea, but we need a more complex design.

[web2py] [OFF-TOPIC] PDF Reports with Pisa

2011-01-26 Thread Lucas D'Avila
Hug! -- Lucas D'Avila http://flavors.me/lucasdavila

Re: [web2py] Speeding up IS_IN_DB

2011-01-28 Thread Lucas D'Avila
Hi ! You can be more specific? have any suggestions to improve this? -- Lucas D'Avila http://flavors.me/lucasdavila Em 28/01/2011 09:19, "Johann Spies" escreveu:

Re: [web2py] Speeding up IS_IN_DB

2011-01-28 Thread Lucas D'Avila
ops! sorry my last comment is for another post :( , please ignore what I said ... -- Lucas D'Avila http://flavors.me/lucasdavila Em 28/01/2011 09:54, "Johann Spies" escreveu:

Re: [web2py] Re: PDF Reports with Pisa

2011-01-28 Thread Lucas D'Avila
Can you be more specific? have any suggestions to improve this? -- Lucas D'Avila http://flavors.me/lucasdavila Em 28/01/2011 05:46, "mart" escreveu: > Just letting you now... I looking to see it in action (the custom > _code part looks really interesting), but am stumped as

Re: [web2py] Re: PDF Reports with Pisa

2011-01-29 Thread Lucas D'Avila
What's your S.O ? I only tested it on ubuntu..., please send the traceback of the error. -- Lucas D'Avila http://flavors.me/lucasdavila Em 29/01/2011 04:21, "mart" escreveu:

Re: [web2py] Re: PDF Reports with Pisa

2011-01-29 Thread Lucas D'Avila
Not need to install additional packages, the dependencies of Pisa already comes built in plugin. But if you want you can remove these packages that comes by default and install the dependencies. -- Lucas D'Avila http://flavors.me/lucasdavila Em 29/01/2011 20:07, "Ovidio Marinho"

[web2py] Re: Specify pdf name in appreport plugin

2012-07-02 Thread Lucas D'avila
7;) {} [1] https://github.com/downloads/lucasdavila/web2py-appreport/web2py.plugin.appreport_v0.1.x.w2p Em sábado, 9 de junho de 2012 18h43min08s UTC-3, Jarrod escreveu: > > I have successfully used Lucas D'Avila's very helpful appreport > plugin<https://github.com/lucasdavila/web

[web2py] Web2py 2.4.2 - Wizard, trouble

2013-03-04 Thread Fernando Lucas
Web2py 242 wizard, The buttons [+] and [-] don't work. I test: Firefox 18, Chrome and IE8; Ubuntu 12.04 and Win7. Thanks Fernando Lucas -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and

Re: [web2py] Re: web2py 2.4.2 is OUT

2013-03-06 Thread Fernando Lucas
I had the same problem. In the Wizard 2.4.2 the buttons [+] end [-] don't work. Thanks, thanks for the new version. Fernando Lucas 2013/3/6 Marco Túlio Cícero de M. Porto > When using the "New application wizard", cannot add new input row for new > tables at "

[web2py] Smartgrid: tamanho (largura) das colunas?

2013-03-21 Thread Fernando Lucas
Como posso alterar o tamanho (largura) das colunas do smartgrid? Obrigado Fernando -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@goog

Re: [web2py] Pyfpdf - How to fit long data descriptions in the table with proper text wrapping in rows/columns

2013-04-13 Thread Lucas D'Avila
Hello Rahul! If you just want to generate reports based on html code, you can use the *we2py-appreport plugin*, please watch this screencast [1] and read this instructions [2], this will show how to write html forms to render and filter your reports. But, if you want to generate sophisticated

Re: [web2py] Crud formstyle perhaps?

2011-02-09 Thread Lucas D'Avila
I think this post from Martin can help you > http://martin.tecnodoc.com.ar/myblog/2011/01/10/hacking-web2py-sqlform-part-1 -- Lucas D'Avila http://flavors.me/lucasdavila Em 09/02/2011 16:58, "Richard Vézina" escreveu: > use 'divs' > > Give: > Form > l

Re: [web2py] Re: Crud formstyle perhaps?

2011-02-09 Thread Lucas D'Avila
Forgot to say this, but i think you can apply the example of the post also in crud.* forms or FORM () -- Lucas D'Avila http://flavors.me/lucasdavila Em 09/02/2011 17:15, "greenpoise" escreveu:

Re: [web2py] is this query possible or should I do a loop

2011-02-15 Thread Lucas D'Avila
Hi! Try this: rows_res = db(db.tab1_res)._select(db.tab1_res.tab1_id) rows = db(not db.tab1.tab1_id.belong(rows_res)).select() -- Lucas D'Avila http://flavors.me/lucasdavila Em 15/02/2011 15:09, "Richard Vézina" escreveu: > Hello, > > I would like to write this in

Re: [web2py] Debug somtimes works, sometimes doesn't..

2011-02-21 Thread Lucas D'Avila
I use eclipse with PyDev for debugging works fine, I start web2py within the eclipse. The only problem I have is to stop the process started by the eclipse, 'sometimes' I have to kill the python process by the operating system (note: I use ubuntu). -- Lucas D'Avila http://flavors

Re: [web2py] How to make a progress bar/meter in web2py?

2011-02-23 Thread Lucas D'Avila
Take a look at the jQuery progressbar widget [1] , maybe this can help you. [1] http://docs.jquery.com/UI/Progressbar -- Lucas D'Avila http://flavors.me/lucasdavila Sent from my phone Em 23/02/2011 07:50, "Vasile Ermicioi" escreveu:

Re: [web2py] Re: should this be in the scaffolding app?

2011-02-28 Thread Lucas D'Avila
+1 -- Lucas D'Avila http://flavors.me/lucasdavila Sent from my phone Em 28/02/2011 17:26, "Anthony" escreveu: > +1

Re: [web2py] PDF report

2011-03-11 Thread Lucas D'Avila
/Docs-and-examples > # --- > # Bruno Barbosa > # Seja livre - Use Linux!!! > # http://algoritmizando.com > # http://twitter.com/bruninbsb > # --- > -- *Lucas D'Avila* http://flavors.me/lucasdavila

[web2py] Possible error in GAE

2011-03-17 Thread Lucas D'Avila
text/html; charset=UTF-8 Location: /test/default/user/login?_next=/test/default/index You are being redirected here* " *I think because in line 2321 of module "gluon/tools.py" has this print*"self.environment.request.is_restful" (which displays False), commenting t

[web2py] After CAS login, password is reset

2011-07-12 Thread Lucas D'Avila
#x27;) auth.define_tables(username=True, migrate = False) auth.settings.login_form=CasAuth(globals(), urlbase = " http://localhost:8000/accounts/default/user/cas";, actions=['login', 'validate', 'logout']) One more doubt, is correct to connect both applicat

Re: [web2py] Re: After CAS login, password is reset

2011-07-13 Thread Lucas D'Avila
You're right in this case is not necessary to use CAS, thanks for the clarification :) -- Lucas D'Avila http://github.com/lucasdavila sent from a smartphone Em 13/07/2011 03:46, "Massimo Di Pierro" escreveu: > > I suspect your problem is that both apps connec> I

Re: [web2py] The web2py grid/crud plugin you've always dreamed about!

2011-07-22 Thread Lucas D'Avila
> Thanks if you can test and report on BitBucker or omments page. > > > Bruno Rocha > [ About me: http://zerp.ly/rochacbruno ] > [ Aprenda a programar: http://CursoDePython.com.br ] > [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] > [ Consultoria em desenvolvimento web: http://www.blouweb.com ] > > -- *Lucas D'Avila* https://github.com/lucasdavila

[web2py] Re: Form input prolem

2014-01-20 Thread Lucas Schreiber
from the db fetch the Password from the form, the function Redirects to one page, else to another ( as you can see, this is just a very basic function, and not ready) hope, now it got more clear :) Am Sonntag, 19. Januar 2014 19:28:23 UTC+1 schrieb Lucas Schreiber: > Hi guys, > > i

[web2py] Re: Form input prolem

2014-01-22 Thread Lucas Schreiber
asswords = form.vars.password dba.user.insert(name = 'justtest', password= form.vars.name, email=form .vars.password, country= form.vars.name) if passwdb == passwords: redirect(URL('index')) else: redirect(URL('register'))

[web2py] Variables from url

2014-01-24 Thread Lucas Schreiber
Hi, I have a question: For example, somebody opens this page: .../profile/1 Now, in the def profile(): there shall be a variable: a=1 Or, when this page gets opened: .../profile/12345 I wish this variable: a=12345 Is it possible to do this in web2py? Can you explain me how? -- Resources: -

[web2py] Re: Variables from url

2014-01-25 Thread Lucas Schreiber
Thanks :) It is exactly what i needed :) -- 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 Googl

[web2py] saving multiple forms in a dict and giving them out in the view

2016-01-24 Thread Lucas Schreiber
Hey, i would like to save some values in a dict and give them out together with a form. it should look something like this: ([] marks a button, the name n are the values, and links) name1 [Remove?] name2 [Remove?] name3 [Remove?] . . . name n [Remove?] my idea looks like this: [code] co

[web2py] Re: saving multiple forms in a dict and giving them out in the view

2016-01-25 Thread Lucas Schreiber
_in_db = names_in_db_dict) view: {{=names_in_db_dict}} #without the for function Am Sonntag, 24. Januar 2016 19:08:48 UTC+1 schrieb Lucas Schreiber: > > Hey, > i would like to save some values in a dict and give them out together with > a form. it sho

[web2py] SQLFORM changing the column of record

2016-01-28 Thread Lucas Schreiber
Hi, ist there a way to change the column of the record in an SQLFORM? For example, my code looks like this: module dba.define_table('test_table', Field('field_1', 'integer'), Field('field_2', 'integer')) controller def index(): record = 1 form=SQLFORM(dba.test_table, record, submit_button='te

[web2py] List in a db Request

2016-02-19 Thread Lucas Schreiber
Hi there, is there a way to use a list in a db request? like this: list = [One, Two, Three] row_db = dba((dba.table.table_name!= list)).select() and getting every row, which doesnt have one of the emelents as a name? Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] Re: List in a db Request

2016-02-20 Thread Lucas Schreiber
Yeah, this works perfectly. Thank you very much :) Am Freitag, 19. Februar 2016 20:39:42 UTC+1 schrieb Niphlod: > > dba(~dba.table.name.belongs(list)).select() > > On Friday, February 19, 2016 at 7:50:13 PM UTC+1, Lucas Schreiber wrote: >> >> Hi there, >> >>

[web2py] Setting up the scheduler, and letting it run from a certain point of time

2016-02-23 Thread Lucas Schreiber
Hi there, while trying to understand how to use the scheduler, i found this post: https://groups.google.com/forum/#!topic/web2py/VCPZmSc0vLc In the Post, this code is writen: db.scheduler_task.insert(function_name='task1', task_name='task1', stop_t

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
1, test_table_value = 'a') db.commit() return dict(c=c) How do i get it startet, e.g. filling the test_table with those values every n seconds? Thank you very much for your help so far Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: >

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
tion isn't defined proper and the worker does not know what to do. Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: > > Hi there, > while trying to understand how to use the scheduler, i found this post: > https://groups.google.com/forum/#!topic/web2py/VCPZmSc0vLc

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-26 Thread Lucas Schreiber
It finally worked. thank you very, very much for you patience and help. It took a while but thanks to you i finally understood how the scheduler works. Thankyou one more time :) Am Mittwoch, 24. Februar 2016 00:11:47 UTC+1 schrieb Lucas Schreiber: > > Hi there, > while trying to under

Re: [web2py] Re: Future of web2py

2018-11-20 Thread Fernando Lucas
Did you think about the JS framework, https://aurelia.io/? Thank's Fernando Lucas Em seg, 29 de mai de 2017 às 20:29, Massimo Di Pierro < massimo.dipie...@gmail.com> escreveu: > My plan is this > > It is based on bottle + gevent + gunicorn + rethinkdb + pydal + vue.js

[web2py] Recover images web2py

2019-01-10 Thread Lucas Manoel
i have a image uploaded, how do i recover it on html? Any idea? -- 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

[web2py] web2py docker

2019-01-10 Thread Lucas Manoel
I created a image on docker that have web2py How do i put my application at applications web2py folder? -- 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) --- Y

[web2py] Form + combined

2014-04-17 Thread Lucas Schreiber
hey, i have a Problem and i don't know how to solve it. I want a form with an Input "text" field ( let's call it "amount') and an part (let's call it 'area'). And, finally, a "submit" button. All this shall work as follow: You enter a number in "amount", choose an "area" and press "submit". O

[web2py] Re: Form + combined

2014-04-18 Thread Lucas Schreiber
*push* still no idea Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: > hey, > i have a Problem and i don't know how to solve it. I want a form with an > Input "text" field ( let's call it "amount') and an part > (let's c

[web2py] Re: Form + combined

2014-04-18 Thread Lucas Schreiber
Thanks :) Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: > > hey, > i have a Problem and i don't know how to solve it. I want a form with an > Input "text" field ( let's call it "amount') and an part > (let's call it

[web2py] Re: Form + combined

2014-04-19 Thread Lucas Schreiber
Uhm, while working, i noticed your code does not really have all features i tried to implent, i'm sorry. Am Donnerstag, 17. April 2014 15:35:11 UTC+2 schrieb Lucas Schreiber: > hey, > i have a Problem and i don't know how to solve it. I want a form with an > Input "tex

[web2py] Re: form element select add options

2014-05-14 Thread Lucas Schreiber
Thanks, that's exactly what I was looking for :) Am Montag, 12. Mai 2014 23:58:04 UTC+2 schrieb Trend Codax: > > Hey guys, > I have a form, a SQL Form. I'm adding an element, a select element. But > how can i add Options to this element? > > > form = SQLFORM(dba.account_directory) > my

[web2py] creating a row3 where the rows are in row1 but not in row2

2014-05-18 Thread Lucas Schreiber
Hey, i have another Problem. Imagine you have two rows created as follow: models: dba.define_table('owned_license', Field('owner_id', 'integer'), Field('license_id', 'integer')) dba.define_table('license', Field('license_name', 'integer'), Field('license_id', 'integer')) Controller: owned_l

[web2py] Re: creating a row3 where the rows are in row1 but not in row2

2014-05-19 Thread Lucas Schreiber
works fine. Thanks Am Sonntag, 18. Mai 2014 15:34:28 UTC+2 schrieb Lucas Schreiber: > Hey, > i have another Problem. Imagine you have two rows created as follow: > > models: > > > dba.define_table('owned_license', > Field('owner_id'

[web2py] multiple forms created by for in:

2014-05-22 Thread Lucas Schreiber
Hey, i'm sorry, i need help again :) i have a db table, and i want to create a üage where for every row is a form. my idea looks like this: row_db = dba(dba.user.user_id == user_id).select(dba.user.ALL) for row in row_db: form=FORM('Your name:', SELECT(),

[web2py] Re: multiple forms created by for in:

2014-05-22 Thread Lucas Schreiber
'HERE')) form.append(form_element) Am Donnerstag, 22. Mai 2014 13:12:19 UTC+2 schrieb Lucas Schreiber: > Hey, > i'm sorry, i need help again :) > i have a db table, and i want to create a üage where for every row is a > form. my idea looks like this: > > row_db = dba(db

[web2py] Re: multiple forms created by for in:

2014-05-23 Thread Lucas Schreiber
Alright, now i understand. Thats a pretty good structur, thank you very much :) Am Donnerstag, 22. Mai 2014 13:12:19 UTC+2 schrieb Lucas Schreiber: > > Hey, > i'm sorry, i need help again :) > i have a db table, and i want to create a üage where for every row is a > form

Re: [web2py] Re: Spontaneous .table file corruption?

2014-08-26 Thread Lucas Geiger
No version control. Workin on Ubuntu. I think the system is OOMing . Seems unsafe for table definitions to die if the system goes out of memory. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/

Re: [web2py] web2py.py -G configure issues? Trouble with /admin on GAE

2014-10-02 Thread Lucas Geiger
Hi Miguel, sorry which line specifically? Also did you use the "web2py.py -G config " to generate these? I did. It seems that would be a bug? Lucas Geiger On Oct 2, 2014 9:47 AM, "Miguel Goncalves" wrote: > Try to do comment the 2dn url line in the the app.yaml : &g

Re: [web2py] web2py.py -G configure issues? Trouble with /admin on GAE

2014-10-02 Thread Lucas Geiger
ot commented out in the original app.yaml > > > -M > > On Thu, Oct 2, 2014 at 7:27 AM, Lucas Geiger wrote: >> >> Hi Miguel, sorry which line specifically? >> Also did you use the "web2py.py -G config " to generate these? >> I did. It seems that wou

Re: [web2py] web2py.py -G configure issues? Trouble with /admin on GAE

2014-10-02 Thread Lucas Geiger
Hi Miguel, this seems to break the rest of app for me, including welcome: https://www.dropbox.com/s/sa7s3yp5xy47ckb/Screenshot%202014-10-02%2012.55.58.png?dl=0 I didn't notice it until clearing the browser cache. Can you confirm? Thanks On Thu, Oct 2, 2014 at 9:47 AM, Miguel Goncalves wrote: >

Re: [web2py] web2py.py -G configure issues? Trouble with /admin on GAE

2014-10-03 Thread Lucas Geiger
NnV7EeQ On Fri, Oct 3, 2014 at 8:56 AM, Miguel Goncalves wrote: > Hi > > I cleared the cache and also tried running in IE and Chrome. > Everything is still working properly for me. > > > -Miguel > > On Thu, Oct 2, 2014 at 9:57 AM, Lucas Geiger wrote: >> >>

[web2py] db.commit() fails?

2011-01-03 Thread Lucas R. Martins
pdate(pass = request.vars.new_pass) db.commit() session.flash = 'Password changed' redirect(URL('default','index')) This code runs with no errors, but my database is not being updated. I put the line "db.commit()", but the problem keep happing. Anyone can help me? Lucas R. Martins

[web2py] Re: db.commit() fails?

2011-01-04 Thread Lucas R. Martins
request.vars.new_pass) > > because > > user.update(pass = request.vars.new_pass) just updates the user row in > ram, not the db. > > On Jan 3, 11:04 am, "Lucas R. Martins" wrote: > > > Hi folks, > > > i'm try to run the following code: > >

Re: [web2py] Accessing non-returned items in Views

2012-07-17 Thread Lucas R. Martins
Just curious: There is a special reason to not simply return the needed dicts? Em Ter 17 Jul 2012 18:40:00 BRT, adohertyd escreveu: In my function page2(): I return a dictionary to be accessed by the page2 HTML view. In the page2 function I have some other dictionaries. What I want to do to be

Re: [web2py] BR()

2012-07-25 Thread Lucas R. Martins
You also can use {{=BR()*5}} or {{=ANYTHING()*5}} Em Qua 25 Jul 2012 13:51:38 BRT, Toby Shepard escreveu: In my own html generating libraries, I normally allow an integer argument to the maker, which is a count of how many tags to put out. So: {{=BR(5)}} could output This works out since t

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Lucas R. Martins
You can generate and use your views and serve it as a common webapp. Just include phonegap.js If you are planning an offline only app, you can download and pack your content with wget. --

[web2py] Web2py RAM usage

2012-06-17 Thread Lucas R. Martins
Hi guys, I'm running a website with ~ 900 urls and no many daily access in a small vps. I have observed that, when a start the server, this use only 10mb, in my case. However, with the time and natural access (specially googlebot), the server memory usage grow and grows indefinitely until use all

Re: [web2py] Re: Web2py RAM usage

2012-06-18 Thread Lucas R. Martins
use > of this problem. > Did you try to bytecode compile the app? > > Massimo > > > On Sunday, 17 June 2012 21:17:01 UTC-5, Lucas R. Martins wrote: >> >> Hi guys, >> >> I'm running a website with ~ 900 urls and no many daily access in a small >&

Re: [web2py] Re: Web2py RAM usage

2012-06-18 Thread Lucas R. Martins
In my case, i just started web2py server and set up apache2 + proxypass. I need to change to uwsgi? 2012/6/18 Jon Molesa > I can't say for certain now, but I'm pretty sure I switched from > apache + mod_wsgi to uwsgi. In any case uwsgi is what I've set up on > my Rackspace server. So far so goo

[web2py] Form input prolem

2014-01-19 Thread lucas . schreiber . privat
Hi guys, i have this function: def login(): form = FORM( 'Name', INPUT(_name='name'), 'password', INPUT(_password='password'), INPUT(_type='submit')) if form.process().accepted: name = form.vars.name records = SQLTABLE(dba(dba.user.name== name).select(dba.user

<    1   2   3   4   5