dal issues when running from the repo

65 views
Skip to first unread message

Mariano Reingart

unread,
Feb 4, 2015, 7:23:18 PM2/4/15
to web2py-d...@googlegroups.com
I'm trying to use the latest dev master trunk from github, but I got this issue:

reingart@s5ultra:~$ git clone g...@github.com:web2py/web2py.git --recursive
Clonar en «web2py»...
remote: Counting objects: 29392, done.
remote: Total 29392 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (29392/29392), 30.21 MiB | 174.00 KiB/s, done.
Resolving deltas: 100% (17625/17625), done.
Checking connectivity... hecho.
Submodule 'gluon/packages/dal' (https://github.com/web2py/pydal.git) registered for path 'gluon/packages/dal'
Clonar en «gluon/packages/dal»...
remote: Counting objects: 29145, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 29145 (delta 7), reused 2 (delta 1)
Receiving objects: 100% (29145/29145), 29.96 MiB | 173.00 KiB/s, done.
Resolving deltas: 100% (17376/17376), done.
Checking connectivity... hecho.
Submodule path 'gluon/packages/dal': checked out 'b533d6a7a8da8db13d73fbf706cc41cff3f05f8f'
reingart@s5ultra:~$ cd web2py
reingart@s5ultra:~/web2py$ python web2py.py -aa
Traceback (most recent call last):
  File "web2py.py", line 18, in <module>
    import gluon.widget
  File "/home/reingart/web2py/gluon/__init__.py", line 36, in <module>
    from dal import DAL, Field
  File "/home/reingart/web2py/gluon/dal.py", line 135, in <module>
    from .contrib import pypyodbc as pyodbc
  File "/home/reingart/web2py/gluon/contrib/pypyodbc.py", line 439, in <module>
    raise OdbcNoLibrary('ODBC Library is not found. Is LD_LIBRARY_PATH set?')
gluon.contrib.pypyodbc.OdbcNoLibrary: 'ODBC Library is not found. Is LD_LIBRARY_PATH set?'

With mercurial (googlecode) it also gives other error:

reingart@s5ultra:~$ hg clone https://rein...@code.google.com/p/web2py/ web2py_googlecode
1019 files updated, 0 files merged, 0 files removed, 0 files unresolved
reingart@s5ultra:~$ cd web2py_googlecode/
reingart@s5ultra:~/web2py_googlecode$ python web2py.py -aa
Traceback (most recent call last):
  File "web2py.py", line 18, in <module>
    import gluon.widget
  File "/home/reingart/web2py_googlecode/gluon/__init__.py", line 37, in <module>
    from sqlhtml import SQLFORM, SQLTABLE
  File "/home/reingart/web2py_googlecode/gluon/sqlhtml.py", line 34, in <module>
    from gluon.dal import _default_validators
ImportError: cannot import name _default_validators

I'm doing something wrong?
Sorry if I'm missing something, 

Best regards,

Massimo DiPierro

unread,
Feb 4, 2015, 7:39:20 PM2/4/15
to web2py-d...@googlegroups.com
1) yes there is a bug that it tries import odbc and it should not
2) mercurial is out of sync with git at this point will fix it

--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Niphlod

unread,
Feb 5, 2015, 3:38:26 AM2/5/15
to web2py-d...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages