-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Traceback (most recent call last):
File "/data/projects/fate/fateflow/python/fate_flow/fate_flow_server.py", line 88, in
ComponentRegistry.load()
File "/data/projects/fate/fateflow/python/fate_flow/db/component_registry.py", line 35, in load
component_registry = cls.get_from_db(file_utils.load_json_conf_real_time(FATE_FLOW_DEFAULT_COMPONENT_REGISTRY_PATH))
File "/data/projects/fate/common/python/venv/lib/python3.8/site-packages/peewee.py", line 394, in inner
return fn(*args, **kwargs)
File "/data/projects/fate/fateflow/python/fate_flow/db/component_registry.py", line 179, in get_from_db
for component_alias in component_registry["components"][module.f_component_name]["alias"]:
KeyError: 'custnn'
在t_component_registry表中有51条数据但是在t_component_info中只有16条数据
mysql> select f_provider_name,f_version,f_component_name from t_component_registry;
+-----------------+-----------+----------------------------+
| f_provider_name | f_version | f_component_name |
+-----------------+-----------+----------------------------+
| fate_flow | 1.11.2 | apireader |
| fate_flow | 1.11.2 | cacheloader |
| fate_flow | 1.11.2 | download |
| fate_flow | 1.11.2 | modelloader |
| fate_flow | 1.11.2 | modelrestore |
| fate_flow | 1.11.2 | modelstore |
| fate_flow | 1.11.2 | reader |
| fate_flow | 1.11.2 | upload |
| fate_flow | 1.11.2 | writer |
| fate | 1.11.3 | columnexpand |
| fate | 1.11.3 | custnn |
| fate | 1.11.3 | dataio |
| fate | 1.11.3 | datastatistics |
| fate | 1.11.3 | datatransform |
| fate | 1.11.3 | evaluation |
| fate | 1.11.3 | featureimputation |
| fate | 1.11.3 | featurescale |
| fate | 1.11.3 | federatedsample |
| fate | 1.11.3 | feldmanverifiablesum |
| fate | 1.11.3 | ftl |
| fate | 1.11.3 | heterodatasplit |
| fate | 1.11.3 | heterofastsecureboost |
| fate | 1.11.3 | heterofeaturebinning |
| fate | 1.11.3 | heterofeatureselection |
| fate | 1.11.3 | heterokmeans |
| fate | 1.11.3 | heterolinr |
| fate | 1.11.3 | heterolr |
| fate | 1.11.3 | heteronn |
| fate | 1.11.3 | heteropearson |
| fate | 1.11.3 | heteropoisson |
| fate | 1.11.3 | heterosecureboost |
| fate | 1.11.3 | heterosshelinr |
| fate | 1.11.3 | heterosshelr |
| fate | 1.11.3 | homodatasplit |
| fate | 1.11.3 | homofeaturebinning |
| fate | 1.11.3 | homolr |
| fate | 1.11.3 | homonn |
| fate | 1.11.3 | homoonehotencoder |
| fate | 1.11.3 | homosecureboost |
| fate | 1.11.3 | intersection |
| fate | 1.11.3 | labeltransform |
| fate | 1.11.3 | localbaseline |
| fate | 1.11.3 | onehotencoder |
| fate | 1.11.3 | positiveunlabeled |
| fate | 1.11.3 | psi |
| fate | 1.11.3 | sampleweight |
| fate | 1.11.3 | scorecard |
| fate | 1.11.3 | secureaddexample |
| fate | 1.11.3 | secureinformationretrieval |
| fate | 1.11.3 | spdztest |
| fate | 1.11.3 | union |
+-----------------+-----------+----------------------------+
51 rows in set (0.02 sec)
mysql> select * from t_component_info;
mysql> select f_component_name,f_component_alias from t_component_info;
+----------------------+--------------------------+
| f_component_name | f_component_alias |
+----------------------+--------------------------+
| apireader | ["ApiReader"] |
| cacheloader | ["CacheLoader"] |
| columnexpand | ["ColumnExpand"] |
| download | ["Download"] |
| featurescale | ["FeatureScale"] |
| heterofeaturebinning | ["HeteroFeatureBinning"] |
| heterolr | ["HeteroLR"] |
| homolr | ["HomoLR"] |
| homonn | ["HomoNN"] |
| modelloader | ["ModelLoader"] |
| modelrestore | ["ModelRestore"] |
| modelstore | ["ModelStore"] |
| positiveunlabeled | ["PositiveUnlabeled"] |
| reader | ["Reader"] |
| upload | ["Upload"] |
| writer | ["Writer"] |
+----------------------+--------------------------+
16 rows in set (0.01 sec)
两边的component_name不匹配是什么情况?