Do you have a db in model? try print db.tables print globals()
On Mar 18, 1:05 am, Jeffield <[email protected]> wrote: > yep. > > On Mar 17, 11:47 pm, Yarko Tymciurak <[email protected]> wrote: > > > On Wed, Mar 18, 2009 at 12:15 AM, Jeffield <[email protected]> wrote: > > > > python web2py.py -S web2py_wiki -M > > > .... now what.....?? > > > I did a "dir" and it appeared that I had nothing in my local > > > namespace, > > > checked the book for reference on this .... nothing... > > > Are you running this from your root web2py folder (where web2py.py exists)? > > > > On Mar 17, 12:18 pm, Yarko Tymciurak <[email protected]> wrote: > > > > On Tue, Mar 17, 2009 at 12:42 PM, Wes James <[email protected]> wrote: > > > > > > On Tue, Mar 17, 2009 at 11:39 AM, Yannick <[email protected]> > > > wrote: > > > > > > > Hello mate, > > > > > > Just wonder if there is a debugging mode with Web2py ? If yes how > > > > > > can > > > > > > I enable it ? If no maybe it can be a good feature to add for > > > > > > developer since it will boost productivity during the development > > > > > > phase. > > > > > Hi Yannick - > > > > > There are a few things at your disposal: > > > > > - as you know, the admin pages w/ tickets let you develop / test > > > rapidly; > > > > - python web2py.py --help shows a few more options: > > > > - --debug level (actually, I have never used - so I can not say > > > much > > > > about this) > > > > - -S appname --- this is great: it gives you shell access (a > > > command > > > > line) to your running app > > > > - -S appname -M ---- this loads your model definitions also; if > > > you > > > > have ipython installed, then with completions this is really > > > useful; you > > > > can run both a shell (like this) and your server at the same time. > > > > - a few convenience items: -s server will set your server name; > > > > -t > > > > timeout will set request timesouts; > > > > > I use -S xxx -M, and the web interface (and ipython - tab ==> code > > > > completion; really good stuff). When I want to debug, single step > > > through > > > > someone else's code (ok, I have to debug my own too ;-), I use a > > > commercial > > > > product - WingIDE (it's run by a couple of great guys, one on the PSF > > > > board). > > > > > I find WingIDE very useful. If you're at the conference, Stephan is a > > > few > > > > Wing's to raffle, including one to be raffled at the web2py dojo on > > > Saturday > > > > night. If you participate in the PyCon2009 code sprints Wingware may > > > again > > > > this year give WingIDE licences to participants (a _great_ reason to go > > > to > > > > code sprints), and in the past has given really good discount coupons to > > > > conference attendees. > > > > > Hope that helps. > > > > > Yarko > > > > > > > Thank You, > > > > > > > Yannick P. > > > > > > Have you tried wingide? > > > > > > -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

