Confirmed this only happens in windows py26. Seems to be an issue with remapping pages once we exceed the number of mapped pages.
======================================================================
ERROR: test_remap_required (test_semidbm.TestRemapping)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\GitHub\semidbm\test_semidbm.py", line 330, in test_remap_required
db2 = self.open_db_file()
File "C:\Users\Administrator\Documents\GitHub\semidbm\test_semidbm.py", line 26, in open_db_file
return semidbm.open(self.dbdir, 'c', **kwargs)
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 461, in open
return _SemiDBM(filename, **kwargs)
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 73, in __init__
self._load_db()
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 81, in _load_db
self._index = self._load_index(self._data_filename)
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 92, in _load_index
return self._load_index_from_fileobj(filename)
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 105, in _load_index_from_fileobj
for key_name, offset, size in self._read_index(filename):
File "C:\Users\Administrator\Documents\GitHub\semidbm\semidbm\db.py", line 163, in _read_index
offset=num_resizes * remap_size)
WindowsError: [Error 8] Not enough storage is available to process this command
----------------------------------------------------------------------
Ran 93 tests in 0.952s
FAILED (errors=1)
Confirmed this only happens in windows py26. Seems to be an issue with remapping pages once we exceed the number of mapped pages.