-
Notifications
You must be signed in to change notification settings - Fork 17
Description
While tracking down an issue related to the SQLite files used in Hall D (JeffersonLab/halld_sim#178 (comment)), I noticed that there is some weird issue in getting assignments from a couple of tables. Basically, I am trying to loop through all the assignments for each table to track down problematic comment field data.
In two cases, I get the following error:
checking /FDC/fdc_drift ...
Traceback (most recent call last):
File "search.py", line 65, in
main()
File "search.py", line 57, in main
assigns = ccdb1.get_assignments(table.path)
File "/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/ccdb/ccdb_1.06.06/python/ccdb/provider.py", line 1123, in get_assignments
table = self.get_type_table(path_or_table)
File "/group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/ccdb/ccdb_1.06.06/python/ccdb/provider.py", line 481, in get_type_table
table = query.one()
File "/group/halld/Users/sdobbs/rcdb/python/sqlalchemy/orm/query.py", line 2817, in one
"Multiple rows were found for one()")
sqlalchemy.orm.exc.MultipleResultsFound: Multiple rows were found for one()
Any idea what could be causing this? I have attached a script that can reproduce the problem: search.py.txt