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

[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

[web2py] Re: URL based internationalization and pattern router

2016-07-31 Thread Massimo Di Pierro
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 args and the do the remapping on the way out. On Friday, 29 July 2016 23:12:07

[web2py] Re: python process consumes 100% cpu

2016-07-31 Thread 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 all, > running web2py.py 2.14.6 on a mac 10.11.6 gets me constantly a 100% cpu > usage on python. Is this a known issue & is there a solution? > Thanks -

[web2py] track_changes and reloading 2nd tire modules

2016-07-31 Thread catonstairs
track_changes(True) does reload modules imported within models and controllers, however it does not seem to reload modules imported by those modules e.g. fooddrink controller imports ctrl_fooddrink module, also ctrl_fooddrink module imports item_repr module ... ctrl_fooddrink reloads, but

[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

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

2016-07-31 Thread Massimo Di Pierro
OK. will check this today. On Friday, 29 July 2016 15:40:26 UTC-5, webmas...@trytha.com wrote: > > Nope, same error in: 2.14.6-stable+timestamp.2016.05.10.00.21.47 (the > source code off the web2py site). > > If you want me to try a nightly or something, let me know. > > The only semi-unique

[web2py] Re: Grid export csv

2016-07-31 Thread Massimo Di Pierro
You press the button. Is this not working? What happens? What you model? What is your grid? On Friday, 29 July 2016 11:23:28 UTC-5, Ryan Hood wrote: > > How do you get the csv export to work in web2py grid? > > NOTE: Working with web2py version 2.14.6 and 2.14.5 > > Thank you, > -- Resources:

[web2py] Re: logout don't kill session

2016-07-31 Thread Massimo Di Pierro
Can you explain more? Can you tell us about the architecture you have? On Friday, 29 July 2016 11:11:17 UTC-5, Jose Eleudson Gurgel Queiroz wrote: > > The SAME app conclude the logout operation on one server, but not on > another or local server. > > Don't show the flash message of confirm

[web2py] Re: track_changes and reloading 2nd tire modules

2016-07-31 Thread Massimo Di Pierro
Please open a ticket about this. Not intended. On Sunday, 31 July 2016 01:28:21 UTC-5, catonstairs wrote: > > track_changes(True) does reload modules imported within models and > controllers, however it does not seem to reload modules imported by those > modules > > e.g. fooddrink controller

[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

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

[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

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

[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:

[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) -

[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.

[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

[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

[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: -

[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

[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