[Featureserver] FeatureServer connection to PostGIS

Ed Fialkowski edfialk at gmail.com
Thu Jul 12 15:32:39 EDT 2007


Hello, I have set up postGIS and I'm trying to connect FeatureServer to it.
I have installed psycopg the best I can and run some tests that passed so I
assume it's working okay.

When I do a WFS request in the browser, I get:


An error occurred: No module named psycopg
  File "./FeatureServer/Server.py", line 200, in cgiHandler
    service = Server.load(*cfgfiles)
  File "./FeatureServer/Server.py", line 44, in _load
    datasources[section] = cls.loadFromSection(
  File "./FeatureServer/Server.py", line 22, in _loadFromSection
    module = __import__("%s.%s" % (module_type, type), globals(),
locals(), type)
  File "./FeatureServer/DataSource/PostGIS.py", line 3, in ?
    import psycopg, copy, re, ogr


Anyone know if there's a step in between after installing psycopg, like if I
have to do anything in FeatureServer?
Thanks for any help!
-Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/featureserver/attachments/20070712/357cbf21/attachment.html


More information about the Featureserver mailing list