[web2py] Problem with rname?

2014-04-01 Thread Johann Spies
Database: Postgresql I get this regularly when I modify a table's definition (tables using rname): ProgrammingError: relation "org_unit" does not exist I either set 'migrate = False' or drop the table, delete the entry in databases and do it over - that is when the table is empty. I suspect it

[web2py] citext field type

2014-04-01 Thread Johann Spies
I suspect databases like Oracle and other bigger ones might have similar types. Citext is a case insensitive text field type (an extention to Postgresql). I am just wondering whether it will be possible to make use of citext from web2py in future without having to change the table definition in th

[web2py] Re: Published my collection of plugins

2014-04-01 Thread Richard
Kenji, I try to use the nice (modal) Dialog widget with a Web2py app. It starts but keeps ths status loading... In the controller: dlg_add_role = DIALOG(LOAD(f='add_role', ajax=True), title='Add role', close_button='close', renderstyle=True) return dict(dlg_add_role=dlg_add_role,

[web2py] Re: New Merchant service -- WePay.com

2014-04-01 Thread Gour
On Mon, 31 Mar 2014 14:31:57 -0700 (PDT) Joe Barnhart wrote: > These guys look very much like Stripe.com as credit-card merchant > service providers -- that is to say, VERY good! Stripe was, last time I did check, US-only. What about WePay and EU customers? Sincerely, Gour -- A person who h

[web2py] after_update callback question

2014-04-01 Thread mcamel
Hello, I'm trying to get a solid way of triggering an action, "after" an update, based on the data "before" the update. One approach is building an SQLFORM, inject the old values as hidden fields, validate it and do the update and triggers manually, but then you are limited to use this FORM (i

Re: [web2py] Re: Published my collection of plugins

2014-04-01 Thread Richard Vézina
The thing with Modal from bootstrap is that the form are embeded at the same level, I mean they are both in the same page even if you build it with a component... The way to workaround this issue is to give a name to your form (form.process(formname=...).accepted:). There is this ressource that ca

[web2py] web2py logo - need immediate help

2014-04-01 Thread Massimo Di Pierro
Any good designer on the list? I need a web2py logo similar to this one http://web2py.com/init/static/images/web2py_logo.png but done in vectorial format, white on black. No shadows. It should also say below "Conference, 2014". It will be printed on mugs. Some creativity allowed but not too

[web2py] Re: New Merchant service -- WePay.com

2014-04-01 Thread villas
@Gour, maybe this is of interest... https://stripe.com/blog/open-betas-in-europe -- 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 messa

[web2py] Re: New Merchant service -- WePay.com

2014-04-01 Thread Gour
On Tue, 1 Apr 2014 07:36:47 -0700 (PDT) villas wrote: > @Gour, maybe this is of interest... Only partly 'cause I'm in Croatia. :-) Sincerely, Gour -- Thus the wise living entity's pure consciousness becomes covered by his eternal enemy in the form of lust, which is never satisfied and whi

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Adnan Smajlovic
Atar, my partner will do it. She'll send it as soon as it's ready... On Tue, Apr 1, 2014 at 10:31 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Any good designer on the list? > I need a web2py logo similar to this one > >http://web2py.com/init/static/images/web2py_logo.png > >

[web2py] memory leak?

2014-04-01 Thread Rick Ree
Hi, If I create a new app and put a single function in default.py: def f(): return dict(a=list(range(10))) and then repeatedly call this using wget, e.g. wget http://localhost:8000/default/f.html, then memory usage of web2py will creep higher with each call. Is this a memory leak, or w

[web2py] Using Post mail in CentOS for Web2py

2014-04-01 Thread Austin Taylor
Hello, I'm trying to setup web2py to use mail for linux. I already have linux configured, so I don't need to use the configuration settings in db.py. For example, I could type 'mail -s "test email" u...@domain.com' and send an e-mail. How could I incorporate web2py's register/lost password fea

Re: [web2py] Using Post mail in CentOS for Web2py

2014-04-01 Thread Austin Taylor
Solved it! mail = auth.settings.mailer mail.settings.server = '127.0.0.1:25' mail.settings.sender = 'testu...@domain.com' mail.settings.tls = False mail.settings.login = None On Tue, Apr 1, 2014 at 11:04 AM, Austin Taylor wrote: > Hello, > > I'm trying to setup web2py to use mail for linux. > >

[web2py] Re: after_update callback question

2014-04-01 Thread Anthony
_after_update of course runs *after* the records have been updated in the database, so if you use the Set to check those records in the _after_update callback, they will therefore now have the new values. How could it be any other way? Accessing the Set in the _after_update callback can still be

[web2py] [JOB] Looking for 1 web2py dev in Taipei

2014-04-01 Thread Michele Comitini
Is there anyone from Taipei (TW)? I have a friend who needs 1 full time web2py developer in Taipei. Experience with AWS and Social Datamining are a plus. English language required. Feel free to contact me for more info. Thank you! mic -- Resources: - http://web2py.com - http://web2py.com/bo

[web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2014-04-01 Thread Richard
Hello, I want to get rid of python entirely. As you probably know, I don't see great future in Python 3000 and since we can't fighting the Javascript dominance in webapp development world, I resign... I want to port web2py to javascript by rewriting all piece of it except the DAL because it too

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2014-04-01 Thread Mirko Scavazzin
April's fool ! :) 2014-04-01 17:44 UTC, Richard : > Hello, > > I want to get rid of python entirely. As you probably know, I don't see > great future in Python 3000 and since we can't fighting the Javascript > dominance in webapp development world, I resign... I want to port web2py to > > javascri

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2014-04-01 Thread Richard Vézina
:D Richard On Tue, Apr 1, 2014 at 1:45 PM, Mirko Scavazzin wrote: > April's fool ! :) > > 2014-04-01 17:44 UTC, Richard : > > Hello, > > > > I want to get rid of python entirely. As you probably know, I don't see > > great future in Python 3000 and since we can't fighting the Javascript > > dom

[web2py] Scheduler - clarification around heartbeat, and setting up tasks

2014-04-01 Thread Kiran Subbaraman
Hello, I have setup the scheduler to execute on three different tasks Task A, B, and C Also, have setup the scheduler's heartbeat to 20seconds There are no further specific configurations. It works well. Have turned on the debug log, and notice that there is a constant output from the tasks there

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Dave S
On Tuesday, April 1, 2014 7:57:57 AM UTC-7, Adi wrote: > > Atar, my partner will do it. She'll send it as soon as it's ready... > > I'll have my daughter get ready for next year /dps > > On Tue, Apr 1, 2014 at 10:31 AM, Massimo Di Pierro > > > wrote: > >> Any good designer on the list

[web2py] Secure RSS Feeds

2014-04-01 Thread Austin Taylor
Hi guys, I'm trying to get secure RSS feeds, but when I try to make the request using feed parser I can't get the request. How could I use my certificates with feedparser? I'm currently running web2py hosted by apache here is my code controller: import feedparser def index(): d = feedpar

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Anthony
On Tuesday, April 1, 2014 2:41:24 PM UTC-4, Dave S wrote: > > > > On Tuesday, April 1, 2014 7:57:57 AM UTC-7, Adi wrote: >> >> Atar, my partner will do it. She'll send it as soon as it's ready... >> >> > I'll have my daughter get ready for next year > > /dps > Reminds me of this: https://gr

[web2py] Re: Scheduler - clarification around heartbeat, and setting up tasks

2014-04-01 Thread Anthony
Can you provide more detail regarding how you added the tasks and to what values you set the relevant parameters. The heartbeat does not determine the frequency of tasks but the frequency with which the scheduler checks the task queue for the arrival of new tasks to assign to workers. To set th

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Dave S
On Tuesday, April 1, 2014 12:59:11 PM UTC-7, Anthony wrote: > > On Tuesday, April 1, 2014 2:41:24 PM UTC-4, Dave S wrote: >> >> >> >> On Tuesday, April 1, 2014 7:57:57 AM UTC-7, Adi wrote: >>> >>> Atar, my partner will do it. She'll send it as soon as it's ready... >>> >>> >> I'll have my daughte

[web2py] Re: [JOB] Looking for 1 web2py dev in Taipei

2014-04-01 Thread Derek
I'm only about 11,000 km away from TaiPei, and I can work full time 1 hour a day for 3 days a week. I have exactly 0 hours experience with AWS and Social datamining, but I am an expert at speaking English! Salary is negotiable, but let's start negotiation around $1,000,000 a year. On Tuesday, A

[web2py] Re: memory leak?

2014-04-01 Thread Derek
question 1 - sure, the memory should be reclaimed eventually. You could tell the gc to collect immediately, but it operates on it's own time. Even the .NET VM will hold on to memory for longer than it should if there's nothing that needs that memory. You just call gc.collect() to have it collec

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Derek
True, iATS charges less for nonprofits, so that may be worth looking into. Their API seems pretty simple as well. On Monday, March 31, 2014 5:40:28 PM UTC-7, Massimo Di Pierro wrote: > > No credit card payment processor is free. They all charge more or less 3%. > > On Monday, 31 March 2014 16:13:

Re: [web2py] Re: [JOB] Looking for 1 web2py dev in Taipei

2014-04-01 Thread Michele Comitini
$100 (Taiwan dollar): http://www.wolframalpha.com/input/?i=100TWD%20in%20%24 about 33K US$ or 24K € 2014-04-01 22:50 GMT+02:00 Derek : > I'm only about 11,000 km away from TaiPei, and I can work full time 1 hour a > day for 3 days a week. I have exactly 0 hours experience with AWS a

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2014-04-01 Thread samuel bonill
node.js(callback hell) sucks i love web2py !!! El martes, 1 de abril de 2014 17:44:01 UTC, Richard escribió: > > Hello, > > I want to get rid of python entirely. As you probably know, I don't see > great future in Python 3000 and since we can't fighting the Javascript > dominance

[web2py] Writable = False with Edit mode gives tampering with form's record_id error

2014-04-01 Thread Omi Chiba
I have simple table and everything works fine with View, Add, Edit. It has two key field and I want to protect (Writabe = False) in Edit Mode. When I set writable = False in Controller, They're readonly in Edit mode but I get tampering with form's record_id.. error when I submit. Any idea? *C

[web2py] Re: memory leak?

2014-04-01 Thread Rick Ree
On Tuesday, April 1, 2014 3:55:43 PM UTC-5, Derek wrote: > > question 1 - sure, the memory should be reclaimed eventually. You could > tell the gc to collect immediately, but it operates on it's own time. Even > the .NET VM will hold on to memory for longer than it should if there's > nothing th

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Dave S
On Tuesday, April 1, 2014 1:29:02 PM UTC-7, Dave S wrote: > > > On Tuesday, April 1, 2014 12:59:11 PM UTC-7, Anthony wrote: >> >> On Tuesday, April 1, 2014 2:41:24 PM UTC-4, Dave S wrote: >>> >>> >>> >>> On Tuesday, April 1, 2014 7:57:57 AM UTC-7, Adi wrote: Atar, my partner will do it.

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Matheus Cardoso
So, if someone uses Stripe, he will pay only the fee from Stripe and this will cover the PayPal's tax? On Monday, March 31, 2014 6:57:14 AM UTC-3, Mika Sjöman wrote: > > Hi > > I wonder if anyone here has implemented recurring payments with Paypal > here with Web2py? Any experience with this an

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread José Ricardo Borba
I'm not a designer, but I tried to do this! If you wanto to use it, feel free for any use. Best Regards, 2014-04-01 19:51 GMT-03:00 Dave S : > > > On Tuesday, April 1, 2014 1:29:02 PM UTC-7, Dave S wrote: >> >> >> On Tuesday, April 1, 2014 12:59:11 PM UTC-7, Anthony wrote: >>> >>> On Tuesday,

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Greg Vaughan
Stripe charges me (in Australia) 2.7% + 30cents for each transaction processed, Visa, Mastercard or American Express. No other fees that are typically charged by other alternatives (Authorize.net) monthly fee, annual fee, chargeback fee etc... it is very much the simplest and most direct... pay

Re: [web2py][Javascript] Massimo here searching for some javascript devs ready to port web2py in JS

2014-04-01 Thread Massimo Di Pierro
LOL On Tuesday, 1 April 2014 16:24:11 UTC-5, samuel bonill wrote: > > node.js(callback hell) sucks > > i love web2py !!! > > El martes, 1 de abril de 2014 17:44:01 UTC, Richard escribió: >> >> Hello, >> >> I want to get rid of python entirely. As you probably know, I don't see >> g

[web2py] Re: memory leak?

2014-04-01 Thread Massimo Di Pierro
This should not be happening. What OS? What wev2py version? On Tuesday, 1 April 2014 10:00:08 UTC-5, Rick Ree wrote: > > Hi, > > If I create a new app and put a single function in default.py: > > def f(): > return dict(a=list(range(10))) > > and then repeatedly call this using wget, e.g. w

[web2py] Re: memory leak?

2014-04-01 Thread Rick Ree
Ubuntu 12.04 and 13.10. I'm running web2py from the git repo, but observed this in 2.8.2 as well. On Tuesday, April 1, 2014 10:40:55 PM UTC-5, Massimo Di Pierro wrote: > > This should not be happening. What OS? What wev2py version? > > On Tuesday, 1 April 2014 10:00:08 UTC-5, Rick Ree wrote: >> >

[web2py] Using Web2py on Windows 2008 with IIS 7.5

2014-04-01 Thread Guy Koppelman
I will be glad if somebody can refer my to a detailed step by step instructions for setting web2py on windows 2008/2012 with iis 7.5/8 I tried using fast cgi but with no success. Thanks Guy -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2

[web2py] Re: Install in hostgator

2014-04-01 Thread RTBS
To try to narrow down where my error is I executed my *.fcgi file. Please see below. I still get Error 500 when visiting the domain. How do these parameters get set? [~/public_html]# ./dispatch.fcgi WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCG

[web2py] web2py over http?

2014-04-01 Thread Daniel McBrearty
according to http://web2py.com/books/default/chapter/29/09/access-control "Auth has an optional secure=True argument, which will force authenticated pages to go over HTTPS" by implication I take this to mean that from gluon.tools import Auth auth = Auth(db, secure=False) in db.py should mak

[web2py] Re: how to embed a d3.js script in a view correctly?

2014-04-01 Thread Sihui Huang
Hi Martina, Thanks for posting this! It's very helpful! I'm also trying to use d3 in web2py. I follow your example, it works! But I don't know how to make to circle appear above the copyright 2013 -- powered by web2py line. Here's the html file: {{response.files.append(URL(r=request,c='static

Re: [web2py] Re: Scheduler - clarification around heartbeat, and setting up tasks

2014-04-01 Thread Kiran Subbaraman
Anthony, Thanks for the explanation, helps me understand scheduler better. I will try the task configuration now. This is my scheduler and task definition: sched_db = DAL(...postgres...) scheduler = Scheduler(heartbeat=20) # Task A scheduler.que

Re: [web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Martin Weissenboeck
Stripe looks good, but could not be used in Austria/Europe. Sorry! :-( Martin 2014-04-02 5:38 GMT+02:00 Greg Vaughan : > Stripe charges me (in Australia) 2.7% + 30cents for each transaction > processed, Visa, Mastercard or American Express. No other fees that are > typically charged by other al

Re: [web2py] Re: Published my collection of plugins

2014-04-01 Thread Rahul
Hi Kenji, Thanks! for the wonderful widgets. I am already using a few in my web2py projects. They make my life simple. Sincerely, Rahul D. On Tuesday, April 1, 2014 7:20:30 PM UTC+5:30, Richard wrote: > > The thing with Modal from bootstrap is that the form are embeded at the > same l