{"record":{"id":"7417cd2b377c7bd1","repo":"tensorflow/models","slug":"collection-path-entry-name-at-position-h-idx-i","errorCode":null,"errorMessage":"collection path {entry_name} at position {h_idx} is never registered. Please make sure the {entry_name} and its library is imported and linked to the trainer binary.","messagePattern":"collection path (.+?) at position (.+?) is never registered\\. Please make sure the (.+?) and its library is imported and linked to the trainer binary\\.","errorType":"exception","errorClass":"LookupError","httpStatus":null,"severity":"error","filePath":"official/core/registry.py","lineNumber":89,"sourceCode":"  this function will return\n  registered_collection[\"my_model\"][\"my_exp\"][\"my_config_0\"].\n\n  Args:\n    registered_collection: a dictionary. The decorated function or class will be\n      retrieved from this collection.\n    reg_key: The key for retrieving the registered function or class. If reg_key\n      is a string, it can be hierarchical like my_model/my_exp/my_config_0\n  Returns:\n    The registered function or class.\n  Raises:\n    LookupError: when reg_key cannot be found.\n  \"\"\"\n  if isinstance(reg_key, str):\n    hierarchy = reg_key.split(\"/\")\n    collection = registered_collection\n    for h_idx, entry_name in enumerate(hierarchy):\n      if entry_name not in collection:\n        raise LookupError(\n            f\"collection path {entry_name} at position {h_idx} is never \"\n            f\"registered. Please make sure the {entry_name} and its library is \"\n            \"imported and linked to the trainer binary.\")\n      collection = collection[entry_name]\n    return collection\n  else:\n    if reg_key not in registered_collection:\n      raise LookupError(\n          f\"registration key {reg_key} is never \"\n          f\"registered. Please make sure the {reg_key} and its library is \"\n          \"imported and linked to the trainer binary.\")\n    return registered_collection[reg_key]\n","sourceCodeStart":71,"sourceCodeEnd":102,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/core/registry.py#L71-L102","documentation":"Error \"collection path {entry_name} at position {h_idx} is never registered. Please make sure the {entry_name} and its library is imported and linked to the trainer binary.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/core/registry.py:89 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}