Re: [web2py] NameError one way. 404 NOT FOUND the other...

2012-08-20 Thread thinkwell
Thanks for your assistance everybody. For this particular issue, I suppose I'll just go with string formatting instead of templates; that'll work just as well for now until I understand web2py better. I do appreciate the responsiveness of the web2py mailing list. On Saturday, August 18, 2012 6:

Re: [web2py] NameError one way. 404 NOT FOUND the other...

2012-08-18 Thread Marin Pranjić
If you set run parameters to: -a password You will not get gui popup On Aug 18, 2012 9:56 PM, "thinkwell" wrote: I've set web2py.py as debug file, but it's irritating to have the gui pop open all the time. Also, the TK server window refuses to close after I stop debugging, so after a time there'

Re: [web2py] NameError one way. 404 NOT FOUND the other...

2012-08-18 Thread Anthony
You might also try: if 0: from gluon import * That will tell the IDE about all the web2py global objects that get added to the execution environment (they're all exposed in /gluon/__init__.py). Anthony On Saturday, August 18, 2012 3:56:53 PM UTC-4, thinkwell wrote: > > I've set web2py.py as de

Re: [web2py] NameError one way. 404 NOT FOUND the other...

2012-08-18 Thread thinkwell
I've set web2py.py as debug file, but it's irritating to have the gui pop open all the time. Also, the TK server window refuses to close after I stop debugging, so after a time there's this proliferation of server windows. :-| I've just included the lines below in each file, which helps autoc

Re: [web2py] NameError one way. 404 NOT FOUND the other...

2012-08-18 Thread Marin Pranjić
You can run web2py in wingide if you set web2py.py as main debug file. On Aug 18, 2012 9:08 PM, "thinkwell" wrote: Hello everyone, I'm working on emailing a message and I'm having some unexpected issues. Here is my code based on the web2py book: from gluon.tools import Mail from report_vars im

[web2py] NameError one way. 404 NOT FOUND the other...

2012-08-18 Thread thinkwell
Hello everyone, I'm working on emailing a message and I'm having some unexpected issues. Here is my code based on the web2py book: from gluon.tools import Mail from report_vars import * report_month = '7-2012' mail = Mail() mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = o