[web2py] Re: Google App Engine Launcher 1.9.34 breaks web2py?

2016-03-28 Thread Tommi Lahtonen
On Thursday, March 24, 2016 at 1:41:42 AM UTC+2, Massimo Di Pierro wrote: > > Which version of web2py? Did you use git clone? Did you do what it is > asking? > > git submodule update --init --recursive > > I used the src-version from here: http://www.web2py.com/examples/static/web2py_src.zip I

Re: [web2py] Re: alternate date/time widgets?

2016-03-28 Thread Ron Chatterjee
If we dont use stupid css wondering what will b the equivalent autocomplete with dismissal tags can b (for search). -- 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 I

Re: [web2py] Re: alternate date/time widgets?

2016-03-28 Thread Massimo Di Pierro
I need to merge the autocomplete with tags and than we are done. Please help us test them. On Monday, 28 March 2016 17:51:46 UTC-5, shoema...@riseup.net wrote: > > > Thanks -- I like the way these look. -mg > > On 2016-03-25 16:09, Massimo Di Pierro wrote: > > I made these > > > > http://mdi

[web2py] Re: Date picker format

2016-03-28 Thread Massimo Di Pierro
look into views/web2py_ajax.html On Monday, 28 March 2016 16:09:39 UTC-5, Jeff Riley wrote: > > Hello everyone. I have the following field defined. > > Field('due_date', 'date', requires = IS_DATE(format=T('%m-%d-%Y'))), > > The date picker that comes up with this field is setting the date to >

[web2py] Re: web2py 2.14.2

2016-03-28 Thread Massimo Di Pierro
Please use a different thread for this. On the other thread, can you show the query that cases this traceback? On Monday, 28 March 2016 13:50:46 UTC-5, rif wrote: > > Unfortunately __init__ is present in my case. Moreover when I start the > app using local development server I get another stackt

[web2py] Re: In the dropdown here how to remove Profile?

2016-03-28 Thread Jacob Devin
like i want extra elements in the dropdown like i had password and profile before. On Tuesday, March 29, 2016 at 6:27:45 AM UTC+5:30, 黄祥 wrote: > > pardon, not sure what do you mean with 'add extra fields to the dropdown > table' > > best regards, > stifan > -- Resources: - http://web2py.com -

[web2py] Re: In the dropdown here how to remove Profile?

2016-03-28 Thread 黄祥
pardon, not sure what do you mean with 'add extra fields to the dropdown table' best regards, stifan -- 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

Re: [web2py] Re: alternate date/time widgets?

2016-03-28 Thread shoemaker
Thanks -- I like the way these look. -mg On 2016-03-25 16:09, Massimo Di Pierro wrote: I made these http://mdipierro.github.io/stupid.css/widgets/index.html Still beta but the calendar one is there to stay. I will be come default in web2py in the next version. On Friday, 25 March 2016 12:

[web2py] Re: web2py Job and Recruitment site

2016-03-28 Thread Ron Chatterjee
+1 -- 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. To uns

[web2py] Date picker format

2016-03-28 Thread Jeff Riley
Hello everyone. I have the following field defined. Field('due_date', 'date', requires = IS_DATE(format=T('%m-%d-%Y'))), The date picker that comes up with this field is setting the date to -MM-DD which is conflicting with the format I have defined above when I his submit. How to I get th

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2016-03-28 Thread Massimo Di Pierro
OK. I guess I misunderstood. Let me study your solution and get back to you. On Sunday, 27 March 2016 11:07:21 UTC-5, Mike Constabel wrote: > > Hello Massimo, > > Am Sonntag, 27. März 2016 17:18:42 UTC+2 schrieb Massimo Di Pierro: >> >> Hello Mike, >> >> could you explain your patch to web2py-deve

[web2py] Re: web2py Job and Recruitment site

2016-03-28 Thread Francisco Tomé Costa
Thanks Massimo, it means alot coming from you -- 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

Re: [web2py] web2py Job and Recruitment site

2016-03-28 Thread Francisco Tomé Costa
The database is mongodb, the logos are set by the companies in the dedicated backoffice -- 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

Re: [web2py] web2py Job and Recruitment site

2016-03-28 Thread Francisco Tomé Costa
Yes, builted with web2py -- 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 "web2p

[web2py] Re: web2py 2.14.1 is OUT

2016-03-28 Thread Dave S
On Monday, March 28, 2016 at 11:32:37 AM UTC-7, Dave S wrote: > > [...] > Running this test server also brought to my attention some asssumptions I > had made about server environment, and where I didn't really need > hard-coded paths, so I've got cleaner code now! > > Cleaner in the "more porta

[web2py] Re: Constant login request on PythonAnywhere

2016-03-28 Thread Jeff Riley
OMG. I cannot believe I did not even check that. You are totally correct. My cookies where being dis aloud on the IE and Chrome browsers on both of my computers. Thank you very much. On Monday, March 28, 2016 at 2:36:01 PM UTC-5, Anthony wrote: > > In the dev tools, see if the session cookie

[web2py] Re: web2py 2.14.2

2016-03-28 Thread Dave S
You're probably going to need someone with GAE experience, then. /dps On Monday, March 28, 2016 at 11:50:46 AM UTC-7, rif wrote: > > Unfortunately __init__ is present in my case. Moreover when I start the > app using local development server I get another stacktrace (pasted below). > > File "

[web2py] Re: How to modify a scheduled task?

2016-03-28 Thread Dave S
On Monday, March 28, 2016 at 12:38:03 PM UTC-7, Niphlod wrote: > > The specific issue with this case is that the scheduler tracks how many > times a task has been executed and prevents your "repeats=1" task to be > executed again because times_run is probably exceeding the value. > That being

[web2py] Re: What does user_signature = True mean here?

2016-03-28 Thread Anthony
On Monday, March 28, 2016 at 3:33:20 PM UTC-4, Niphlod wrote: > > nothing in SQLFORM, as it doesn't accept a user_signature argument ... > it's SQLFORM.grid that does. > And in the context of the grid, it means each URL that the grid generates (e.g., edit/delete links) will include a digital sig

[web2py] Re: How to modify a scheduled task?

2016-03-28 Thread Niphlod
The specific issue with this case is that the scheduler tracks how many times a task has been executed and prevents your "repeats=1" task to be executed again because times_run is probably exceeding the value. That being said (i.e. you'd need to reset times_run too) be aware that modifying sche

[web2py] Re: Constant login request on PythonAnywhere

2016-03-28 Thread Anthony
In the dev tools, see if the session cookies is getting passed back and forth. On Monday, March 28, 2016 at 3:16:32 PM UTC-4, Jeff Riley wrote: > > Just an update. I have installed FireFox and it is not giving me the same > problems. It lets me stay logged in until I tell it to log me out. Th

[web2py] Re: What does user_signature = True mean here?

2016-03-28 Thread Niphlod
nothing in SQLFORM, as it doesn't accept a user_signature argument ... it's SQLFORM.grid that does. On Monday, March 28, 2016 at 6:05:10 PM UTC+2, Jacob Devin wrote: > > form=SQLFORM(db.info,row.id,user_signature=True).process() > -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] Re: Constant login request on PythonAnywhere

2016-03-28 Thread Jeff Riley
Just an update. I have installed FireFox and it is not giving me the same problems. It lets me stay logged in until I tell it to log me out. This has to be some setting in both IE 11 and Chrome that I just cannot find. On Monday, March 28, 2016 at 12:06:54 PM UTC-5, Jeff Riley wrote: > > Hell

Re: [web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Anthony
On Monday, March 28, 2016 at 1:20:59 PM UTC-4, Carlos Cesar Caballero wrote: > > They provide related but different information with a different structure > (country show main country info, an basic States and Cities info and so > on), The separate country, city, and state controller files are no

[web2py] Re: web2py 2.14.2

2016-03-28 Thread rif
Unfortunately __init__ is present in my case. Moreover when I start the app using local development server I get another stacktrace (pasted below). File "/home/rif/Documents/webframeworks/firmoasa/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/home/rif/Do

[web2py] Re: How did you implement chat system in your app? How's my idea?

2016-03-28 Thread Ron Chatterjee
https://www.toptal.com/tornado/simple-python-websocket-server?utm_campaign=blog_post_simple_python_websocket_server&utm_medium=email&utm_source=blog_subscribers Interesting article. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

[web2py] Re: web2py 2.14.1 is OUT

2016-03-28 Thread Dave S
On Friday, March 25, 2016 at 12:37:32 PM UTC-7, Dave S wrote: > > > On Friday, March 25, 2016 at 12:22:22 PM UTC-7, Anthony wrote: >> >> Do you have an __init__.py in /applications as well as /uploader? >> >> Anthony >> > > Ha! I just figured it out, and saw your message as I came back to report.

[web2py] Re: web2py 2.14.2

2016-03-28 Thread Dave S
On Monday, March 28, 2016 at 2:52:02 AM UTC-7, rif wrote: > > After a long while of not updating one app running on gae I tried 2.14.3 > and I have the error below. Can anyone suggest a fix? > > Thanks, > -rif > > Unable to store in FILE: > /base/data/home/apps/s~firmoasa/11.391689743844727003

[web2py] Re: Fields question

2016-03-28 Thread lucas
thanx anthony, you're a expert on those lambda functions. 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

[web2py] Re: mouse scrolling problem on web2py pages with (ubuntu 14.04) firefox 44.0.2

2016-03-28 Thread Dave S
On Sunday, March 27, 2016 at 8:34:43 PM UTC-7, Anthony wrote: > > I think it's a problem with the new stupid.css - same problem in Firefox > on Windows. By this morningin, it looks okay on W10 with FF 45.0.1, and on an older Fedora with FF 45.0.1. And the video links are handy! /dps --

Re: [web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Richard Vézina
I don't understand Carlos, do you have a "cuba" controller/function in country/state/city controller files? Are you going to create a function for any given possible contry (+192)? There will be a lot of duplicated code... Why don't you have a location.py controller file with a contry/state/city f

[web2py] Re: DHTMLX javascript library

2016-03-28 Thread Dave S
On Sunday, March 27, 2016 at 6:44:24 PM UTC-7, Henk huisman wrote: > > Hi me again, > > It appears that the Timeline functionality that I was looking for is only > included in the DHTMLX Pro Commercial Version which costs 490$. > > I have been looking into a lot of products for functionality t

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

2016-03-28 Thread Dave S
On Thursday, February 25, 2016 at 12:11:04 AM UTC-8, Niphlod wrote: > > if anyone wants to familiarize with the scheduler, I always recommend > https://github.com/niphlod/w2p_scheduler_tests > +1 on this. This weekend, I picked up details on how to set args. /dps -- Resources: - http://web2py

Re: [web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Carlos Cesar Caballero Díaz
They provide related but different information with a different structure (country show main country info, an basic States and Cities info and so on), The separate country, city, and state controller files are not strictly needed, but I prefer to maintain the code structure for extensibility an

[web2py] Constant login request on PythonAnywhere

2016-03-28 Thread Jeff Riley
Hello all. I have deployed on PythonAnywhere and everything is working except anytime I leave the browser window to go to another tab or do something else on the computer I have to log back in to my application. It is doing this with every browser I have tried (IE 11, Chrome) except Windows E

[web2py] What does user_signature = True mean here?

2016-03-28 Thread Jacob Devin
form=SQLFORM(db.info,row.id,user_signature=True).process() -- 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 subsc

Re: [web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Anthony
What is the nature of these controllers and the functions they contain? Do you really need separate country, city, and state controller files, or could you instead have a single function in a single controller that retrieves data for a given country, city, state depending on the set of URL args

Re: [web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Carlos Cesar Caballero Díaz
Hi Antony, I was not clear enough... I have a country controller with a default index function, and the same with a state controller and a city controller, so right now: if I call www.myapp.com/country/cuba I get my country page for Cuba (the index function of country controller with cuba as p

[web2py] Re: Fields question

2016-03-28 Thread Anthony
On Monday, March 28, 2016 at 7:40:25 AM UTC-4, lucas wrote: > > hey everyone, > > lets say you have a fields definition like: > > Field('county', db.county, requires=IS_IN_DB(db, db.county.id, > '%(county)s: *mcp.o(%(circuit)i)* CIRCUIT')), > IS_IN_DB(db, db.county.id, lambda r: '%s: %s CIRCU

[web2py] Re: web2py rest api endpoint gives invalid path output

2016-03-28 Thread Anthony
First, temporarily get rid of your routes.py file, restart the web server, and try accessing the API via complete URLs (i.e., including the app and controller names). If it's still not working, then pack and attach a minimal app that reproduces the problem. Anthony On Sunday, March 27, 2016 at

[web2py] Re: Could you write the code for RESTFUL api used in the web2py app controller and in the phonegap view?

2016-03-28 Thread Anthony
This question is not specific enough for anyone to write any code. Also, note that web2py has nothing to do with Phonegap, so if you have questions about what to do on the Phonegap side of things, this may not be the best place to ask. We should be able to help with the server-side REST API, but

[web2py] Re: Trying to reach a routes behavior

2016-03-28 Thread Anthony
I think there is some confusion of terminology. In web2py, a controller is a file in the /controllers folder, and each function in that file is an action reachable via an HTTP request. A view is not executed independently but associated with a particular function in a controller. With this term

Re: [web2py] Re: sidebar

2016-03-28 Thread Yoel Benitez Fonseca
I'm using a structure similar to `response.menu` to generate my sidebar, in that way you can have general items inserted in your sidebar and customize it later. 2016-03-27 19:11 GMT-04:00, 黄祥 : > pls try in your view : > {{right_sidebar_enabled = True}} > > {{block right_sidebar}} > {{include 'def

[web2py] Trying to reach a routes behavior

2016-03-28 Thread Carlos Cesar Caballero Díaz
Hi, I am trying to reach a routes behavior for an app but I can´t, so I need some tips... I have in my app countries, cities and states (or province), countries have states and states have cities. Each une of them have its own controller and view, and I want the next behavior: www.myapp.com/

[web2py] Re: I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-28 Thread Valdeck Rowe
Never mind, problem solved. I suspect that I wasn't referencing the object attribute - which is the source for the message - properly. Lesson learned - it does help to read the underlying code. On Monday, March 28, 2016 at 7:12:55 AM UTC-5, Valdeck Rowe wrote: > > Ok still having an issue with

[web2py] Re: I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-28 Thread Valdeck Rowe
Ok still having an issue with web2py email: I'm still using the default email setup with my credentials in the appconfig file I've moved past the payload issue. It turns out that the message variable wasn't receiving a value as intended. That sorted, I'm now getting another inscrutable error m

[web2py] Fields question

2016-03-28 Thread lucas
hey everyone, lets say you have a fields definition like: Field('county', db.county, requires=IS_IN_DB(db, db.county.id, '%(county)s: *mcp.o(%(circuit)i)* CIRCUIT')), see in bold, how do you run a function under that string-returned format string? where o is just the function name under t

[web2py] Re: Could you write the code for RESTFUL api used in the web2py app controller and in the phonegap view?

2016-03-28 Thread eric cuver
it is better that you put your code like this we will help you to see what's wrong Le lundi 28 mars 2016 07:16:26 UTC+2, Rgb Aston a écrit : > > Please don't send me the link of the documentation. I seriously tried it > but it's not working. Please write the codes finally as I have given up > s

[web2py] Re: model define_table select

2016-03-28 Thread lucas
yes massimo, that almost worked. as suggested, i first changed it under the db.py model and then set the request.vars.state_id to the state_id variable just before creating and assigning the SQLFORM. it threw back an empty set of counties. so i thought maybe request is reaching that deep int

[web2py] Re: web2py 2.14.2

2016-03-28 Thread rif
After a long while of not updating one app running on gae I tried 2.14.3 and I have the error below. Can anyone suggest a fix? Thanks, -rif Unable to store in FILE: /base/data/home/apps/s~firmoasa/11.391689743844727003/applications/firmoasa/models/db.py Traceback (most recent call last): Fi

[web2py] Re: In the dropdown here how to remove Profile?

2016-03-28 Thread Jacob Devin
Thank you Stifan. How do I add extra fields to the dropdown table? On Monday, March 28, 2016 at 2:26:15 AM UTC+5:30, 黄祥 wrote: > > in models : > auth.settings.actions_disabled = ['profile'] > > custom_auth_table = db[auth.settings.table_user_name] > > custom_auth_table.first_name.readable = False

Re: [web2py] Re: Auth_user add username field

2016-03-28 Thread Sukrut Joshi
how to set string size in sql form db.define_table('stud_personal', Field('phone_no',string(10), requires=IS_NOT_EMPTY())) is it correct? On Thu, Mar 24, 2016 at 7:21 AM, Michael Beller wrote: > yes - I think something like this could/should work: > > db.auth_user.first_name.