[Featureserver] FeatureServer connection to PostGIS

Ed Fialkowski edfialk at gmail.com
Fri Jul 13 11:43:56 EDT 2007


I think Im having some issues with my mail, sorry guys.

It seems I installed psycopg2.  The tests I ran were in psycopg2/tests, some
python files.

.....
----------------------------------------------------------------------
Ran 5 tests in 0.020s

OK

kinda thing for a few different python files.


Now, changing the import and all calls in PostGIS.py to psycopg2 seemed to
work, actually.
I have passed the error message of 'no module named psycopg'.

Unfortunately, now I'm getting permission denied.

An error occurred: could not connect to server: Permission denied
	Is the server running locally and accepting
	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

  File "./FeatureServer/Server.py", line 232, in cgiHandler

    format, content = service.dispatchRequest( params, path_info,
host, post_data, request_method, accepts )
  File "./FeatureServer/Server.py", line 105, in dispatchRequest
    datasource.begin()
  File "./FeatureServer/DataSource/PostGIS.py", line 19, in begin

    self.db = psycopg2.connect(self.dsn)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/featureserver/attachments/20070713/4a11beff/attachment.html


More information about the Featureserver mailing list