On 9 February 2015 at 20:51, Massimo Di Pierro <[email protected]>
wrote:

> Can you try:
>
> python web2py.py -S welcome
> >>> from gluon.dal import _default_validators
>
> what error do you get?
>

I had to get web2py working so I just unpacked a web2py_src.zip over the
existing installation.

Today I did a new "git clone" and then got the same pydal message when I
tried to run web2py.  After
git_submodule... as suggested by the error mesage web2py did run calling
the welcome app:

In [2]: from gluon.dal import _default_validators
  File "<ipython-input-2-46bef7466216>", line 1
    from gluon.dal import _default_validators
                                   ^
SyntaxError: invalid syntax



> Do you have a file called gluon/dal.py?
>
> No

But I see the following difference between the newly cloned version and the
one I unpacked from the zipfile:

In the latter dal is under gluon/dal/
and in the one from git: gluon/packages/dal/


Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to