[web2py] Web2py Mail not working yet, telnet and smtplib working

2013-02-01 Thread Rhys
Hi Everyone, Been trying this for a while now with no luck. telnet works 127.0.0.1 25 and I can send mail through that. I then open up python shell and send email successful also, however whenever I want to send a email through web2py I get this in the postfix log: Feb 1 10:45:06 ip-10-248-23

[web2py] Route on error

2012-10-16 Thread Rhys
;ve updated the error_message with some html code wrapped in tripple quotes for the last resort. I can get a uri like such: http://localhost/this to be re-routed, but if I do something like this http://localhost/app/this/that it doesn't work. The app name is right but the controller or function is wrong. looking forward to the response. Cheers, Rhys --

[web2py] Re: Eclipse and autocomplete

2012-10-09 Thread Rhys
I don't get it has trouble finding the right __init__.py files. - With this I get code code completion with every variable: request/response/db/auth etc. Hope this helps! Cheers, Rhys On Wednesday, April 4, 2012 12:54:06 PM UTC+10, Rod Watkins wrote: > > I know this has been as

[web2py] Re: Contributor Agreement Question

2012-07-11 Thread Rhys
anted. I've signed the agreement. I'll send you a digital copy and I'll also post the original today. Cheers, Rhys On Thursday, July 12, 2012 2:34:56 AM UTC+10, Massimo Di Pierro wrote: > > The contributor agreement serves two purposes: > > 1) states you can do anything

[web2py] Contributor Agreement Question

2012-07-11 Thread Rhys
n? I understand why you have these, yet that is a bold condition which I'm having trouble making it clear. If someone could make it clearer by showing somewhere in the agreement removes such ownership of one individual I'll sign it straight away. Maybe I've missed something? Cheers, Rhys

Re: [web2py] Re: Auth form custom errors

2012-05-07 Thread Rhys
Sorry that was a typo in the response not the actual code, as I just tried it again and it still spat out nothing for the action. You have a keen eye David!! :) Cheers, Rhys On Monday, May 7, 2012 9:38:27 PM UTC+10, David J wrote: > > You have a typo "acton" > >

[web2py] Re: DAL and existing tables

2012-05-07 Thread Rhys
Hey Guys, I'll give that a shot. Maybe I miss understood the migration part. Makes sense now after I read the chapter again. The fake_migrate=true recreates the meta data. Cheers, Rhys On Monday, May 7, 2012 8:22:05 PM UTC+10, villas wrote: > > If the table already physically ex

[web2py] Re: Auth form custom errors

2012-05-07 Thread Rhys
Hey Massimo, The {{form=auth()}} {{form['_acton'] = "/user/login"}} {{=form.custom.begin}} spat out the html without the updated action Cheers, Rhys On Monday, May 7, 2012 12:52:20 AM UTC+10, Massimo Di Pierro wrote: > > Interesting. When you say it did

[web2py] DAL and existing tables

2012-05-07 Thread Rhys
e *.table files Cheers, Rhys

[web2py] Re: Auth form custom errors

2012-05-06 Thread Rhys
end}} The form['_action'] = URL('user/login') or form.attributes['_action'] = URL('user/login') for some reason didn't want to work. Cheers, Rhys On Sunday, May 6, 2012 3:50:52 PM UTC+10, Massimo Di Pierro wrote: > > This is because of the

[web2py] Re: Auth form custom errors

2012-05-05 Thread Rhys
ings.on_failed_authentication = lambda url: redirect(url) > > On Saturday, May 5, 2012 9:51:23 AM UTC-3, Rhys wrote: >> >> I'm creating a custom drop down login form for all pages where the user >> isn't logged in. Once they try and login through this form if it >

[web2py] Auth form custom errors

2012-05-05 Thread Rhys
I'm creating a custom drop down login form for all pages where the user isn't logged in. Once they try and login through this form if it is unsuccessful it redirects to the /user/login page with the auth.login form. How do I get a error if the login has resulted in an invalid login. As there ar

[web2py] Routes for usernames

2012-05-04 Thread Rhys
or * but not to sure how to pass the variable. Cheers, Rhys

Re: [web2py] Re: Welcome App not working on stable build. gluon.contrib (Module doesn't have attribute: contrib)

2012-05-01 Thread Rhys Tague
It was something in the apache config file. I've posted some replies to the thread to the end of this. It was a result from a copy and paste. Cheers, On 2 May 2012 11:49, Massimo Di Pierro wrote: > I cannot reproduce this. > > > On Tuesday, 1 May 2012 16:56:34 UTC-5, Rhys w

[web2py] Re: Welcome App not working on stable build. gluon.contrib (Module doesn't have attribute: contrib)

2012-05-01 Thread Rhys
Solved it! There was a problem in my config for apache. Arrgh!! When I copied and pasted it form a text editor it placed / to signify a new line in one of the paths. Alias path to be exact, and therefor not everything was being located. Thanks Massimo for your comments. Cheers, Rhys On

[web2py] Re: Welcome App not working on stable build. gluon.contrib (Module doesn't have attribute: contrib)

2012-05-01 Thread Rhys
rLog "/opt/local/apache2/logs/airconhive-log" On Wednesday, May 2, 2012 7:56:34 AM UTC+10, Rhys wrote: > > All I did was download the distribution zip. Unzipped it and then ran it. > Nothing else. That is why It's gotten me stumped. > > > On Tuesday, May 1, 2012

[web2py] Re: Welcome App not working on stable build. gluon.contrib (Module doesn't have attribute: contrib)

2012-05-01 Thread Rhys
u do something else? > > On Tuesday, 1 May 2012 05:57:52 UTC-5, Rhys wrote: >> >> Hi All, >> >> I've just installed the latest stable build of the framework and the >> Welcome app is giving me an internal error. The examples app and admin app >> wo

Re: [web2py] Re: Development of the Framework

2011-12-22 Thread Rhys Tague
Thanks Christian, I've had a look at those sites powered by web2py. I'm diving into development! It's great this user group. It's better then others I've been in. I see why you use it more then IRC. Cheers, Rhys On 23 December 2011 11:32, howesc wrote: > Rhys

Re: [web2py] Re: Development of the Framework

2011-12-21 Thread Rhys Tague
Hey Anthony, This is exactly what I was looking for. It clears a lot up. Cheers, Rhys (no one seems to be using nick names so I've dropped my Sententia nick) On 22 December 2011 15:20, Anthony wrote: > Hi Sententia, > > Welcome. A few thoughts below... > > > I was wo