Hello,

I was wanting to get an old version of web2py for some tests purposes and 
discover that even the old version of web2py downloaded from github lead to 
the issue related to new modulized dal (aka pydal)... Is this normal, I 
mean that the old version get affected ?

How some one supposed to have access to an earlier fully working web2py 
version?

Notice also that actually we can start web2py shell like so : python 
web2py.py -S welcome -M

It fails with this message :

Traceback (most recent call last):
  File "/.../web2py/version_210-4/web2py/gluon/restricted.py", line 227, in 
restricted
    exec ccode in environment
  File "applications/welcome/models/db.py", line 20, in <module>
    db = DAL(myconf.take('db.uri'), pool_size=myconf.take('db.pool_size', 
cast=int), check_reserved=['all'])
  File "/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/base.py", 
line 171, in __call__
    obj = super(MetaDAL, cls).__call__(*args, **kwargs)
  File "/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/base.py", 
line 457, in __init__
    raise RuntimeError("Failure to connect, tried %d times:\n%s" % 
(attempts, tb))
RuntimeError: Failure to connect, tried 5 times:
Traceback (most recent call last):
  File "/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/base.py", 
line 435, in __init__
    self._adapter = ADAPTERS[self._dbname](**kwargs)
  File 
"/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/adapters/base.py", 
line 53, in __call__
    obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
  File 
"/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/adapters/sqlite.py", 
line 78, in __init__
    if do_connect: self.reconnect()
  File 
"/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/connection.py", 
line 105, in reconnect
    self.connection = f()
  File 
"/.../web2py/version_210-4/web2py/gluon/packages/dal/pydal/adapters/sqlite.py", 
line 76, in connector
    return self.driver.Connection(dbpath, **driver_args)
OperationalError: unable to open database file

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to