CivicSpleen / ambry

A comprehensive data package manager
BSD 2-Clause "Simplified" License
4 stars 5 forks source link

"DetachedInstanceError: Parent instance ..." SQLAlchemy error after apsw connection close. #172

Closed nmb10 closed 8 years ago

nmb10 commented 8 years ago

Environment:

export AMBRY_TEST_DB=sqlite

Error:

DetachedInstanceError: Parent instance <DataSource at 0xb4ee5d4c> is not bound to a Session; lazy load operation of attribute '_dest_table' cannot proceed

Test:

py.test test/functional/test_files.py::BundleSQLTest --verbose --capture=no
nmb10 commented 8 years ago

Done.