Closed prjemian closed 6 years ago
The doc is this:
ipdb> doc
{'spec': 'AD_HDF5',
'root': '/',
'resource_path': 'tmp/simdet/2018/06/15/545d3744-f571-481e-9810_000000.h5',
'resource_kwargs': {
'frame_per_point': 0},
'path_semantics': 'posix',
'uid': 'da48d242-b8eb-4867-a511-17d11b5afacc',
'run_start': '0b29af03-94e9-40a8-9b52-1a943957cb1e'
}
All simple data types: str, int dict of str & int
The word resource
does not appear in the AD's attributes XML file nor in the ipython's startup files. AND, this only happens on one of two workstations. I'm giving up early on this one. The workstation where this happens is a development VM, not for production use. It can always be rebuilt better.
Epilogue: Rebuilt installation and problem does not recur. Conclusion: Transient, unresolved installation conflict.
doh, I read this too fast yesterday. The issues was an out-dated event_model installation.
Right. Confirmed by restoring the old installation, and updating:
(base) mintadmin@mint-vm ~/Apps $ conda update -c lightsource2-tag event-model
Solving environment: done
## Package Plan ##
environment location: /home/mintadmin/Apps/BlueSky
added / updated specs:
- event-model
The following packages will be downloaded:
package | build
---------------------------|-----------------
event-model-1.5.0 | py36_1 15 KB lightsource2-tag
The following packages will be UPDATED:
event-model: 1.4.0-py36_0 conda-forge --> 1.5.0-py36_1 lightsource2-tag
Proceed ([y]/n)? y
Downloading and Extracting Packages
event-model-1.5.0 | 15 KB | ############################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
RunEngine raises exception from
RE(bp.count([adsimdet]))
:ValueError: 'resource' is not a valid DocumentNames
setup (without the imports):
Session trace: