Re: [web2py] Re: python process consumes 100% cpu

2016-07-31 Thread Kiran Subbaraman
That's good to know. You could take a look at this page: https://www.python.org/download/mac/tcltk/ to understand if there are Tcl/Tk issues related to your environment. This may solve the CPU issue ... am not sure. On Sunday, July 31, 2016 at 8:50:07 PM UTC+5:30, St. Pirsch wrote: > > Hey Kira

[web2py] Experiences with alternative starter app of Michael Beller

2016-07-31 Thread Henk huisman
I want to share some of my experiences of the last few days trying to get the alternative starter app of Michael Beller to work. It realy looks great and the templates by almsaeedstudio are very nice; it gives your site a professional feel and look. I used the latest version of the app that's o

[web2py] How to upload a file using SQLFORM.factory

2016-07-31 Thread rajjmatthur
in db.py db.define_table("profile_picture", Field('filename','upload',default = None,comment='Enter your pic',uploadfolder=os.path.join(request.folder, 'uploads')),auth.signature) in default.py form=SQLFORM.factory(Field('filename','upload',uploadfolder=os.path.join(request.f

[web2py] Re: missportuguesa.pt powered by web2py

2016-07-31 Thread Massimo Di Pierro
Congratulations! On Sunday, 31 July 2016 15:50:30 UTC-5, Ricardo Pedroso wrote: > > I like to announce a site powered by web2py that was launched 3 weeks ago. > > It's in portuguese only. > > You can see it at: > http://missportuguesa.pt > > Regards, > Ricardo > -- Resources: - http://web2

[web2py] Re: URL based internationalization and pattern router

2016-07-31 Thread Massimo Di Pierro
Can you point to any other web framework that allows reverse mapping path_info into query_string? I am not aware of other frameworks that allow this. I would like to see what syntax they use. Massimo On Sunday, 31 July 2016 09:53:28 UTC-5, Carlos Cesar Caballero wrote: > > Many thanks for y

[web2py] missportuguesa.pt powered by web2py

2016-07-31 Thread Ricardo Pedroso
I like to announce a site powered by web2py that was launched 3 weeks ago. It's in portuguese only. You can see it at: http://missportuguesa.pt Regards, Ricardo -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-31 Thread webmaster
Thanks. I'll run a couple more tests tomorrow if I haven't heard back. On Saturday, July 30, 2016 at 11:36:02 PM UTC-7, Massimo Di Pierro wrote: > > OK. will check this today. > > On Friday, 29 July 2016 15:40:26 UTC-5, webm...@trytha.com > wrote: >> >> Nope, same error in: 2.14.6-stable+times

[web2py] Re: URL based internationalization and pattern router

2016-07-31 Thread Anthony
On Sunday, July 31, 2016 at 10:53:28 AM UTC-4, Carlos Cesar Caballero wrote: > > the router should be completly independent from the app code, so any > changes on the router will not affect the app code, > What do you mean by this? Can you show how you configured the Yii router to generate the U

[web2py] Re: URL based internationalization and pattern router

2016-07-31 Thread Anthony
On Sunday, July 31, 2016 at 2:39:17 AM UTC-4, Massimo Di Pierro wrote: > > This is a limitation with routes out. The left hand side cannot contain > "?" and vars. > You can maps path_info into request.vars in the way but not the vice versa > in the way out. You have to put the language in the arg

[web2py] Using scheduler with facebook api calls

2016-07-31 Thread Andre
Hi, I've created a website that utilizes the facebook api and I'd like to move my facebook requests out of the webserver request handling loop. I've played around with the scheduler and I have a working prototype in place however I'm not sure how many workers I should spawn for the scheduler.

Re: [web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
Hey Kiran, you are right, without the GUI there's virtually no CPU load. I suppose it's a general issue on mac. Thank You ! Am Sonntag, 31. Juli 2016 16:56:54 UTC+2 schrieb Kiran Subbaraman: > > Can you try running web2py without the GUI option `--nogui` > python web2py.py --nogui --port= 8080 --i

Re: [web2py] Re: python process consumes 100% cpu

2016-07-31 Thread Kiran Subbaraman
Can you try running web2py without the GUI option `--nogui` python web2py.py --nogui --port= 8080 --ip=127.0.0.1 --password='' Command line options, in case you want to refer to them: http://www.web2py.com/books/default/chapter/29/04/the-core#Command-line-options Do you see the CPU issue with t

[web2py] Re: URL based internationalization and pattern router

2016-07-31 Thread Carlos Cesar Caballero
Many thanks for your answer Massimo. I hope that you accept my next words as a constructive criticism. Because of "little things" like this, so many developers do not like web2py, the router should be completly independent from the app code, so any changes on the router will not affect the app

[web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
Yes, I'm running from source stp$ python2.7 /Users/stp/Sites/web2py/web2py.py After starting the server, the python process climbs to 100% cpu within a minute or so and stays there, even though the server is idle. The Task stats look like this: % cpu 99,93 Threads: 7 Readingacesses: 106 Ports:

[web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
Yes, I'm running from source stp$ python2.7 /Users/stp/Sites/web2py/web2py.py Am Sonntag, 31. Juli 2016 08:40:58 UTC+2 schrieb Massimo Di Pierro: > > Not a known issue. Do you have the same problem if you run from source? > > On Saturday, 30 July 2016 13:22:17 UTC-5, St. Pirsch wrote: >> >> Hi a