Nupic.geospatial python server.py error on Ubuntu 14

That example code has not been updated to use the latest version of NuPIC, which includes breaking changes described here. You can fix this by adjusting what version of NuPIC you have installed (see the thread).