[Featureserver] Assorted problems

Christopher Schmidt crschmidt at metacarta.com
Fri Mar 27 18:10:51 EDT 2009


On Fri, Mar 27, 2009 at 08:40:03PM +0000, Peter Robins wrote:
> 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:

Right, trunk is what will eventually be '2.0'; all the DBM datasources
break as part of the major revision change. 

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

Understood.

> What's going on here? Are the dbm files created with 1.12 not
> compatible with trunk? 

Correct.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list