[Featureserver] Assorted problems

Peter Robins fs at peterrobins.co.uk
Fri Mar 27 16:40:03 EDT 2009


On Friday 27 Mar 2009, Christopher Schmidt wrote:
> Checking out FeatureServer trunk should automatically pull in the
> vectorformats and web_request externals, so you should have those
> directories inside your featureserver checkout. Do you not?

yes, and using the supplied featureserver.cfg works without problem. The 
problem comes when using the featureserver.cfg I had used with 1.12, i.e. 
using the dbm created by 1.12. If I do that then I get:

An error occurred: No module named Feature.Feature
  File "/var/www/cgi-bin/featureserver/web_request/handlers.py", line 219, in 
cgi
    accepts = accepts )
  File "/var/www/cgi-bin/featureserver/FeatureServer/Server.py", line 161, in 
dispatchRequest
    result = method(action)
  File "/var/www/cgi-bin/featureserver/FeatureServer/DataSource/DBM.py", line 
99, in select
    feature = self.thaw_feature(thunk)
  File "/var/www/cgi-bin/featureserver/FeatureServer/DataSource/DBM.py", line 
123, in thaw_feature
    return pickle.loads(thunk)

This problem went away when I copied over FeatureServer/Feature, which was 
what made me think trunk was incomplete. What's going on here? Are the dbm 
files created with 1.12 not compatible with trunk? It's not a big problem, as 
I can simply repeat the feature loading I did with 1.12, but for future 
reference I'd like to understand this.



More information about the Featureserver mailing list