On Oct 22, 2007, at 8:06 PM, [EMAIL PROTECTED] wrote: > hi everyone, i'm very new to python and to this forum. i'm actually > just trying to work through the tutorial on webpy.org. so far, so > good, but as i tried to incorporate a postgresql database into the > demo web app i'm receiving this error print out: > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py", > line 624, in communicate > req.respond() > File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py", > line 357, in respond > response = self.wsgi_app(self.environ, self.start_response) > File "/usr/lib/python2.5/site-packages/web/httpserver.py", line 200, > in __call__ > return self.app(environ, xstart_response) > File "/usr/lib/python2.5/site-packages/web/http.py", line 255, in > __call__ > return self.func(e, o) > File "/usr/lib/python2.5/site-packages/web/webapi.py", line 302, in > wsgifunc > _load(env) > File "/usr/lib/python2.5/site-packages/web/webapi.py", line 258, in > _load > load() > File "/usr/lib/python2.5/site-packages/web/webapi.py", line 253, in > load > db.connect(**config.db_parameters) > File "/usr/lib/python2.5/site-packages/web/db.py", line 265, in > connect > import pgdb as db > ImportError: No module named pgdb > > any thoughts would be greatly appreciated. > thanks, > doug
Apparently you don't have pgdb installed or it's path isn't in your PYTHONPATH environment variable. Erik Jones Software Developer | Emma® [EMAIL PROTECTED] 800.595.4401 or 615.292.5888 615.292.0777 (fax) Emma helps organizations everywhere communicate & market in style. Visit us online at http://www.myemma.com -- http://mail.python.org/mailman/listinfo/python-list