[web2py] Re: DAL not working in shell

2011-03-25 Thread Nosnam
Thanks to everyone for the help! It was as you expected, I was trying to create (and manipulate) the database using the browser-based shell. I switched to the command line shell and it worked fine. It would be great to see Kevin's proposed changes to the browser-based shell, or at least a mention o

[web2py] Re: DAL not working in shell

2011-03-25 Thread Nosnam
Thanks for the help everyone! It was just as you expected, I was trying to create database connections with the browser-based shell instead of the console shell. Everything seems to work fine in the console. It would be nice to see Kevin's proposed changes to the browser-based shell get rolled into

[web2py] Re: DAL not working in shell

2011-03-25 Thread ron_m
Sorry should have put in link for interest of others, the post on the DAL shell by Kevin is in web2py-developers at https://groups.google.com/forum/?pli=1#!topic/web2py-developers/AbBiV8hoLIw

[web2py] Re: DAL not working in shell

2011-03-25 Thread ron_m
It is in web2py-developers

[web2py] Re: DAL not working in shell

2011-03-25 Thread Kevin Ivarsen
I see that the web2py book describes tarting the shell in Chapter 2 under Starting Up: http://web2py.com/book/default/chapter/02#Starting-up However, I think Chapter 6 should clarify that you need to use the command line shell and not the browser-based shell for doing the interactive examples,

[web2py] Re: DAL not working in shell

2011-03-25 Thread Kevin Ivarsen
Are you using the shell in the web browser, accessed via the Admin app, or the command line shell? There are currently some limitations in the browser-based shell that prevent things like database connections and open file handles from working. (Speaking more precisely, the online shell can onl

[web2py] Re: DAL not working in shell

2011-03-25 Thread DenesL
Please tell us how do you start the shell, which OS and which version of web2py are you using. On Mar 25, 12:12 am, Nosnam wrote: > I'm following along with the web2py book, and got hung up in Chapter > 6:http://web2py.com/book/default/chapter/06#DAL,-Table,-Field > > When I do the following: "d