copy mannually the pydal in web2py gluon/packages folder... which is what git clone --recursive web2py repo should do...
Richard On Thu, May 7, 2015 at 3:02 PM, José Ricardo Borba <[email protected]> wrote: > Sorry about that title, but I'm seeing in the messages that is a number of > messages with pydal "connection" errors, even with some (little) older > versions. > > My issue with MONGODB is (at some point) "replicated" with MSSQL, @Alan > (don't know about what database). > > So, after (another) installation of web2py (cloning from github), some > strange things happen this time. Follow the output from command line: > > <code> > Cloning into 'w2p'... > remote: Counting objects: 31116, done. > remote: Compressing objects: 100% (4/4), done. > remote: Total 31116 (delta 0), reused 0 (delta 0), pack-reused 31111 > Receiving objects: 100% (31116/31116), 32.08 MiB | 98.00 KiB/s, done. > Resolving deltas: 100% (18762/18762), done. > Checking connectivity... done. > Submodule 'gluon/packages/dal' (https://github.com/web2py/pydal.git) > registered for path 'gluon/packages/dal' > Cloning into 'gluon/packages/dal'... > remote: Counting objects: 30227, done. > remote: Compressing objects: 100% (41/41), done. > remote: Total 30227 (delta 29), reused 0 (delta 0), pack-reused 30186 > Receiving objects: 100% (30227/30227), 30.27 MiB | 474.00 KiB/s, done. > Resolving deltas: 100% (18157/18157), done. > Checking connectivity... done. > fatal: reference is not a tree: 04ffbb371c59bfe253cae7865670c132b9b7eb44 > Unable to checkout '04ffbb371c59bfe253cae7865670c132b9b7eb44' in submodule > path 'gluon/packages/dal' > </code> > > So, when I try to run web2py from the command line, this is the following > message: > > <code> > [me@mycomputer]$ python2 web2py.py -a 123 -i 0.0.0.0 > Traceback (most recent call last): > File "web2py.py", line 18, in <module> > import gluon.widget > File "/home/ricardo/Documents/proj/w2p210c/gluon/__init__.py", line 29, > in <module> > "You can also download a complete copy from http://www.web2py.com." > RuntimeError: web2py depends on pydal, which apparently you have not > installed. > Probably you cloned the repository using git without '--recursive' > To fix this, please run (from inside your web2py folder): > > git submodule update --init --recursive > > You can also download a complete copy from http://www.web2py.com. > </code> > > So, until now, I can't test the Paolo Valleri solution for issue #170 of > pydal. > > Any Ideas? > > Best regards, > > --- > José Ricardo Borba > > -- > 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. > -- 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.

