Closed prjemian closed 4 years ago
As stated by @mrakitin, see https://github.com/bluesky/bluesky/issues/1227#issuecomment-510674489 for the fix.
Particularly, this code: https://github.com/BCDA-APS/use_bluesky/blob/e96bdc07da8585c33b03187cf5f0b5fc54b81fe2/templates/profile_bluesky/startup/instrument/framework/initialize.py#L30-L31 needs to be changed to include the described changes:
bluesky.get_history()
PersistentDict
.Fun. We get to decide for ourselves where to save the data for RE.md
. Since it is related to to the get_history()
command, we'll call it history
and make it a sibling of the IPython startup directory. Will this fail for jupyter notebooks? Probably
Right, it's a problem for IPython. Need a better location and name for this.
using sys.platform
to identify:
%LOCALAPPDATA%\Bluesky_RunEngine_md
~/.config/Bluesky_RunEngine_md/
Using the 2020_4 setup, getting this error on RHEL and linuxmint:
ProgrammingError: SQLite objects created in a thread can only be used in that same thread.
Switched back to known working 2020_1 environment and same error. Needs research.
Some dependency is broken.