Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Issues
  • #1175

Reprocessing fails without add_matched_entries_to_published

When a published upload like apfw2NtURz2BKNzlNpib_A is re-processed with add_matched_entries_to_published = False and there are new matches, the processing fails with exception:

Traceback (most recent call last):
  File "/app/nomad/processing/base.py", line 857, in proc_task
    rv = unwrapped_func(proc, *args, **kwargs)
  File "/app/nomad/processing/data.py", line 1497, in process_upload
    return self._process_upload_local(file_operations, reprocess_settings, path_filter, only_updated_files)
  File "/app/nomad/processing/data.py", line 1530, in _process_upload_local
    self.match_all(reprocess_settings, path_filter, updated_files)
  File "/app/nomad/processing/data.py", line 1807, in match_all
    old_entries.remove(entry.entry_id)
AttributeError: 'NoneType' object has no attribute 'entry_id'
Assignee
Assign to
Time tracking