[web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread Ron Chatterjee
On that note, may be that will be a good example to capture on the site. How do we use different kind of layout for the look and feel of it. Create active state etc... Even though, its not web2py specific but more of design feature but still, we use them. Just some thoughts...: -) On Thursday,

Re: [web2py] Re: Recaptcha on pythonanywhere.com https error

2015-06-04 Thread Itamar Cohen
No I haven't done use_ssl=True Can't find it in the book. What I did was to https the urls in gluon/tools.py and now it works anyware API_SSL_SERVER = 'https://www.google.com/recaptcha/api' API_SERVER = 'https://www.google.com/recaptcha/api http://www.google.com/recaptcha/api' VERIFY_SERVER =

[web2py] OperationalError: (1045, Access denied for user 'root;malher'@'localhost' (using password: NO))

2015-06-04 Thread Jose Galvan
Hi all.. Iam starting to learn web2py. I have been playing with DAL and was able to import a legacy MySQL DB tables. I did it using the python's prompt and it was possible to do some queries to the tables of the legacy DB...the results of these queries were presented as python dictionary

Re: [web2py] Re: My son made a new web2py logo

2015-06-04 Thread Carlos Costa
Interesting story. 2015-06-02 11:43 GMT-03:00 Massimo Di Pierro massimo.dipie...@gmail.com: web2py was called gluon. Than I was given 24 hours to change or be sued. In retrospect I should have them sue me because of the publicity and because I would have won. Anyway, in 24 web2py was the only

Re: [web2py] Re: Web2py mobile app using Kivy

2015-06-04 Thread Gary Cowell
This UI independence is the most important thing, actually (for me) There's the 'Visual Basic' way of coding, where each control component will contain the business logic for the thing that happens when you press the button. I see this so often. But better, is to have a module, or modules,

[web2py] db define error

2015-06-04 Thread Dan Hett
I am getting an error for this table creation: db.define.table('blade_location', Field('bladeID','reference blade'), Field('locationID','integer'), Field('widgetID','integer'), Field('moduleType')) Getting this error: 1. 2. 3. 4.

Re: [web2py] Re: My son made a new web2py logo

2015-06-04 Thread Vikash Sharma
I second Carlos web2py need a better name. Better now, before transition to Web3py happens. I mean change in version should not change the product name. Regards, Vikash Sharma vikash0...@gmail.com On Tue, Jun 2, 2015 at 8:05 AM, JorgeH jorgeh...@gmail.com wrote: that logo is soo dull and

[web2py] Key error after removing onupdate=auth.archive and modifying tables

2015-06-04 Thread Danel Segarra
I need help. Everything was working fine with my application when I decided to remove onupdate=auth.archive and removed the archive table all crumbled down. This is what I get: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. Traceback (most recent call last): File

[web2py] Upgrade to Web2py 2.10.4 breaks date field search in sqlform.grid

2015-06-04 Thread Mat Miles
I upgraded Web2py to version 2.10.4 on Pythonanywhere which has created a problem with SQLFORM.grid. I have a table that has a date field. When you attempt to search by this date field in a SQLFORM.grid, the date picker no longer appears, just a test box. Date fields are still working fine when

[web2py] How to pass arguments with a form

2015-06-04 Thread Chaitu P
I have a situation where I have several questions displayed on a page and below each of the question there will be a form like student name and email. Once the student clicks on the submit button I want to pass the corresponding question id in the URL. I have seen several examples to pass

[web2py] SMARTGRID and linked_tables - no buttons to edit, delete - only view

2015-06-04 Thread Beat Kohler
Hey guys! on a SMARTGRID I added a linked_table argument. ... no I have only the view button left. No way to modify neither the parent nor the child. What goes wrong.. sorry, what I made wrong? Coding: grid = SQLFORM.smartgrid(db.CUSTOMER, linked_tables=['CUST_PEOPLE'], editable=True) (the

[web2py] Re: RuntimeError: no driver available Sybase

2015-06-04 Thread EF
Before installing the sybase package you suggested, I did another test with a different sybase package (sybpydb) we had installed. $ svc_imagine_dev@imagrfpdev1:[~/web/web2py]$ *python ./web2py.py -S welcome* web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version

[web2py] Re: Field decimal default widget

2015-06-04 Thread Pavel Tyurikov
Thanks for advice. I meen isn't it would be nice to have a defautl widget with right attrs set? I developing mobile-app and notiсed that if INPUT has a number type, the phone shows a numeric keyboard, on clicking on it. So I want to ask to add this functionality as deafult too. понедельник, 1

Re: [web2py] Re: My son made a new web2py logo

2015-06-04 Thread Vikash Sharma
http://www.wepy.com/ domain not available Regards, Vikash Sharma vikash0...@gmail.com On Wed, Jun 3, 2015 at 3:34 PM, António Ramos ramstei...@gmail.com wrote: i suggest WePy reads a litle better! are you wepy now ? 2015-06-02 15:43 GMT+01:00 Massimo Di Pierro

[web2py] Re: DatabaseError: SSL SYSCALL error: EOF detected (Intermitten

2015-06-04 Thread Dan Hett
I read through a few of these threads. If it is indeed a connection issue, how do I test that within Web2Py? I switched the DB to MySQL to see if that would make a difference and received the same error. It seems to create the error after the 5th table creation. It doesn't seem to matter what

[web2py] Re: How to display Google Maps (iFrame?)

2015-06-04 Thread Robert Porter
That sounds like maybe a good idea if I knew how to do that.. So I'll go look into it! Thanks! On Monday, 1 June 2015 17:04:24 UTC-7, 黄祥 wrote: just an idea, why not use components for google maps? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Allow users to comment only for certain period of time

2015-06-04 Thread Chaitu P
Hi Iam new to Python. Iam creating a blog where I want to allow users to comment only for one week from the time I have posted. Can any one let me know how can I use arithmetic operations on date.? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread Ron Chatterjee
What did you use to create the layout like that? Or it came with the bootstrap? Just curious. Looks nice: -) On Thursday, June 4, 2015 at 6:28:57 PM UTC-4, JorgeH wrote: Looks good ;) On Thursday, June 4, 2015 at 4:40:14 PM UTC-5, Ivica Kralj wrote: Hi All, This is my little personal

[web2py] Re: My son made a new web2py logo

2015-06-04 Thread mcm
Massimo, The logo is great given that is the work of a 9yrs old kid! And I like the Pi: reminds me of TeX (see: http://www.ntg.nl/maps/05/34.pdf). http://bit.ly/1JpS181 Being *e* the Euler's Number of course. About global revamp here are my proposed candidates: 1. polymer 2. semantic-ui

[web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread Massimo Di Pierro
This is fantastic! Now if you could somehow include the examples from web2pyslices.com I'd be happy to redirect web2pyslices.com to your site. Massimo On Thursday, 4 June 2015 16:40:14 UTC-5, Ivica Kralj wrote: Hi All, This is my little personal project I have worked on for the last few

[web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread Ron Chatterjee
Adding some examples of design features will be nice. e.g., how to add social networking share button, facebook log in etcjust some thoughts. On Friday, June 5, 2015 at 12:30:31 AM UTC-4, Massimo Di Pierro wrote: This is fantastic! Now if you could somehow include the examples from

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Alex Glaros
right thought I did that... anyway, will give up for now. Instead, will just call regular functions serially with the *The_Controller_to_go_to_Next* in the vars. That way will still be reusable until I figure out how to write it more elegantly. Thanks Dave! Alex -- Resources: -

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Dave S
On Thursday, June 4, 2015 at 1:00:54 PM UTC-7, Alex Glaros wrote: what is syntax for adding vars to direct call to a function? def my_controller() do_anything reusable_find_person_and_return_their_value(), vars=request.vars # how do I specify vars here on this line?

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Dave S
On Thursday, June 4, 2015 at 4:59:59 PM UTC-7, Dave S wrote: On Thursday, June 4, 2015 at 3:10:46 PM UTC-7, Alex Glaros wrote: thanks Dave. I want it to be regular function, not helper. Those seem to be args, not vars; do functions accept dictionaries inside those parens? controller

[web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread JorgeH
Looks good ;) On Thursday, June 4, 2015 at 4:40:14 PM UTC-5, Ivica Kralj wrote: Hi All, This is my little personal project I have worked on for the last few months. www.web2pyref.com Project is in beta and I'm still adding and fixing features, functionalities and content, whenever I

[web2py] markmin, pyfpdf, qr and utf-8-code

2015-06-04 Thread Martin Weissenboeck
What I want to do: - I want to write some pages using markmin. - Headlines should be centered and the date should be aligned right. - These pages contain non-ASCII-characters, therefore I need utf-8. - There should be a qr-code on the first page. - At the end I want to get these

[web2py] Resource webservice built on web2py for web2py comunity [BETA]

2015-06-04 Thread Ivica Kralj
Hi All, This is my little personal project I have worked on for the last few months. www.web2pyref.com Project is in beta and I'm still adding and fixing features, functionalities and content, whenever I get a chance. Please, feel free to express your opinions or constructive suggestions.

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Alex Glaros
thanks Dave. I don't know if I want it to be helper or regular functionwhatever works. Those seem to be args, not vars; do functions accept dictionaries inside those parens? anyway, if reusable_find_person_and_return_their_value is called from within another function, the grid never

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Dave S
On Thursday, June 4, 2015 at 3:10:46 PM UTC-7, Alex Glaros wrote: thanks Dave. I want it to be regular function, not helper. Those seem to be args, not vars; do functions accept dictionaries inside those parens? controller functions don't have parameters. You've said that you've done

[web2py] Re: DatabaseError: SSL SYSCALL error: EOF detected (Intermitten

2015-06-04 Thread Auden RovelleQuartz
another VERY INTERMITTENT error I am getting { web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 Database drivers available: sqlite3, imaplib, pymysql, pg8000 Traceback (most recent call last): File

Re: [web2py] Re: My son made a new web2py logo

2015-06-04 Thread Ron Chatterjee
Not interested. Web2py rules! Thanks : -) On Thursday, June 4, 2015 at 12:53:47 PM UTC-4, Richard wrote: OT, I guess it why it ended... If you want information on weppy, ask Giovanni it creator and maintener of pyDal project : https://github.com/gi0baro/weppy Richard On Thu, Jun 4,

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Alex Glaros
Not sure how your suggestion would be implemented Ron. Can you please give details? Requirement is to have robust, flexible grid search to obtain a value, more functional than just a dropdown select. So by using a separate function with grid search to select a person, users can browse through

Re: [web2py] Re: Crud is deprecated?

2015-06-04 Thread Dave S
On Thursday, June 4, 2015 at 12:25:00 PM UTC-7, Niphlod wrote: And remember that deprecated is meant to give you time to change over to newer stuff, but the deprecated stuff could be removed completely at some point. Your '54 Coupe could be banned from freeways or even public roads

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Alex Glaros
what is syntax for adding vars to direct call to a function? def my_controller() do_anything reusable_find_person_and_return_their_value(), vars=request.vars # how do I specify vars here on this line? do_anything_else return locals() I tried:

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Ron Chatterjee
Interesting. If I want to pitch in, I would say its better to put them in a table like they have it in reddit_clone example and have a search box separately. grid as I understand is better for management of things. For example if someone wants to post something and that person wants to manage

Re: [web2py] Re: My son made a new web2py logo

2015-06-04 Thread Ron Chatterjee
Hope I didn't say anything wrong. It seems the thread ended! lol On Wednesday, June 3, 2015 at 3:50:11 PM UTC-4, Ron Chatterjee wrote: I meant, what does weppy offer that web2py doesn't? Anyway, how about python on rails since its similarity with ruby on rails if IP not an issue with the

Re: [web2py] concatenating strings in group by select

2015-06-04 Thread Kiran Subbaraman
db.executesql(your_sql_statement) should work, I guess. Kiran Subbaraman http://subbaraman.wordpress.com/about/ On Thu, 04-06-2015 8:06 PM, Yebach wrote: Hello I have the following SQL for PostgreSQL select rw_worker , rw_date ,

[web2py] Re: using anyserver.py in production

2015-06-04 Thread Lewis
What about gunicorn as a wsgi server to simply stand between nginx and web2py? Here is what I am going to do: 1. script (Bash) my config so that it is repeatable. This will be similar to the existing scripts supplied with web2py, but with small changes. test it in a new deployment on a clean

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Alex Glaros
Would appreciate any comments from anyone -- 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] Re: My son made a new web2py logo

2015-06-04 Thread Richard Vézina
OT, I guess it why it ended... If you want information on weppy, ask Giovanni it creator and maintener of pyDal project : https://github.com/gi0baro/weppy Richard On Thu, Jun 4, 2015 at 12:31 PM, Ron Chatterjee achatterjee...@gmail.com wrote: Hope I didn't say anything wrong. It seems the

[web2py] concatenating strings in group by select

2015-06-04 Thread Yebach
Hello I have the following SQL for PostgreSQL select rw_worker , rw_date , array_to_string(array_agg(distinct results_woshi.rw_shift),'') AS shifts from results_woshi where rw_date '2015-01-01' and rw_script = 42 group by rw_worker, rw_date order by rw_date The result is

[web2py] Re: Import error for guppy - Appadmin/cache error if guppy installed and ram cache in use

2015-06-04 Thread Bernard Letourmy
Whenever I try to use guppy to display ram cache stats in appadmin (using web2py 2.11.2 with up to date appadmin.py/html ) As recommended on the app admin page itself in : Size of cache: *not available* (requires the Python guppy http://pypi.python.org/pypi/guppy/ library) I get a ticket

Re: [web2py] Re: Crud is deprecated?

2015-06-04 Thread Dave S
On Friday, April 10, 2015 at 4:00:44 PM UTC-7, Dave S wrote: On Friday, April 10, 2015 at 1:50:24 PM UTC-7, Ron Chatterjee wrote: Does it break the backward compatibility if I have crud included in the code? If not, then it shouldn't be a problem in keep using it. Right? I think

[web2py] Re: DatabaseError: SSL SYSCALL error: EOF detected (Intermitten

2015-06-04 Thread Niphlod
one is coming from pyscopg2, the other from pg8000 . By the looks of it, the last is trying to read 5 bytes that aren't there, so it's consistent with the previous analysis of a flaky connection to the database -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Syntax for exiting grid function

2015-06-04 Thread Dave S
On Wednesday, June 3, 2015 at 8:24:40 AM UTC-7, Alex Glaros wrote: This might be a common requirement for many others because it can be used instead of the search widget. The search widget doesn't allow users to browse links to the search options. Example in this case, users may want to

[web2py] Re: concatenating strings in group by select

2015-06-04 Thread Dave S
On Thursday, June 4, 2015 at 7:36:24 AM UTC-7, Yebach wrote: Hello I have the following SQL for PostgreSQL select rw_worker , rw_date , array_to_string(array_agg(distinct results_woshi.rw_shift),'') AS shifts from results_woshi where rw_date '2015-01-01' and rw_script = 42

[web2py] Re: using anyserver.py in production

2015-06-04 Thread Niphlod
On Thursday, June 4, 2015 at 5:57:36 PM UTC+2, Lewis wrote: What about gunicorn as a wsgi server to simply stand between nginx and web2py? gunicorn behind nginx is a popular config, but usually is to have several gevented processes to bind on a single socket. There are several workers

Re: [web2py] Re: Crud is deprecated?

2015-06-04 Thread Niphlod
And remember that deprecated is meant to give you time to change over to newer stuff, but the deprecated stuff could be removed completely at some point. Your '54 Coupe could be banned from freeways or even public roads except under special conditions of historic display. /dps not

[web2py] Re: using anyserver.py in production

2015-06-04 Thread Niphlod
cherrypy or rocket may sustain an average of 50 concurrent users (again, on an average linode server, etc etc etc). no multiprocess usage. no defense against common attacks like slowloris. I'm not advocating at all twisted, tornado or gevent 'cause your app needs to be rewritten to use what

Re: [web2py] Re: Silly out of band question about deploying web2py

2015-06-04 Thread António Ramos
My choice webfaction They have a script to install web2py with apache and you can deploy many apps without knowing shi* about server administration. Also automatic https access Also they know about web2py so they can help you in some way. Just 20 usd /month Go for it!! 2015-06-03 16:53