I highly recommend just doing this:

python web2py.py -S myapp -M -N

in a regular shell, and skip the web-based shell. You can even do 
myapp/mycontroller to have a specific controller executed in the context of 
the shell so you can access all of its functions.

Anthony

On Saturday, March 17, 2012 5:47:31 PM UTC-4, Stefan Scholl wrote:
>
> Stefan Scholl <ste...@no-spoon.de> wrote:
> > Overall conclusion: Queries in the web2py web shell work on Mac,
> > with some minor glitch. But different symptoms than the ones on
> > Windows. Have to check again on Windows.
>
> I can't test it this weekend. Windows is for work days. But ...
>
>
> ... ACTUALLY: I think when I tried a query in the shell because
> of a problem with my app at work, I gave up early.  A few days
> later I tried to give a clean test case with a fresh install and
> the example app.
>
> Then this happened: The database administration only knows of the
> db.py in the subdirectory. But the shell only of the main db.py.
> And now we have two things that aren't related: not knowing the
> table and not giving any output.
>
> *sigh*
>
>
>

Reply via email to