AttributeError: 'long' object has no attribute 'get'
The ZODB uses a Data.fs file and an associated Data.fs.index file. When starting Zope a corrupted .index file can cause this error.
If you are using additional fs files (e.g. when working with collective.recipe.filestorage) they may also have corrupt index files.
Solution
Delete the .fs.index files before attempting to start your zope server. At launch "good" index files will be created.

Author: