tested in web2py 2.15.4, ubuntu xenial 64 (vagrant), couchdb install via 
apt install couchdb, test in http browser (http://127.0.0.1:5984) :

{"couchdb":"Welcome","uuid":"xxx","version":"1.6.0","vendor":{"name":"Ubuntu","version":"15.10"}}


*private/appconfig.ini*
uri              = couchdb://127.0.0.1:5984
pool_size        = 10 ; ignored for sqlite
migrate_enabled  = true
migrate          = true
fake_migrate     = false
fake_migrate_all = false

*return error traceback:*
Traceback (most recent call last):
  File "/home/site/web2py/gluon/restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "/home/site/web2py/applications/test/models/db.py", line 98, in 
<module>
    lazy_tables = True)
  File "/home/site/web2py/gluon/packages/dal/pydal/base.py", line 170, in 
__call__
    obj = super(MetaDAL, cls).__call__(*args, **kwargs)
  File "/home/site/web2py/gluon/packages/dal/pydal/base.py", line 475, in 
__init__
    "Failure to connect, tried %d times:\n%s" % (attempts, tb)
RuntimeError: Failure to connect, tried 5 times:
Traceback (most recent call last):
  File "/home/site/web2py/gluon/packages/dal/pydal/base.py", line 455, in 
__init__
    self._adapter = adapter(**kwargs)
  File "/home/site/web2py/gluon/packages/dal/pydal/adapters/__init__.py", 
line 40, in __call__
    obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
  File "/home/site/web2py/gluon/packages/dal/pydal/adapters/base.py", line 
37, in __init__
    self._load_dependencies()
  File "/home/site/web2py/gluon/packages/dal/pydal/adapters/base.py", line 
59, in _load_dependencies
    self.parser = parsers.get_for(self)
  File "/home/site/web2py/gluon/packages/dal/pydal/helpers/_internals.py", 
line 22, in get_for
    "no %s found for object: %s" % (self.namespace, obj))
ValueError: no parser found for object: <pydal.adapters.couchdb.CouchDB 
object at 0x7f1f17ccfad0>

thanks and best regards,
stifan

-- 
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