Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create new database. KeyError: 'db-test' #3

Closed
johnistan opened this issue Jan 16, 2016 · 1 comment
Closed

Unable to create new database. KeyError: 'db-test' #3

johnistan opened this issue Jan 16, 2016 · 1 comment

Comments

@johnistan
Copy link

sophy version is current git HEAD. Python 3.4.3

This error occurs when I try to create a new database or run the test suite.

sophy git:(master) ✗ python tests.py
Exception ignored in: 'sophy._BaseDBObject.open'
MemoryError: Unable to allocate object: <sophy.Database object at 0x7fb40aa92348>.
EException ignored in: 'sophy._BaseDBObject.open'
MemoryError: Unable to allocate object: <sophy.Database object at 0x7fb40aaacd68>.

........(lots of these errors)

ERROR: test_view (__main__.TestU32Index)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 40, in setUp
    super(BaseSophiaTestMethods, self).setUp()
  File "tests.py", line 21, in setUp
    self.db = self.sophia[DB_NAME]
  File "sophy.pyx", line 240, in sophy.Sophia.__getitem__ (sophy.c:6545)
    return self.dbs[name]
KeyError: 'db-test'

----------------------------------------------------------------------
Ran 39 tests in 0.076s

FAILED (errors=39)
@coleifer
Copy link
Owner

Interesting, there seems to be some error happening when attempting to open a database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants